top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Resizing vedio in Android

0 votes
40 views

How can I resize the vedio say from 640 *480 resolution to 480 * 400 resolution.

posted Mar 18, 2013 by superuser

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

If it's with a MediaPlayer class so you can use a SurfaceView and a surfaceHolder to your video and change it... See this page, I used it at my application... There's a part where it says "Set a size for the video screen", there's the magic!

BTW you can set your video to start automatically with some changes at the code, worked great for me.

answer Mar 18, 2013 by Nora Jones
Similar Questions
+2 votes

Hi, I have built an application using android programming and I want to forward & sharing image from one application to other which was loaded from a remote url.

void onShareItem(View v) {

ImageView ivImage = (ImageView) findViewById(R.id.ivResult);

Uri bmpUri = getLocalBitmapUri(ivImage);
if (bmpUri != null) {

    Intent shareIntent = new Intent();
    shareIntent.setAction(Intent.ACTION_SEND);
    shareIntent.putExtra(Intent.EXTRA_STREAM, bmpUri);
    shareIntent.setType("image/*");
+2 votes

I have been working on a project related to android app development and want to know your views on how we can integrate realm in android application.

0 votes

Hi everyone, I have been working on android application and want to know your views on creating radar view in android with example code. I am also very curious about various other programming questions and answers because I also got stuck in some android issues, that is why I am looking for some mobile development blogs where the evolving community can help me to resolve my queries.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...