Video Gallery in android

by glory » Fri, 12 Jun 2009 14:54:52 GMT

Sponsored Links
 Hi all,

I am trying to launch the default video gallery from my application.
I am using following intent for opening the video gallery

Intent i = new Intent(Intent.ACTION_PICK);
i.setDataAndType(Uri.EMPTY, "video/3gp");
this.startActivityForResult(i, REQUEST_SELECT_VIDEO);

but the problem is that it is showing both video and picture.

How can I filter out only video

Thanks in advance.


Video Gallery in android

by efrancis » Fri, 10 Jul 2009 03:47:43 GMT

 Try this...

Intent i = new Intent(Intent.ACTION_GET_CONTENT);


Sponsored Links

Other Threads

1. Generating Entropy (Kernel level)


I've developed an application which requires quite a lot of entropy
from the kernel. what devices feed to entropy in the kernel? What is
the best way to generate more entropy? Can I turn on the accelormeters
to generate more entropy? What if I listen to touch-screen events?

Thanks for your time!

2. findViewById doesnt work directly after inflate() !! Why?

I ended up changing extending a View to a FrameLayout.  This way I
can use it as the root in inflate because it is a ViewGroup.  I think
the problem was that having a null parent in an inflate  doesnt
actually render the views.  I may be wrong about this but it worked
for me.

Caching the subviews in onFinishInflate() is a good idea, so i did
that too.


On Jan 19, 5:25pm, Jason Proctor <>

> >

3. ATTENTION ANDROID TEAM: Take back control of Android.

4. publish a web app to android Market

5. Updating sqlite database

6. dynamic buttons in home screen widget

7. Help required regarding android