Android :: 1.5 How Can I Play HE AAC File Type With MediaPlayer?

Apr 28, 2009

Could I somehow trick the player on playing something of this format? I know that there is support for AAC encoded files but just how?

Android :: 1.5 How can I play HE AAC file type with MediaPlayer?


Android :: Can I Use MediaPlayer API To Play Flv Media File

Jul 3, 2009

Recent news say that flash porting is finished for android and HTC Hero has support for flash. Can I use MediaPlayer API to play flv media file? Is there such documents?

View 3 Replies View Related

HTC Incredible :: Unable To Play This Type Of Audio File

Jun 4, 2010

I have an HTC incredible and have tried everything to put music on it, the most recent program i am using is tunesync, which works great. However, whenever i transfer music i always get the message "unable to play this type of audio file" I have tried everything from making the files all mp3 format to using different programs to do the sync, but nothing will work.

View 3 Replies View Related

HTC Incredible :: Music Sync - Message Unable To Play This Type Of Audio File

Jun 4, 2010

I have an HTC incredible and have tried everything to put music on it, the most recent program i am using is tunesync, which works great. However, whenever i transfer music i always get the message "unable to play this type of audio file" I have tried everything from making the files all mp3 format to using different programs to do the sync, but nothing will work.

View 1 Replies View Related

Android :: Correctly Set MediaPlayer Audio Stream Type

Aug 21, 2010

I'm trying to create a way to adjust volume settings for each of the different streams (media, notification, ringtone, etc) and have a way to preview the output sound level of each stream. I believe I have the correct implementation, but when I set the output stream type, there is no sound that plays.

Here is the code that correctly plays the user's selected alarm sound:

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

That commented out line is what is causing me problems. I would like to hear the alarm sound at the volume levels of the different audio streams, but when I include that line for STREAM_ALARM or any other audio stream, no sound at all plays.

View 1 Replies View Related

HTC Incredible :: Trying To Play Music - Says Unable To Play This Type Of Audio

Apr 28, 2010

I took out the 8GB SD card from my Blackberry Storm and put it the Incredible.

I had a bunch of music saved on my SD Card that I downloaded from VZW Music Media thing.

When I go to music on the Incredible and go over the song (it shows the picture of the album of the song)

it says "unable to play this type of audio"

View 10 Replies View Related

Android :: MediaPlayer / Play Media Via Speaker Phone

Jul 22, 2010

I am able play a media using MediaPlayer. The media played via the ear piece. But how can I play the media with speaker phone? e)But that does not work. And I have added this to my Manifest file.

View 7 Replies View Related

Android :: Instances Of MediaPlayer To Play Sounds/video

Jan 18, 2010

Is it possible to have two instances of MediaPlayer to play sounds/ video? How many instances are actually allowed? I can see from the Javadocs that there is a limited amount of instances of MediaPlayer allowed.

View 3 Replies View Related

Android :: Mediaplayer To Play Live Streaming Audio

Nov 8, 2010

In my music app, i would like to play live streaming like radio broadcasting with mediaplayer as Mediaplayer mp = new Mediaplayer(); mp.setDataSource(LiveStreamingURL); mp.prepare(); mp.start(); but after playing for few seconds it is stopped. I dont know how to overcome it. Give me your suggestions for this.

View 3 Replies View Related

Android :: Unable To Play Short MediaPlayer Sound

Apr 23, 2009

I have this task: Need to play short (0.3-0.4 sec) sounds all the time. When sound is played, it should start again, etc. User can press button to reset sound - it should stop and lunch.

I did many tests. I tried to create 1 MediaPlayer, then do this: MediaPlayer.OnCompletionListener complListener = new MediaPlayer.OnCompletionListener; code...

It works great on emulator and on device if I have eclipse+debugger on. When I disconnect debugger, I have very strange errors - sound can stop at all (till program restart), sound can start "repeating" (play 0.1-0.2 sec, then restart). Can someone please provide me some info about problem?

View 5 Replies View Related

Android :: Set Sdp File In MediaPlayer

Jan 22, 2009

I want to play a video file sitting in a server by setting local sdp file in the mediaplayer.

How to set the mediaplayer to read the local sdp file and start playing depending on the sdp connect (if it has unicast/multicast, start corresponding session)? I want to test unicast for now.

View 3 Replies View Related

Android :: Unable To Play Rtsp Video (H.264) Stream In Froyo Using MediaPlayer

Oct 3, 2010

I have an app that worked fine on Android 2.1 (Eclair) but is no longer working in 2.2.1 (Froyo). I think this may have to do with the shift from OpenCore to StageFright for video encoding and decoding, but am unsure.

The debug logs show two things I'm not sure about:

Does this mean H.264 baseline is not supported? WARN/QCvdec(59): Parsing Error unsupported profile or level No idea about: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError nData1 -2147479542 nData2 0

Play the following url (it works fine in VLC, for example): rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a

The code:.........

The debug result:

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

View 3 Replies View Related

Android :: Droid MediaPlayer Class Able To Play A Video Stored In A Remoted URL?

Dec 3, 2009

Can anyone tell me if the Android MediaPlayer class is able to play a video stored in a remoted URL? Just for testing purposes, can I use the URL http://localhost/video-name.3gp. Another question is if the MediaPlayer works well on the emulator?

View 2 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

General :: No File Extension Association - Unknown MIME Type File

Apr 3, 2013

