ok guys..thanks for your responses...

On Feb 10, 6:29 pm, Sean Hodges <seanhodge...@googlemail.com> wrote:
> You can't playvideoinside an AppWidget.
>
> On Wed, Feb 10, 2010 at 12:42 PM, Narendra Bagade
>
>
>
> <bagadenaren...@gmail.com> wrote:
> > I want to playvideo,how can i achieve?
> > I tried this code but ,it is playing only audio means i can hear only sound
> > butvideois not display on emmulater screen?
>
> > can any guide what mistake I am doing?
>
> > setContentView(R.layout.
>
> > main);
>
> > mp =MediaPlayer.create(this, R.raw.video);
>
> > preview=(SurfaceView)findViewById(R.id.SurfaceView01);
>
> > holder=preview.getHolder();
>
> > holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
>
> > mp.setDisplay(holder);
>
> > mp.start();
>
> > Thanks,
> > Narendra
>
> > On Wed, Feb 10, 2010 at 6:03 PM, Mark Murphy <mmur...@commonsware.com>
> > wrote:
>
> >> > I wanted to know , can we have a home screenwidgetin which we can
> >> > play avideo?
>
> >> No, sorry.
>
> >> --
> >> Mark Murphy (a Commons Guy)
> >>http://commonsware.com
> >> Android App Developer Books:http://commonsware.com/books.html
>
> >> --
> >> 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
>
> > --
> > Regards,
>
> > Narendra B
> > 9632382960,
> > Bangalore.
>
> > --
> > 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- 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