I want to play videos in mp4 format and 4-5Mb in size from the server in streaming mode. I am using sdk version 2.3, on the emulator this gives only sound but not image.
I also tested it on Samsung (android sdk ver 2.1) and LG optimus (android sdk ver 2.2) devices and only get the message โcannot play video: sorry this video is not suitable for streaming to this deviceโ. I was looking for this, but did not get any solution, if anyone has any solution, please help me. Thanks in advance.
Here is my code:
public class ShowVideo extends Activity { private static ProgressDialog progressDialog; public String video_url; private MediaController mediaController; @Override protected void onCreate(Bundle savedInstanceState) {
source share