Yes I have tested the video ...it works without the sub-activity. (And in that case I gave the path of the song in the playvideo( ) function directly so as to check if video works). This means that this problem is actually because I am not handling the sub activity thing properly. Is it required that after returning back to VideoPlayer activity I need to refresh the screen etc..
Since you are saying that it's nothing to do with manifest file.....then what is it that causes the Video to disappear as soon as it plays? On Jun 4, 5:44 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > AJ wrote: > > my problem is that it fails to play the video and also the > > view of the VideoPlayer activity is not retained properly. the Video > > starts & then application exits. > > Have you tested playing this video without the sub-activity? In other > words, does the video itself work? > > The sub-activity should have nothing to do with your problem -- > VideoView should neither know nor care where you come up with the path > to the video clip you wish to view. I found VideoView to be > temperamental, at least in the emulator, and so this may be a matter of > having an appropriate video clip to use. > > > Do I need to mention intent in the android manifest file about taking > > result from sub activity & playing it back in original class. > > As far as I know, no. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Warescription: All titles, revisions, & ebook formats, just $35/year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

