Launching Song picker

by Chopcsu » Fri, 09 Jul 2010 09:23:53 GMT


Sponsored Links
 Was trying to find out how to launch the android music players' song
selecter activity,
Couldn't find how to do this on the net so I thought I would post it
here now that I have figured it out


very simple

Intent intent = new Intent(Intent.ACTION_PICK);
intent.setType("vnd.android.cursor.dir/track");
this.startActivity(intent);

--



Other Threads

1. Dose Android sdk 1.5 allow to create our own screen when a call is in or out

ISTR a response from Dianne not so long ago which said that the 
in-call experience is not currently changeable via the Java API.

so in other words you'd have to modify the native parts of Android 
(the firmware) and then ship your own Android distribution. probably 
more work than you want to take on.

i hope the in-call experience will be pluggable soon, too.







-- 
jason.software.particle

--~--~---------~--~----~------------~-------~--~----~

2. add new sensor?

I know the Android SDK provieds many Sensor class to use
to get data or do something.

I already verified my driver of sensor to get data
successfully under linux kernel-2.6.29

I use I2C protocol to communication with my device,
so I put sensor code under drivers/i2c/chips

NOW I want to add my sensor into Android and I hope
to link Android Sensor class with my device to reduce
develop my application.


How to do for this goal?
Could I need to modify application framework or Libraries
or another driver type for new device?
I big your help

--~--~---------~--~----~------------~-------~--~----~

3. Problem with pending intent with notification

4. Sensor Driver

5. Calendar Sync Issue.

6. Keyboard Backlight (G1) unavailable in Cupcake 1.5

7. Content Provider Permission