Android :: MediaPlayer - Command PLAYER_SET_DATA_SOURCE Completed With Error Or Info PVMFErrNotSupported

Dec 8, 2009

I have two versions of the same application that starts by playing an mp3 from the res/raw/ directory, both versions of code are the same as far as the MediaPlayer is concerned and the code used. I get the following error in one version and it plays just I would expect in the other version. I am using 1.5 as my target. I get the same issue on my the devices (G1 and G2) as well as the emulator. I have read some other posts with the same issue and still am unable to resolve my own issue. For those who are going to come back with use MediaPLayer.create (context, id) I can not as I want to control what is being played without creating new instances of the player. It perplexes me that the same code works in another version of the same app that has no change in the code (in fact the alternative app just has a reduced number of images in the drawable folder).

The error message also will occur if the file is not found by using mp.setDataSource("file");

CODE:.....................

Android :: MediaPlayer - Command PLAYER_SET_DATA_SOURCE completed with error or info PVMFErrNotSupported


Samsung Captivate :: Wifi - Error 'mmc1 Got Command Interrupt 0x00060001 Even Though No Command Operation Was In Progress

Sep 6, 2010

I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?

View 15 Replies View Related

Android :: Mediaplayer Error - 4

Jun 19, 2009

a mp3 file which can be played well in sdcard. but when i copy it to another subarea in linux linked as /data/test. but i can not be played in that directory

View 2 Replies View Related

Android :: Unexplained Error From MediaPlayer / Fix It

Feb 21, 2010

My code tries to play an MP3 file from res/raw.

Code...

After player.prepare() is called.

I really don't have a hint.
I won't use MediaPlayer.create() because I need player.setAudioStreamType(AudioManager.STREAM_RING ).

View 1 Replies View Related

Android :: MediaPlayer PVMVErrTimeout Error ?

Sep 28, 2009

I'm writing a streaming music player application and I frequently get a "PFMVErrTimeout" error generated by the PlayerDriver according to the ADB log. This appears to happen even with good reception. I can't seem to find any documentation on this error message.

What does a PFMVErrTimeout" error indicate?

Is there anything that can be done from an application that can eliminate or minimize this error? Is there a way to recover other than freeing up the MediaPlayer and creating a new one?

Also, what is the ERROR/PlayerDriver(26027): HandleInformationalEvent: type=28 UNHANDLED refer to? Do I need to add an event handler for this?

This error seems to be mostly associated with the "/dalvikvm(55): GC freed" event.

CODE:..........................

View 3 Replies View Related

Android :: MediaPlayer Error - 1,-1004

Aug 26, 2010

I am getting an error (1,-1004) when i try to play a .amr file. The file is about 15 seconds long and after playing for about 4 seconds, it stops and I get this error.

I am making the calls just as mentioned in the docs..

CODE:......

Is there any documentation related to Media player errors..

View 2 Replies View Related

Android :: Mediaplayer Error PVMFErrCorrupt

Oct 26, 2009

We have developed android mmsradio channel player. It works on android sdk1.5r2 ( Emulator / device ) well. but when we recompiled the same to Sdk1.6r1. It fails.

Errorcode we are getting -- > E/PlayerDriver( 554): Command PLAYER_INIT completed with an error or info PVMFErrCorrupt

View 3 Replies View Related

Android :: Error Creating MediaPlayer With Uri Or File In Assets

Jun 22, 2010

I copied song.mp3 to my project's assets directory and wrote this code:

private MediaPlayer mp;

Uri uri = Uri.parse("file:///android_asset/song.mp3");

mp=MediaPlayer.create(this, uri);

After running the create statement, the variable mp is null.

View 1 Replies View Related

Android :: Error - MediaPlayer Start Called In State 64

Oct 19, 2009

calling MediaPlayer.onStart() from Activity.onResume() (after the Activity has been paused) causes the following messages in logcat: MediaPlayer start called in state 64 MediaPlayer error (-38, 0) MediaPlayer Error (-38,0) Now the question is, what are the messages trying to tell me? What state is 64?

View 2 Replies View Related

Android :: ERROR/MediaPlayer - 1066 - SetDataSource Called In State 128

Apr 7, 2009

I'm using MediaPlayer and sometimes when first audio is about to end and I click to the next audio I get the exception below. Looks like the MediaPlayer is in some weird state of stopping playing and cannot accept audio at the moment.

The exception goes to the native code which is greeks to me. I couldn't find anything about this error on the internet either.

CODE:...................

View 7 Replies View Related

Android : Playing Local 3gp Video File Causes PVMFErrNotSupported

Jul 21, 2009