I'm using JB 1.4.2 on Razr i. There's one thing that's annoying me a lot. I've installed the SNES Emulator SuperGNES and I've found that every single file type that have no app associated is showing SuperGNES icon and associated with it. Example: .log, .db, etc. Even files that have no extension is associated with it. The same problem occur when ZArchiver is installed. I don't know if it's a bug of these two apps or Android's in general. Remembering that this associations are shown only inside Android's native file manager. It's like every "unknown MIME type file" act like being the same.

View 6 Replies View Related

Android :: Droid MediaPlayer - Get Correct Duration From Streamed File?

Aug 5, 2010

When I stream music using the MediaPlayer, it gives me the wrong song duration. Has anyone else encountered this?

View 2 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 :: Unable To Play File When Set Data Source To Sd Card File

Apr 13, 2009

I am trying to play file which is stored in SDCARD in emulator. I have Linux O/S. So i need to provide command in run configuration. I am providing following parameter.

-sdcard /usr/android/sdcard/mysdcard.iso -audio oss [i]

The following is my code to play file.

try { mMediaPlayer.setDataSource("/sdcard/test_cbr.mp3"); mMediaPlayer.prepare(); // Giving error. mMediaPlayer.start(); }

View 4 Replies View Related

General :: Can't Play Any Type Of Video On GS1

Jun 17, 2012

Not a single type of video is playable on my phone. Youtube.com, YouTube App, videos from my phone's SD Card, videos I recorded with this phone a few days ago, nothing. Videos I was able to watch on my phone before also suddenly stopped working. I also can't record videos.

On the other hand, my camera works perfectly, so does the music player.

I haven't added any weird adds or anything of the sort. I've attached screenshots of my "About Phone" info, and two other screenshots of what it looks like when I try to play videos on the YouTube App and videos that are directly saved on my phone.

I'm posting here continuing from the Galaxy S I9000 General forum [URL] ....

Since then, I've done the following:

-Rebooted the system and re-installed the latest Kernel version.
-Uninstalled and re-installed YouTube.
-Installed MX Player. This solved the problem I faced while playing videos from my phone, but still can't watch videos from YouTube.
-Went through my Apps and found that I'm missing the Video Player app (click picture)
-Factory Reset to no avail.

I've had this phone for about a month and a half, and installed ICS on it on day 3 or so. Ever since, the videos were working properly, lagless and flawlessly, just a few days ago problems started appearing.

Perhaps the Video Player apk would do? I can't seem to find it anywhere for my phone.

View 4 Replies View Related

Android :: Determine Type Of File

Jan 10, 2010

What is the best way to determine file type in android? I want to check if the given file is image or music file or video or smth else. Could you please give me a small code snippet?

View 2 Replies View Related

Android :: Have A New File Type Launch My App

Dec 23, 2009

How do I have a new file type launch my app?

For example if I have a new file type 'file.mjl' and I receive this file as an email, I want Android to associate this file type with my app and allow me to open / save it.

View 1 Replies View Related

Android :: How To Let Application As Default App Of Certain File Type

Apr 7, 2009

I did some search in this forum, and found the below thread. So an intent-filter is needed. But it did not have an answer regarding how/ where to add code, and get the file name passed by another app, say a file manager. http://groups.google.com/group/android-developers/browse_thread/threa.

View 8 Replies View Related

Android :: Can We Register A File Type To Application?

Nov 9, 2010

I use my file explorer a lot. It eliminates much of the "You have to put the files here" sort of requirement of many applications. And in many case - movie files for example - when you touch the file, it opens it in the appropriate application. There are exceptions like *.epub files. When I touch one, I get the famous "...does not support." message. So the question is, can I "register" Laputa (for example) to be the app to open *.epub files - Similar to the File Types dialog in Windows?I suppose this might require root access?

View 3 Replies View Related

Android :: Mime Type On Download File

May 2, 2009

I would like to a mimetype to Android Web browser, to allow opening my application when a certain mime type file is downloaded by the web browser. Apparently, only media file's mime type can be supported by the web browser. Is it right? How can I do it?

View 5 Replies View Related

Android :: File Extensions And MIME Type

Sep 19, 2010

My app has two private file formats with distinctive extensions. How to I register their MIME types and associate them with file extensions? My understanding that then my app can be launched to handle a file. How is this done and how to extract the file path my app is launched to handle?

View 4 Replies View Related

Android :: Display Image That Is Of Type File

May 8, 2010

I have an image that is currently stored in variable of type "File". File img; What is the easiest way to display this image onto the screen so I can verify it is working correct?

View 1 Replies View Related

How To Know Which Type Of File System Does Android Device Using

Dec 4, 2013

how to know which type of file system does my android device using ?

View 2 Replies View Related

Android :: Retreive Default Application Associated With File Type

Jul 18, 2010

Is there any way to retrieve either the default application name associate to a mime type or a list of applications? Im not looking for the actual application just the application name so it can be stored in a string.

View 2 Replies View Related

Android :: Register To Be Default App For Custom File Type

Aug 12, 2010

Register to be able to open files of custom type. Say i have .cool files, and if the user tries to oepn it, Android asks if they would like to open it with my application. How?

View 1 Replies View Related

Android :: Content Provider - Any File Type Store?

Oct 6, 2010

In android it is not directly possible to share files and folders across different application. The only way is Content Providers.

1. Is there any general (any file type) content store? Today there is Audio, Video and Image Store.

2. Wanted to write new Content Provider to store Big files, like Video and Audio. Saw some examples, like

View 2 Replies View Related







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