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 8233289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:04:44+00:00 2026-06-07T18:04:44+00:00

I created a simple app that has an option to play some remotely hosted

  • 0

I created a simple app that has an option to play some remotely hosted videos. I used the code from the Android developer docs samples, and it works fine on a variety of devices, but on Droid Pro there’s an error “Sorry, we can’t play that video”. I’ve tried several other videos from other sources in case there was an encoding or compression issue, but all seem to produce the same error.

We’ve tried this on 2 different Droid Pro devices, and both have the same error.

All videos are mp4, and as mentioned above all work fine in various other devices (Samsung Galaxy SII, Nexus S, Droid 3, an HTC, etc).

Additionally, I used the 2 samples in the ApiDemos that come with the SDK (MediaPlayer_VideoDemo and VideoViewDemo), again with a few different videos, and these show the same error.

The YouTube app does play videos, so I assume there’s a way to do it.

Here’s the abbreviated code (minus error handling, progress feedback, etc):

import android.app.Activity;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.widget.MediaController;
import android.widget.VideoView;

    public class VideoActivity extends Activity {
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            VideoView videoView = new VideoView(this);
            setContentView(videoView);
            MediaController mediaController = new MediaController(this);
            mediaController.setAnchorView(videoView);
            Bundle extras = getIntent().getExtras();
            if (extras != null) {   
                String path = extras.getString("url");
                Uri video = Uri.parse(path);
                videoView.setMediaController(mediaController);
                videoView.setVideoURI(video);
                videoView.start();
            }
        }   
    }

Any suggestions? TYIA.

  • 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-06-07T18:04:45+00:00Added an answer on June 7, 2026 at 6:04 pm

    Turns out the Droid PRO won’t play videos of a certain size (filesize? dimension? IDK). By resizing them to 320×180 (from 960×540), they work fine.

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

Sidebar

Related Questions

I've created a simple rails app that has a people and a notes model.
So I was trying to follow http://developer.android.com/guide/topics/media/camera.html to create a simple app that captures
I'm trying to create a simple Java app that uses JNI to call some
I'm crating a simple MVC app that has People and Notes tables. Using the
Probably a simple question but I've developed an app that has always been using
I have a simple todo app that where each 'todo' has a title, description,
I want to create a simple app that shows me the city of the
I am trying to create a simple app that displays a list of items
I'm looking to create a simple iOS app that displays the current water level
I want to create a simple desktop admin application for an IOS app that

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.