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

  • Home
  • SEARCH
  • 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 6039857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:25:50+00:00 2026-05-23T06:25:50+00:00

I have an application that plays a video from the sdcard with MediaPlayer. I

  • 0

I have an application that plays a video from the sdcard with MediaPlayer. I have used Android Developers example (http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/MediaPlayerDemo_Video.html), and it works great in some devices: HTC Desire (Android 2.2), HTC Legend (Android 2.2).

However, I have tried it in a Samsung Galaxy 5 (Android 2.1) and it doesn’t display the video, just a black screen.
No errors in LogCat.

Any ideas about why does this happen?

Thanks in advanced,

Marta

  • 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-23T06:25:51+00:00Added an answer on May 23, 2026 at 6:25 am

    Have you developed the app with focus on 2.2?
    Probably there were some changes from 2.1 in this part. You could check the older API demos (they are all in your sdk fodler) and look for changes from rev. 7 to 8.

    However I prefer to use the VideoView http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/VideoViewDemo.html

    Worked allot better on everything I made yet.

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

Sidebar

Related Questions

I have an android app that plays audio from the application class. I have
I have made a Android streaming application that plays media from online URL's. For
I have an application that plays back video frame by frame. This is all
I have a requirement to play YouTube video content from within an Android application
Background: I have an application which plays video files from disc. When I play
I have an application that lets users record video from their webcams. The users
I have an application that plays video on the web. It uses flowplayer.unlimited-3.2.7.swf to
I have an application that plays back video frame by frame. This is all
in my application i have the playvideo page where video will play, below that
In my application, I have put a button that plays its own sound by

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.