try to keep one mediaplayer object
ie define a separate class and stroe mediaplayer object as static in that

use that object every time

and also store the currently playing file name
when the your player screeen starts again check for previous file and curent
file if they are equal dont start the player again other wise start it with
new mwdia link

better to keep the variables as static

i think this may help you little

On Tue, Feb 24, 2009 at 11:07 AM, Sagar Parmar <[email protected]>wrote:

> Hello everyone,
> I have an application that plays audio when user clicks on the 1st
> screen..This 1st screen starts a new screen that plays audio. Now I want the
> functionality that when user lauches application again from home screen, it
> should resume. Right now it plays that audio again so audio is played twice.
>
> Please help...its urgent..thnx...
>
> >
>


-- 
Dilli Rao. M
ARIJASOFT
+91 - 9703073540

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to