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
0
votes
2 answers

Android 2.3.3 Gingerbread - cannot find location

I'm using getLastKnownLocation method to find user's position, but the method always gives me null. I've been testing the method I'm using on different system versions (for example 2.2.1, 4.0.4) and everything works fine. On 2.3.3 I always get null,…
Deimos
  • 1,083
  • 1
  • 10
  • 15
0
votes
0 answers

TextView setEllipsize to marquee causes nullpointerexception

final TextView appTextView = new TextView(getContext()); …
artem
  • 16,382
  • 34
  • 113
  • 189
0
votes
1 answer

start activity/app on scan of nfc tag

I'm trying to develop an application for android with NFC-tags. When I find a tag an activity should launch, even when that activity is not the active activity. At the moment it needs to be the activity activity, in all other cases it will launch a…
Stephan Celis
  • 2,492
  • 5
  • 23
  • 38
0
votes
1 answer

Do all android devices running on a 2.3.3 sdk have a default email client?

I've created the following in my 2.3.3 application (This is just a code snippet). else if(intentName.contains("Email")) { System.out.println(); System.out.println("Button["+ i + "] intent name contains :…
shecodesthings
  • 1,218
  • 2
  • 15
  • 33
0
votes
2 answers

Asynctask from loop gives error on 2.3 and older

Lately, I've encountered more and more errors that may seem easy to someone with more experience, but are quite hard for me to figure out. I'm trying to create a background service that checks for new feed entries each X minutes. Hence, I'm starting…
0
votes
2 answers

Access certificates installed from SD card of Android devices

I try to access PKI secured services on Android using Java. Certificates were installed on devices through settings->location & security ->Install from SD card. Seems like on ICS, certificates are shared under /system/etc/security/cacerts while on…
0
votes
5 answers

Android Fullscreen Not Working: Gingerbread

I am trying to make a fullscreen activity, but it doesn't seem to work in GingerBread, here is my code @SuppressLint("NewApi") @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
foobar5512
  • 2,470
  • 5
  • 36
  • 52
0
votes
1 answer

Is there something wrong with my code or Android emulator?

So I am trying to follow a tutorial on creating an Android game in Java. The Tutorial was written for Gingerbread 2.3 but from what I have read there shouldn't be much of a coding difference. The problem comes with I run the application via the…
0
votes
1 answer

Android application installation on an older version via eclipse

I am a complete newbie to android development, though I know a thing or two about programming. I was trying to install an app that I had developed (a single .java file) in eclipse on my gingerbread phone, but the eclipse IDE fails to recognize my…
0
votes
1 answer

GUI freezes on periodically returning data from service to activity

I have created a Service in android which can send data to the activity on a regular interval. so far i have create an activity which binds with the service which i have created. but the problem my activity gets freez when i am sending message…
Hunt
  • 8,215
  • 28
  • 116
  • 256
0
votes
1 answer

How to make View in WindowManager intercept all the touches?

I have a little (100*100) View, that I added to WindowManager, and I want it to intercept all the touch events, including that are outside of this view. By default, touch outside this view is handled by view "behind" this view.
artem
  • 16,382
  • 34
  • 113
  • 189
0
votes
1 answer

Profiling and debugging techniques for high uptime ADK controlling application?

I've recently ported an application that is known to run with uptime of months (DIY Zoning Project) to Android (the accessory driver, the core process and the remote control). And, unfortunately, though techniques to keep running services alive were…
0
votes
1 answer

onKeyUp doesn't work in child view

I have this hierarchy of the views: Activity -> ViewPager -> MyViewGroup In MyViewGroup (and only there) I override onKeyUp event: @Override public boolean onKeyUp(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { …
artem
  • 16,382
  • 34
  • 113
  • 189
0
votes
1 answer

Android Emulator - Cannot get keyboard to display

Basically I cannot get the onscreen keyboard to display at all. I've tried every solution I've read to make it appear within my application, and now I've come to the conclusion that it must be the emulator as it isn't appearing when using Messages,…
Ash
  • 3,494
  • 12
  • 35
  • 42
0
votes
2 answers

Factors when deciding which Android API version to support (in-house application)

(Let me begin by saying that a) I appreciate this is the wrong place to ask which version I should use, especially because my question is only locally relevant, and b) I am surprised this hasn't been done to death, but it appears it hasn't!) At…