forgot to mention how I am calling my service in main activity class. Here
is how I call the service:
..
setContentView(R.layout.activity_main);
MyService ms=new MyService();
ms.startService(new
Intent(this,MyService.class).setAction("com.example.action.PLAY"));
...
On
Hi Piran/Bob,
I meant, I just needed a start and thanks to both of you to guide in a
right direction.
I have started developing it. At first, I am creating a Service to run the
music.
But need your help to clarify why it is not running for me (when I run it
using activity alone, it plays the s
seriously?
so by "I need to create an app" and "can you help/guide me" you actually
meant "can someone do the work for me?"
On Tuesday, April 30, 2013 5:58:19 PM UTC+3, Ravi Tewari wrote:
>
> Thanks Piren.. Will look at it... But I was looking if someone already has
> done similar
>
>
> On Tu
Maybe this will help?
*// Get a reference to the Alarm Manager *
*AlarmManager alarmManager = (AlarmManager) getSystemService(
Context.ALARM_SERVICE); *
*// Set the alarm to wake the device if sleeping. *
*int alarmType = AlarmManager.ELAPSED_REALTIME_WAKEUP; *
*
*
*// Schedule the alarm to repe
Thanks Piren.. Will look at it... But I was looking if someone already has
done similar
On Tue, Apr 30, 2013 at 8:23 PM, Piren wrote:
> http://developer.android.com/guide/topics/media/mediaplayer.html
>
> http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
>
http://developer.android.com/guide/topics/media/mediaplayer.html
http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
http://developer.android.com/reference/android/app/AlarmManager.html
Figure it out :)
On Tuesday, April 30, 2013 5:40:59 PM UTC+3, Ravi Tewari
6 matches
Mail list logo