I plan to have a 3gp video file that will come with the installation package, it will be placed in /files/ subdirectory, and I would like to ask the native Android media player to play it when I want that.

Here is what I have planned to do/code:

Intent intent = new Intent(android.content.Intent.ACTION_VIEW);

Uri data = Uri.parse("BattlestarGalactica.3gp"); intent.setDataAndType(data,"video/3gpp"); startActivity(intent);

However, when I try to launch the lines above, I get the following error:

CODE:.............

And the video can not be played.

What am I doing wrong that is not applicable to Android platform?

View 7 Replies View Related

Android :: Error - Or Out-of-date Info - In Docs

May 19, 2009

http://developer.android.com/guide/topics/media/index.html shows sample code for recording audio, including the following line: values.put(MediaStore.MediaColumns.TIMESTAMP, System.currentTimeMillis ());

Currently, MediaStore.MediaColumns has no TIMESTAMP field. What is the best way to notify the maintainers of the docs of any errors we find?

View 2 Replies View Related

Android :: Am Profile Command Error Process Not Debuggable

Nov 18, 2010

I am trying to run the profile command using the am option: adb shell am profile <pid> start <filename>

The process has permissions to write to sdcard. Even then, I am getting the following error: java.lang.SecurityException: Process not debuggable: ProcessRecord{xxxxxx/xx}

This app has multiple activities and threads. How do I deal with this? I do not have the source code for this app and hence I do not have the manifest.

View 2 Replies View Related

Android :: PackageManager Component Info Error Getting Assets?

Aug 6, 2009

my application caches static resources in its /assets directory and implements a content provider to provide them to a WebView on request. i kinda have to drive around the houses a bit because it seems i can't get a linear file descriptor on an asset, i get "this resource is zipped" or somesuch, don't know why that's a problem. the content provider just caches the asset in /sdcard and then returns a file descriptor off that. this has been mostly working fine, but i've started seeing errors from the PackageManager. nothing's changed on my end, the assets are still there, etc. the actual error i'm getting is -ndroid.content.pm.PackageManager$NameNotFoundException: ComponentInfo{package/activity} (where "package" is the name of the package, etc) can i get anything wrong with this stuff? caching javascript and css stuff in the apk has been a big performance win.

View 6 Replies View Related

Android :: Server Error When Saving Cc Info From Market

Aug 15, 2010

Many of my buyers are getting a "Server Error" during the purchase process of my app from Android Market. The error occurs only for people who have not purchased from Android Market before and do not have credit card credentials stored in a Google Checkout account.

During purchase process from Android Market, users are brought to the screen to enter their credit card info. When they save the data from this page (Done button), they get a Server Error or "attention, a server error has occurred".

Started happening around August 3rd, 2010, and has been fairly continuous since. Limited response from Google so far, but supposedly they are working on it.

There is a convoluted work around, (make sure gmail account is synced to phone, go to checkout.google.com on a PC, enter cc info there, then go back to Market and make the purchase). But Google Checkout and Android Market need to fix this.

I suspect the actual error is thrown by Google Checkout, since they are the ones storing the cc info.

View 6 Replies View Related

Android :: MediaPlayer.start - Doesnot Work Fine After Calling MediaPlayer.seekTo - 0

Apr 27, 2009

I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds

My sounds are of short duration mostly less than a second.

I am using a separate MediaPlayer for each sound (as I need this) -

There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.

Below is the attached code for player

Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?

check the below code:

CODE:........

View 9 Replies View Related

Android :: Command Access Device Shell / Terminal Permission Denied Error

Nov 22, 2010

By using command prompt access the device shell/terminal. then use the su command getting permission denied error. Why this happening? how can i solve this problem.

View 4 Replies View Related

Sprint HTC Hero : Getting Error At Adb Devices Command

May 4, 2010

UPDATE Using the manual method I got to step 18 of copy and paste of the commands. But now I got the "read error (out of memory)" message while pusing the "flash_image recovery recovery-RA-heroc-v1.5.2.img" file.

View 4 Replies View Related

Motorola Droid X :: Command Prompt - ADB Device Error

Jul 23, 2010

When I type ADB devices, it comes up with this error: 'adb' is not recognized as an internal or external command, operable program, or batch file. I already installed the adb drivers, and Windows told me the drivers updated successfully. Any idea why I am getting this error? I hope to be rooted by the end of the night!

View 24 Replies View Related

HTC Desire :: E:Can't Open /cache/recovery/command - Error In Rooted

Aug 3, 2010

I've been reading this forum for awhile but can't find a solution to my problem...

