[android-developers] Re: How to programaticly create playlists ?

2014-07-24 Thread Nayanesh Gupte
Hi François R., Did you get any solution for this? On Sunday, December 6, 2009 12:02:31 AM UTC+5:30, François R. wrote: Hi, I would like to write some code creating automaticly some playlist for the mp3 player. I use ContentValues values = new ContentValues();

[android-developers] Re: Launch navigation app with an Intent - [DS]

2012-08-12 Thread NayAnesh Gupte
You could use something like this: Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(http://maps.google.com/maps?saddr=20.344,34.34daddr=20.5666,45.345;)); startActivity(intent); You can use an actual street address instead of latitude and longitude. However this will

[android-developers] Run background thread or service till application is in foregrouund.

2012-07-11 Thread NayAnesh Gupte
Hello all, I want to run a background thread or service till application is in foreground. Means i want that service to run in background only if any activity of an application is in foreground and visible. when application is in background or not running i.e no activity is in foreground or