I am trying to play video file which is of .3gp format using VideoView
of Android. When I try to play this video I am getting a pop up message saying that "sorry video cannot be played". I am using Android 2.2 Google APIS.
I am getting the following errors in Logcat:
09-18 15:00:39.607: DEBUG/MediaPlayer(458): Couldn't open file on client side, trying server side 09-18 15:00:39.836: ERROR/MediaPlayer(458): error (1, -1002)
09-18 15:00:39.727: INFO/StagefrightPlayer(33):
setDataSource('http://freemobilvideos.com/eng/download/1099/Prince+of+Persia.3gp')
09-18 15:00:39.836: INFO/AwesomePlayer(33): mConnectingDataSource->connect() returned -1002
09-18 15:00:39.836: ERROR/MediaPlayer(458): error (1, -1002)
09-18 15:00:40.426: ERROR/MediaPlayer(458): Error (1,-1002)
09-18 15:00:40.426: DEBUG/VideoView(458): Error: 1,-1002
Can anyone help me in solving this issue?