Questions tagged [android-2.2-froyo]

Android 2.2 is a platform release including user features, developer features, API changes, and bug fixes.

Android 2.2 (Froyo) is a platform release including user features, developer features, API changes, and bug fixes. For information on developer features and API changes, see the Android developers' page Framework API section.

855 questions
10
votes
2 answers

Call Particular Method after regular interval of time

In my android application I want to call particular method at regular interval of time ie. "after every 5 seconds"...how can i do that....?
Nirav
  • 5,700
  • 4
  • 34
  • 44
10
votes
6 answers

Programmatically starting the 'Add Account' activity in Android 2.2

I've been experimenting with the Android SDK over the past few days, in readiness to write an App for the store, however I've run across a bit of a problem. The App I'll be writing requires that the user has a Google account associated with the…
Seidr
  • 4,946
  • 3
  • 27
  • 39
10
votes
5 answers

Update Android ADT Tool to 21.1.0 from 21.0.1

i have updated SDK to 21.1 and how to update ADT 21.1 in old version. and when i opened my SDK it displays This Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.1.2012-12-6-2-58. Please update ADT to…
saran
  • 461
  • 1
  • 6
  • 20
10
votes
3 answers

"Falling back on PROMPT mode since _cordovaNative is missing" error in older Android SDK versions

I am Developing an Android Application using Cordova-2.2.0, Android sdk I'm using is 4.1 and my application working Fine. when I tried to test this Application on Android 2.2 and 2.3.3 I'm getting some log indicating like below and and my…
Theja
  • 744
  • 1
  • 7
  • 24
10
votes
5 answers

How to obfuscate my android project in eclipse IDE?

I want minimize my app size as well as avoid the app from reverse-engineering. Can anybody help with simple answer?
Sujay
  • 601
  • 1
  • 10
  • 19
10
votes
1 answer

Which versions of Android SDK support coding in which versions of Java?

I was writing an Android app for Android SDK 2.3.3 but then I was asked to test it on a device running Android 2.2.1. So I set my target to 8 instead of 10. But then java.util.concurrent.TimeUnit only had the Java 1.5 feature set instead of the…
9
votes
4 answers

Zoom in websites on android sdk emulator

if I'm using the emulator of android-sdk and surfing to a website, how can I simulate the zooming I normally perform using two fingers? I couldn't find any shortcut or button to zoom in larger websites. Thanks Konrad
Konrad
  • 4,329
  • 10
  • 54
  • 88
9
votes
2 answers

ContentProvider without SQL

I have two pieces of data that need to be accessed from outside applications and stored. According to documentation ContentProviders are the only possible way, but it also mentions external storage. ContentProviders implement a database-like…
9
votes
3 answers

Android 2.2 - How do I detect if I am installed on the SDCard or not?

I am writing an android app that stores a lot of media files. They are not the type (and are far too many) to clutter up the users notification or other media directories, but they also must be user-updatable, so I can't put them in the resources. …
9
votes
3 answers

Get index of selected tab in tabHost

I'm trying to store the index of the currently selected tab in onSaveInstanceState so I can restore it. However the getCurrentTab apparantely gives me back the String I used in the etTabHost().newTabSpec, which I find a bit weird since the…
Jack
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

How to tell whether a specific TTS engine is checked (enabled)?

This question refers on Android 2.2 only: The following screenshot shows 3 different text-to-speech engines installed: PIco TTS (Android's default as of Froyo 2.2) IVONA Text-to-Speech HQ SVOX Classic TTS In this screenshot, you could see that not…
an00b
  • 11,338
  • 13
  • 64
  • 101
8
votes
3 answers

is there any alternative for ActionBar in 2.2?

Since the ActionBar is available only in Android 3.0 and later, what is a good way to implement ActionBar-like widget in earlier sdk versions? I am looking to do this programmatically without using the main.xml , if that helps.
Venkat
  • 3,447
  • 6
  • 42
  • 61
8
votes
1 answer

ADB is not working and failed to initialize the monitor thread error occurred in the ddms in android

My android sdk is not working properly. There is a problem in the ADB and DDMS. I tried adb kill-server, it works fine. Then I wrote adb start-server but it does not work and give something in output which is as follows: daemon is not running…
8
votes
3 answers

Android Market: "This item is not compatible with your device."

This is really getting on my nerves. I have tried like everything to get my App to work on some more exotic tabs! Have now published a testing app (just an eclipse android project with nothing else) to try different manifest settings. However I…
8
votes
1 answer

Virtual device can not be deleted

Possible Duplicate: Can’t delete virtual device from Eclipse, android I have multiple virtual devices, some of them can't be deleted. The AVD manager shows an error message like this: The android virtual device XXX is currently running in an…
umesh
  • 454
  • 3
  • 15