How to play music in android?...
You have any suggestion related this?..
If so pls give some idea for that or example program.
On Jan 5, 11:14 am, Hassan Imtiaz wrote:
> Hi,
> In my application i have several activities and i want to start
> background music whenever my *Application* is launc
Thanks Tobias,
Actually in my activities there is an activity that i am using through jar
file and when i press home button of device at that particular activity,
application is paused but there is no way i can override the onpause()
function of that activity to stop music.So how can i stop music
Hi Hassan,
You can use the onPause() and onResume() functions for this. Just
override the original functions and place the code to start your sound
in onResume() and the code to stop your sound in onPause().
In case you have several activities that can be independently started
and stopped, I'd us
3 matches
Mail list logo