Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6725661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:50:04+00:00 2026-05-26T09:50:04+00:00

I developed an application. My application includes video recording and playing. I have to

  • 0

I developed an application. My application includes video recording and playing.

I have to play video what I have recorded from mobile. This is working in most of devices(Samsung galaxy ace,Motorola Droid x, etc.,) and not working in some of devices(Droid x2,Nexus,etc.,).

I used below code for video playing

String temp_path=Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)+"/MySaveCellData/dbz_115.3gp";
    //Toast.makeText(this,getSaveCellPath(),Toast.LENGTH_LONG).show();
    if(temp_path!=null) {
            //int width = myView.getMeasuredWidth();
          //  int height = myView.getMeasuredHeight();
            //we add 10 pixels to the current size of the video view every time you touch     
            //the media controller.
        Display display = getWindowManager().getDefaultDisplay(); 
        int width = display.getWidth();
        int height = display.getHeight();
        MediaController mediaController = new MediaController(this);
        mediaController.setAnchorView(myView);
        myView.setMediaController(mediaController);
       
        myView.setKeepScreenOn(true);

        //myView.setVideoAspect(width,height);
        //myView.setVideo
        myView.setVideoPath(temp_path);
        myView.start();
        myView.requestFocus();
    }
    else 
        Toast.makeText(this,"Video Path Not Found, or is set to null",Toast.LENGTH_LONG).show();        
}

What is the problem and solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:50:04+00:00Added an answer on May 26, 2026 at 9:50 am

    The problem is not in video playing. The problem in video recording. When I record the video the hardware of device is not supporting to my code. So I changed the code of video recorder. It is working well in all devices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed an ASP.NET application that includes a WCF service. This service needs
i have developed application for read information from card reader. Here i have used
I have developed one WCF application, and it is working as a middle layer
I have developed a small windows forms application in C#. This application simply manipulates
I have developed an application to find the user's location using GPS. In this
I have a well-developed application for a phone, but I would like to add
I developed an application in android. Its input fields are working fine e.g. username
I developed an application in the phonegap which is working good in the android
Have developed a small Windows application using SQL Server as its database. I need
I have previously written an application for Mac OSX that includes a kernel extension.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.