Not yet. You haven't asked enough times...Oh wait. 5 times already
today...The same question?

Yes, the same basic question 5 times in a 4 hours.

Ok, since you asked so many times it must be urgent for me.

Oh wait. No it isn't that urgent for me, but I might get around to it
when I have a bit more time on my hands this evening (in about another
5 hours from now).

Regards,

Peter



On Jun 24, 12:40 pm, naveen kumar <kumarnaveen.si...@gmail.com> wrote:
> On Jun 24, 2:20 pm, NaveenShrivastva <kumarnaveen.si...@gmail.com>
> wrote:
>
>
>
>
>
> > On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
> > <kumarnaveen.si...@gmail.com>wrote:
>
> > > On Jun 24, 1:30 pm, NaveenShrivastva <kumarnaveen.si...@gmail.com>
> > > wrote:
> > > > On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales <
> > > therevolti...@gmail.com>wrote:
>
> > > > >http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
> > > ..
>
> > > > > On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar <
> > > > > kumarnaveen.si...@gmail.com> wrote:
>
> > > > >> Hello Google Android Developer,
>
> > > > >> I am trying to play large video from sdcard by android code, that is
> > > > >> not playing,i dont want to play video from url,
>
> > > > >> so please help me how to play large video in android from local
> > > > >> folder..
>
> > > > >> In case of XCODE by using mediaplayer they able to play any type of
> > > > >> large video.
>
> > > > >> Android also supports mediaplayer api for media file.
>
> > > > >> Here i am only listening the voice i am not able to place view on
> > > > >> surface holder.
>
> > > > >> is possible to see video using mediaplayer in android framework.
>
> > > > >> Please someone reply me clearly.
>
> > > > >> if not solution then kindly help me for to divide the 1gb file in
> > > > >> 300MB.
>
> > > > >> Thanks, in advance
>
> > > > >> i am not getting perfect answer by google.
>
> > > > >> --
> > > > >> You received this message because you are subscribed to the Google
> > > > >> Groups "Android Developers" group.
> > > > >> To post to this group, send email to
> > > android-developers@googlegroups.com
> > > > >> To unsubscribe from this group, send email to
> > > > >> android-developers+unsubscr...@googlegroups.com
> > > > >> For more options, visit this group at
> > > > >>http://groups.google.com/group/android-developers?hl=en
>
> > > > > --
> > > > > ~ Jeremiah:9:23-24
> > > > > Android 2D MMORPG:http://solrpg.com/,
> > > > >http://www.youtube.com/user/revoltingx
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "Android Developers" group.
> > > > > To post to this group, send email to
> > > android-developers@googlegroups.com
> > > > > To unsubscribe from this group, send email to
> > > > > android-developers+unsubscr...@googlegroups.com
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
>
> > > > package com.halosys.VideoPlayer;
>
> > > > import java.io.File;
> > > > import java.io.FileOutputStream;
> > > > import java.io.InputStream;
>
> > > > import android.app.Activity;
> > > > import android.media.MediaPlayer;
> > > > import android.os.Bundle;
> > > > import android.util.Log;
> > > > import android.view.MotionEvent;
> > > > import android.view.SurfaceHolder;
> > > > import android.view.View;
> > > > import android.view.View.OnTouchListener;
> > > > import android.widget.VideoView;
>
> > > > public class ActivityMediaPlayer extends Activity implements
> > > > SurfaceHolder.Callback,
> > > >                 MediaPlayer.OnBufferingUpdateListener,
> > > >                 MediaPlayer.OnCompletionListener,
> > > > MediaPlayer.OnErrorListener,
> > > >                 MediaPlayer.OnPreparedListener {
>
> > > >         private static final String TAG = "VideoMAN";
> > > >         final MediaPlayer p = new MediaPlayer();
>
> > > >         @Override
> > > >         public void onCreate(Bundle savedInstanceState) {
> > > >                 super.onCreate(savedInstanceState);
> > > >                 setContentView(R.layout.main);
>
> > > >                 log("launched");
> > > >                 final VideoView vv = (VideoView)
> > > > findViewById(R.id.surface_view);
>
> > > >                 try {
> > > >                         vv.setEnabled(true);
> > > >                         vv.setOnTouchListener(new OnTouchListener() {
>
> > > >                                 public boolean onTouch(View v,
> > > MotionEvent
> > > > event) {
> > > >                                         if (event.getAction() ==
> > > > MotionEvent.ACTION_UP)
> > > >                                                 try {
>
> > > > p.setDataSource("/sdcard/watch/movie.mp4") ;
>
> > > > //.getFileDescriptor());
> > > > //                                          
> > > > p.setDisplay(vv.getHolder());
>
> > > > p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);
>
> > > > p.setOnCompletionListener(ActivityMediaPlayer.this);
>
> > > > p.setOnErrorListener(ActivityMediaPlayer.this);
>
> > > > p.setOnPreparedListener(ActivityMediaPlayer.this);
>
> > > log("clicked...");
> > > >                                                         
> > > > p.prepareAsync();
> > > >                                                         vv.start();
> > > >                                                 } catch (Exception e) {
>
> > > e.printStackTrace();
> > > >                                                 }
> > > >                                         return true;
> > > >                                 }
> > > >                         });
>
> > > >                         vv.bringToFront();
> > > >                         vv.setClickable(true);
> > > >                         vv.getHolder().addCallback(this);
>
> > > >                 } catch (Exception e) {
> > > >                         // TODO Auto-generated catch block
> > > >                         e.printStackTrace();
> > > >                 }
> > > >         }
>
> > > >         public void surfaceChanged(SurfaceHolder holder, int format, int
> > > > width,  int height) {
> > > >                 log("surface changed");
> > > >         }
>
> > > >         public void surfaceCreated(SurfaceHolder holder) {
> > > >                 log("surface created");
> > > >         }
>
> > > >         public void surfaceDestroyed(SurfaceHolder holder) {
> > > >                 log("surface destroyed");
> > > >         }
>
> > > >         public void onBufferingUpdate(MediaPlayer mp, int percent) {
> > > >                 log("buffering: " + percent + "% done.");
> > > >         }
>
> > > >         public void onCompletion(MediaPlayer mp) {
> > > >                 log("complete");
> > > >         }
>
> > > >         public boolean onError(MediaPlayer mp, int what, int extra) {
> > > >                 log("error: (" + what + ":" + extra+")"); //always 
> > > > (-4,0)
> > > >                 p.reset();
> > > >                 return true;
> > > >         }
>
> > > >         public void onPrepared(MediaPlayer mp) {
> > > >                 log("prepared");
> > > >                 p.start();
> > > >         }
>
> > > >         private static void log(String msg) {
> > > >                 Log.w(TAG, msg);
> > > >         }
>
> > > > }
>
> > > > i am getting
>
> > > > ERROR/AndroidRuntime(10406): Caused by: java.lang.ClassCastException:
> > > > android.view.SurfaceView
>
> > > Someone please help me how to play large video android.
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > i am not able to play large video.
>
> Please someone help me how to play large video from sdcard android.
>
> plzzzzzzzzzzzz- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to