1. I rooted my 2 HTC Desires 2 months ago, what went fine. Have been able to install apps that request root. And on 1 Desire I have put the Nexus1 Froyo OS.

2. Now when receive a OTA: error

3. I tried the manual update: error

Both phones came from HTC directly, any Sim Card is useable on them.

I first get the error "E:Can't open /cache/recovery/command", then I get:

"Verifying update package
E: failed to verify whole-file signature
E: signature verification failed
Installation aborted."

View 2 Replies View Related

General :: Command Not Found Error While Trying To Compile Kernel From Source With NDK

Mar 29, 2014

I am following this right here [URL] .... And i keep getting command not found even though i am sure its right.

Code:
~/AlienKernel3.0-alien-4 $ export CROSS_COMPILE=/home/user/ndk/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

Code:
sudo make clean && sudo make mrproper

Code:
make: /home/dm47021/Android/toolchains/arm-unknown-linux-gnueabi-linaro_4.8.2-2013.08/bin/arm-unknown-linux-gnueabi-gcc: Command not found
/bin/bash: /scripts/gcc-version.sh: No such file or directory

[Code] ....

View 1 Replies View Related

Motorola Droid : Rooting - Cant Open Cache/recovery/command Error In Recovery

Feb 12, 2010

I took unrooted my phone today because I was going to excange it for a new one because of a loose headphone jack but it turns out it was my headphones. I used SMupdater and it went fine. now when I try ot root again I get a "can't open cache/recovery/command" error in recovery and it wont let me select any of the options by hitting the camera button. idk what to do

View 2 Replies View Related

Android :: Get Rid Of Completed Download Arrow

Jul 15, 2010

New to Android and this is probably a stupid question but I couldn't find an answer after searching the forums.

I have the Evo and cant figure out how to get rid of the completed download indicator arrows at the top of the screen.

View 4 Replies View Related

Android :: Callback To Activity After Layout Has Completed?

Jun 3, 2009

I want to find the dimensions of the various views in my layout. My understanding is this can only be done after layout is completed since layout is somewhat dynamic. So, after the activity calls setContentView() and then returns control on the main thread to the OS so that layout can occur, how do I get a notification that layout has completed so I that I can query the views for their dimensions? On a related topic, can I find out the status bar's height or least the screen's full size (from which the status bar's height can be calculate by subtracting my window's height)?

View 2 Replies View Related

Android :: BroadcastReceiver Never Getting Boot Completed Intent

Jan 12, 2010

I have a BroadcastReceiver which never enters onReceive(), so to debug I created a bare bones project with a simple BroadcastReceiver and still it never gets the BOOT_COMPLETED intent (see manifest below).

I do see a lot of warnings/errors in my Eclipse log (filtered and after manifest) which didn't seem to cause issues before, but maybe I have a bad install of the emulator? I have all the latest SDK and plugins. I also noticed that when I run the emulator I always get "Waiting for" popup for either Alarm or MMS.

The debugger attaches normally for my main Activity, it's just this "boot" receiver that never seems to start. I've tried using "com.boottest.BootReceiver" instead of".BootReceiver" to no avail.

CODE:......................

View 4 Replies View Related

Android :: Cursor Move To First / Blocking UI Until Operation Completed?

Jul 20, 2010

I have a background thread which queries for 1000 records at a time. After querying , when i call cursor.move To First(), the UI gets blocked until the operation is completed.This is very disturbing experience for user , especially if there are 10000 plus records.I use Thread.sleep in between after each 1000 records, As soon as cursor.move To First is called, UI blocks for 2 3 seconds. Am i missing anything here ?

View 9 Replies View Related

Android :: Boot Completed BroadcastReceiver And AlarmManager Not Working

Jul 20, 2009

I am trying to create AlarmManager in BOOT_COMPLETED BroadcastReceiver.

It is NOT working, AlarmManager Receiver is never fired.

BootReceiver:

code:......................

View 3 Replies View Related

Android :: Blocking UIThread Till The .mp3 File Completed In The B/g

May 4, 2009

Is there anyway to block the UI Thread till the .mp3 file completes (or in general blocking UI thread till perticular action in the b/g thread completes).

I had used following code but not got the expected result.

COD:.................

View 3 Replies View Related

Android :: How Can I Listen For WebView Page Load Completed Event?

May 8, 2009

Is it possible to listen for WebView page load completed event (the whole page is loaded including images, js files, css files and the page is completely rendered.

View 5 Replies View Related

Android :: Droid Maps : Determine Map Center After A Drag Has Been Completed?

Nov 20, 2009

Is there a way through the android maps API, where I can detect the map center after pan animation has completed? I want to use this information to load markers from a server dynamically.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved