Hello, guys,
In the last couple of days, there were some speculations, circulating through the blogosphere, that the future versions of the Android OS, created from the branches Donut and Eclair, won't be compatible with the T-Mobile G1 and Android Dev Phone 1, because of insufficient OS flash storage on those devices.
While that's not...
Hi.
I'm working on Android 2.0 and am trying to receive a list of all contacts.
Since android.provider.Contacts.People is deprecated, I have to use android.provider.ContactsContract, But I can't find a proper example of how to use it (ex: retrieve a list of all contacts on the phonebook).
Anyone knows how to implement it?
Thanks!
...
I have some code that extends a service and records onSensorChanged(SensorEvent event) accelerometer sensor readings on Android. I would like to be able to record these sensor readings even when the device is off (I'm careful with battery life and it's made obvious when it's running). While the screen is on the logging works fine on a 2....
I don't know why, but in Eclair, the default (non-fancy) gallery app changed its begaviour from the Cupcake version, and it broke one of my commercial applications :-(
Firstly, when long-pressing a gallery and choosing "Diashow", it does not publish an Intent to be picked up by any application that implements the Intent filter anymore. ...
I want to show the user a flattened pick list of all their contacts phone numbers and it must work from versions 1.6 up. I have read the related questions on SO and the Android documentation for Eclair (http://developer.android.com/resources/articles/contacts.html#legacy).
The problem is, even splitting my code into a factory class and ...
Hi,
I've just started with Android, I'm making a simple Live wallpaper. I'm testing it on a 2.1 emulator. The trouble is while it works in the preview screen before you choose "Set Wallpaper" the touch events don't appear to register on the screen once you've selected it as a wallpaper. Do I need to state anything in the manifest about ...
I get a list of contacts in a given group id by id
Cursor cur = ctx.managedQuery(ContactsContract.Data.CONTENT_URI,
new String[] { GroupMembership.GROUP_ROW_ID,
GroupMembership.CONTACT_ID },
GroupMembership.GROUP_ROW_ID + "=" + String.valueOf(id),
null, null);
if (cur.moveToFirst()) {
...
I have an MP3 file that I can play outside of Android and stored on the sdcard. I did the call to
MediaScannerConnection.scanFile(mContext, ...
so it has been discovered. In Froyo, the ringtone shows up in the **Sound -> Phone ringtone** list. In Eclair it does not list (I expected it in the User add ringtones ...