Questions tagged [android-2.3-gingerbread]

Android 2.3 (Gingerbread) is a minor platform release to the Android OS from Google that debuted on the Nexus S.

Android 2.3 (Gingerbread) is a minor platform release to the Android OS from Google that debuted on the Nexus S in December of 2010. Gingerbread introduced new features such as NFC, support for new sensors, and internet calling.

486 questions
43
votes
7 answers

"Unable to open log device '/dev/log/main': No such file or directory"

I am new to Android development and bought a cheap Huawei Sonic (U8650 apparently) so I could test my first attempts at making an app on an actual device. However, whenever I try to use 'adb logcat' or 'adb shell' then 'logcat' on the device I…
Devgeeks
  • 5,669
  • 4
  • 25
  • 35
33
votes
8 answers

installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error)

I am unable to run app from android studio to my samsumg phone running android 2.3.6. I am getting Application installation Failed popup refer below screenshot. when I click on OK I get below error in log Failure [INSTALL_FAILED_DEXOPT] DEVICE…
23
votes
4 answers

Alarm Clock application source code

Is there a way to get the Alarm Application source code for customizing the existing default source code availble in Android 2.3.
Sree
  • 231
  • 1
  • 2
  • 4
18
votes
3 answers

Illegal access exception with LocalStorage on Android Gingerbread

I made an Android/Phonegap app, and it is running fine on all devices with several android OS versions, except on some Gingerbread (2.3) phones. I am using Phonegap 1.9. Debugging the code, I realized an illegal access exception on Javascript, every…
Gabriel Mendez
  • 1,115
  • 1
  • 9
  • 28
16
votes
2 answers

Read x y z coordinates of android phone using accelerometer

I am going to develop Android application which needs to read x,y,z coordinates of phone on 3D space. I would like to write a simple code and test on the device.. I am using ginger bread on both the device and emulator.
Ruwantha
  • 2,425
  • 5
  • 27
  • 44
16
votes
4 answers

Appwidget size calculation

It might be me, but when I calculate minimum app widget sizes according to the formula given on the android page I don't get the right widget widths; The formula is as follows: width(n) = (70 x n) - 30 When I want to have a 5x1 widget, the…
15
votes
2 answers

Does “Clear Data” also kill the app?

When (in Gingerbread, 2.3.x) I hit “Clear Data” button in Menu => Manage Apps => App, “Force Close” button also becomes disabled. Does it mean that “Clear Data” also kills the app? Also, I noticed that in Ice Cream Sandwich this doesn’t happen. So,…
15
votes
2 answers

FAB Color for backgroundTint not changing in Gingerbread version devices

I am facing an issue while changing backgroundTint color in xml for FAB, that the color has not assigned for devices with Gingerbread versions. I am really confused and don't know why it is behaving weird. I am completely stuck with this issue with…
15
votes
1 answer

How can I turn off the screen in the android emulator?

How can I turn off the screen in the android emulator? I am using android 2.3.3 version
SIVAKUMAR.J
  • 4,002
  • 6
  • 42
  • 79
14
votes
2 answers

Something's wrong in Corner radius Android

I'm making my own search view for Android 2.3. I have. LinearLayout (Horizontal) AutoCompleteTextView ImageButton I added the button and AutoCompleteTextView to LinearLayout. I want to put a corner radius in my own control like the image shown…
12
votes
2 answers

httpurlconnection is very slow on Android 4.2

I can succesfully connect, send and receive data by using httpurlconnection. But it takes very long time to load all the data on my phone (Samsung s4, 4.2) and on android 4.2 emulator. But it takes almost 1-2 seconds (which is very fast) to load…
12
votes
1 answer

Android: Fixed width font in AlertDialog

I am displaying a list of strings in an AlertDialog as shown below: 1.How can I set a fixed width font like the one shown below 2.The AlertDialog has vertical scrolling enabled by default. How can I enable horizontal scrolling so that the last…
Ruben Roy
  • 537
  • 3
  • 14
  • 27
11
votes
2 answers

Tamil fonts in Android

I developed a Tamil news application in android version 2.3.3. However, Tamil fonts have only been properly developed in android versions 4.0 and beyond. I want to display them in all versions of android mobile. I tried to solve the problem with…
Loganathan
  • 1,334
  • 3
  • 9
  • 17
11
votes
2 answers

Google maps api v2 - The type android.app.Fragment cannot be resolved. It is indirectly referenced from required .class files

I've found a few questions on this subject here but their answers do not seem to apply being that my project is referencing the library that contains the class. Here's my code: package com.demo.app; import android.os.Bundle; import…
Frank Milne
  • 113
  • 1
  • 1
  • 5
11
votes
4 answers

How can I change the background color of a spinner popup?

I'm trying to set the background color of a spinner popup but everything I've tried didn't work properly. This is the spinner control:
1
2 3
32 33