Android MediaPlayer.prepare throws status=0x1 error(1, -2147483648)
Question: I have a weird error message and can’t find solution. Project: Android with Eclipse IDE and Android SDK, min. API level 10, source code is attached. Problem: I can play none of my downloaded and saved media files from the application’s own data folder (/data/data/com.mypackage/myfile.mp4) by the MediaPlayer class. I double checked the video format. It can be even played when I place it into the /mnt/sdcard/… folder. Android shows a message saying “Cannot Play Video: Sorry, this video cannot be played”. In the log file I can find an error: MediaPlayer error(1, -2147483648) and Prepare failed. status=0x1. What’s the issue?
Continue reading Android MediaPlayer.prepare throws status=0x1 error(1, -2147483648)