hai every one . im my project while displaying a page if there are some buttons for displaying videos then if i click on it then the video should play and when i stop the video then i should get the original page with image button. i wrote the code as …….
Uri uri = Uri.parse(myPath);
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, uri);
myContext.startActivity(intent);
In place of mypath i gave the path where the video is located.
Actually my problem is when the video playing is finished , i am not getting the original page with buttons but empty page with image button. can any body tel where the exasct problem is..
thank you in advance
Have a look at startActivityForResult