Look at the code for Music app..your requirement is exactly similar to that..
On Mon, Jan 19, 2009 at 3:40 PM, mongd <[email protected]> wrote: > > Hi, I'm working on a program which basically plays a video file and > has some more functionality. > What I expect from this program is: > when I start playing a video, the program starts a new service and > registers a notification. > I click the home button and still the video is running so I can hear > the sound, but the program doesn't have focus any more( no more video > animation). Now I drag down the notification list and click the > notification message, then the currently running program will pop up > and now I can see the video again. > > What I want to ask is how to come back to the program when I click the > notification message? I've been looking into the website and this > group, but I couldn't find any clue. Please help! > > Oh, and one more question: > is it possible to put more than 2 activities on the same screen? if it > is, is there any reference for that? > > Million thanks in advance! =D > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

