Android :: Audio (MediaPlayer) On (Archos 5 IT)

Apr 27, 2010

Does anyone know the filepath for an Archos? I'm trying to get some media/audio to play, and it just won't find it...

public void onClick(View v1) {
final MediaPlayer mp = new MediaPlayer();
try {
mp.setDataSource("ARCHOS5:/Music/manowar.mp3");
mp.start();
Toast.makeText(Textbox.this, "Working", Toast.LENGTH_LONG).show();
mp.setLooping(true);
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
e.printStackTrace();............................

Android :: Audio (MediaPlayer) On (Archos 5 IT)


Android :: ARCHOS 5 - MediaPlayer Create Method Returns Null

Oct 16, 2009

my app is working perfectly and playing its music in the 1.5 and 1.6 emulators, my ADP1, and for everyone in the Android Market (at least there were no complaints). The problem is that when the app is run on the ARCHOS 5 tabled, the MediaPlayer.create(Context context, int resid) method returns null. I guess there might be a problem with the ARCHOS' Android implementation, but did anyone experience the same problem? What might be a possible reason for the create method to return false? The docs don't say anything. I'm also using SoundPool in parallel with MediaPlayer if that's relevant.

View 2 Replies View Related

Android :: Streaming Audio From URL Using MediaPlayer?

Dec 27, 2009

I've been trying to stream mp3's over http using Android's built in MediaPlayer class. The documentation would suggest to me that this should be as easy as :

MediaPlayer mp = new MediaPlayer();
mp.setDataSource(URL_OF_FILE);
mp.prepare();
mp.start();

However I am getting the following repeatedly. I have tried different URLs as well. Please don't tell me that streaming doesn't work on mp3's.

E/PlayerDriver( 31): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported
W/PlayerDriver( 31): PVMFInfoErrorHandlingComplete
E/MediaPlayer( 198): error (1, -4)
E/MediaPlayer( 198): start called in state 0
E/MediaPlayer( 198): error (-38, 0)
E/MediaPlayer( 198): Error (1,-4)
E/MediaPlayer( 198): Error (-38,0)

View 8 Replies View Related

Android :: Playing Audio Stream Not Working Using MediaPlayer

Nov 27, 2009

I am trying to make a very simple radio player for Android and I cannot get the audio streaming to work. In my latest attempt it plays for about 1 second and stops for some streams and it doesnt work at all for some other streams. Logcat doesn't give much useful information to me. I am testing on HTC Hero (Android 1.5).

If I hook the completion and buffer events I see the audio gets a complete event but it keeps buffering. Is there anything wrong with the code below? Should I be able to stream the the audio streams below? Is there a complete example somewhere of a working radio streaming?................

View 5 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 :: How To Implement An Audio Player - Using MediaPlayer And MediaController

Feb 8, 2010

I want to create an Android application that is a client for an Internet radio station. And I want it look native to Android? But im confused with Android API logic and documentation. What i've got is that I need MediaPlayer and MediaController classes. Am I right, and is there any good example of AUDIO player for Android?

Especially, I'm very interested how to use MediaPlayer and MediaController classes together.

UPD:

Finally I've got the code, that does exactly what I want:

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

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

Android :: Audio Files Return 0 From MediaPlayer.getDuration()

Apr 8, 2009

Some audio files return 0 from MediaPlayer.getDuration(), even though they're perfectly valid files that play ok and that players on Windows can find the duration of. There seem to be two different cases here: certain file types such as .wma and .wav always return 0 duration, and others only do so sometimes. I haven't been able to find any pattern in the latter case, but it does seem consistent per file. The music player displays 0:00 duration for these, so it's not just my code.

View 3 Replies View Related

Android :: MediaPlayer Provides Wrong Duration On Audio Streaming

May 27, 2010

I am having the following problem: I am using Android's MediaPlayer to play an mp3 through an HTTP connection. The audio is played correctly, but the MediaPlayer returns an incorrect duration (calling mediaPlayer.getDuration() ). Depending on the mp3 the duration is either shorter or longer. The code that plays the audio is the following:

mediaPlayer = new MediaPlayer(); mediaPlayer.setOnCompletionListener(this); mediaPlayer.setOnErrorListener(this); mediaPlayer.setOnPreparedListener(this); mediaPlayer.setOnBufferingUpdateListener(this); mediaPlayer.setDataSource("a valid URL"); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.prepareAsync();............................

View 2 Replies View Related

Android :: Possible Mit Sdk1.6 Audio Decoder To Access Without Using MediaPlayer?

Oct 13, 2009

Is it now possible mit sdk1.6 the audio decoder to access/use without using MediaPlayer ?

I saw : New version of OpenCore

Android 1.6 includes the updated OpenCore 2 media engine, which has:

* Support for OpenMAX encoders* Support for additional audio codecs in AuthorEngine* Improved buffering model supports shared buffers allocated in the decoder. but dont know how!

View 3 Replies View Related

Android :: Native MediaPlayer Plays Audio But Not Video - 3gp Format

Jun 16, 2009

I have the following native source code that is supposed to display video. It plays 3gp file ok and I can hear the audio, but the video is not shown.

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

View 4 Replies View Related

Android :: Mediaplayer - Stop Button And That Stops Audio From Playing

Nov 18, 2009

I have a activity which is called from another activity as an intent... This activity loads and starts playing a audio file. All is good - that much works. The activity also has a "stop" button and that stops the audio from playing - that is also fine.

But how do I stop the file from playing if the user uses the back button to leave the activity without clicking on the "Stop" button?

View 3 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 : SSH Client For Archos 5?

Feb 20, 2010

Just bought an Archos 5. Is there an ssh client for it?

View 1 Replies View Related

Android : Trying To Make DDMS Screenshot - Archos 5 IT

Nov 13, 2009

I'm trying to make a screenshot of an Archos 5 IT using DDMS (SDK 1.5 and 2.0) without success. The screenshot is awful with a lot of yellow. Do you have the same issue ? I would like to know if possible if this issue is due ti an SDK problem or an Archos problem.

View 2 Replies View Related

Motorola Droid X :: Match Up To Archos 5 Tablet With Android

Jun 29, 2010

How does the Moto Droid X match up to the Archos 5 running Android? I've got the Droid and the Archos 5. But bought the Archos mainly as a mp3 player and book reader. My Droid is a great mp3 player but every time it is in my pocket the slider moves and I have to get it out slide the lock and hit play again. Very annoying. Also you get all the notices, such as emails, texts, calendar reminders, etc making thier alarms through the songs. This is why I searched out Archos as a media player. But it really isn't pocketable.

You can but it is large. The Droid X is larger then Droid (4.3 vs 3.7) but still a little smaller than Archos 5". I've done so much research for the last 2 weeks, I'm going silly trying to remember everything and what's what. So has anyone checked both these out and think they are pretty much the same thing only a little smaller screen? Just curious as I'm leaning towards returning Archos and going with Droid X. Hopefully at some time they will make an app that will shut off everything but phone calls while music player is playing.

View 1 Replies View Related

Android :: Can Archos 28 Be Used As Test Device For Phone Development?

Nov 15, 2010

I would like to start doing some Android development, and would like a cheap device to deploy apps to, just for testing and demo purposes. Is it possible to deploy apps to, for instance, an Archos 28? I don't know much about Android development yet, and haven't found a good answer to this question elsewhere.

View 1 Replies View Related

Android : Use Apps On Regular Droid Market On Archos?

Dec 24, 2009

I was wondering if I can download apps from my computer and place them on my Archos 5 Internet Tablet since Archos made their own stupid market place with less apps.

View 2 Replies View Related

Android :: Strategy For Installing Large Applications On Archos 5 Tablet

Nov 14, 2009

I have an app which has a download size of about 7MB and an installed/ configured size of about 25MB. So far, I've been handling this by using the SD card for the baulk of the data. This works fine although the installation process is a little cumbersome. I notice the smallest of the Archos 5 tablets is 8GB.

Can someone confirm whether this is all part of the internal memory? In other words, can /data/data/com.mypackage fill this memory (potentially). If so, does this mean there is a good chance that getExternalStorageDirectory() will quite often return null? Because people will have less need to use an external SD card.

View 2 Replies View Related

General :: Root Access Archos Arnova 10 G2

Oct 21, 2011

Today i got my new Arnova 10 G2 tablet and i want to know if there is a way to gain root access and if possible to get cwm or 4EXT recovery flashed......

View 3 Replies View Related

Motorola Droid :: Tether To Archos 5 Internet Tablet?

Jan 6, 2010

Has anyone been able to do this? USB or Bluetooth DUN? I installed PDAnet on the phone but the Archos won't pair with the Droid. They're both running Android so I thought it might work. The archos has WiFi and bluetooth. I've tried WiFi-net sharing on my Touch Pro 2 but it won't recognize the network?

View 4 Replies View Related

Android :: Archos 5 Android Tablet / Storage Seem To Point To Same Spot

Nov 22, 2009

Somebody once asked on this list what the ARCHOS 5 Android tablet returns for Environment.getExternalStorageDirectory(). The good news: it's not null. The interesting news: it's /storage. The second round of good news: this points to the bulk of the storage space -- on my 32GB flash, /storage is where 30GB of the space resides. The third round of good news: the value remains /storage even after you pop a micro SD card in. I was briefly worried that it might switch to /sdcard or something.

Really curious news: while Environment.getExternalStorageDirectory() returns /storage, /sdcard does exist, and it does *not* point to the SD card. Rather, it and /storage seem to point to the same spot, perhaps via a symlink or hardlink. Upshot: while you should use Environment.getExternalStorageDirectory(), apps that hardwire "/sdcard" won't break when there's no SD card installed.

View 4 Replies View Related

Android :: Archos 5 Internet Table And Android ID Secure Settings

Oct 17, 2009

Somebody on this list asked a bit ago about whether the Archos 5 Android Internet Table supports the ANDROID_ID secure setting. The answer is yes but it's not a hex value, which is what the docs say is required. So, as long as you just care about it being a relatively short string (and not-null), you should be OK.
_Android Programming Tutorials_ Version 1.0 Available!

View 2 Replies View Related

Motorola :: Android Player To Recognize Audio Tags On Lossless Audio Files?

May 23, 2010

Does anyone know if there is a way for either meridian or the regular android player to recognize audio tags on lossless audio files?

View 1 Replies View Related

Android :: Analog To IOS Core Audio / Audio File Stream Services?

Sep 22, 2010

Is there an Android equivalent to the iOS Core Audio / Audio File Stream Services? I need to be able to read audio bytes from a network and feed them to the audio system under my control, so I can do my own timeouts / reconnects / range requests / etc. without interrupting the audio playback (since the system audio thread would be playing audio already enqueued). It seems that MediaPlayer doesn't give me this level of control. Is there a lower-level framework that does, either in the SDK or NDK?

View 2 Replies View Related

Android :: Combine Only One Audio File From Two Audio Files

Oct 2, 2010

I want combine two audio files. (A audio file + B audio file = AB audio file)So, my search result is:

1. useing an AudioTrack.

2. decode PCM from audio file.

3. combine PCM.

This is currect? It there another way?

View 1 Replies View Related

Android :: How Can I Apply An Audio Effect To Recorded Audio?

Oct 17, 2010

I want to record a sample from the microphone, then I want to play the recorded file maximizing the volume and apply some audio effect, like modifing sample rate or addind an echo.Waht is the best way? is there an example?

View 1 Replies View Related

Android :: Audio Record And Play Recorded Audio

Jun 2, 2009

Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.

View 5 Replies View Related

Android :: Determining Audio Format Of Audio Files

May 8, 2010

Is there a way to determine the audio format of an audio file in Android? On normal java I do it like this:

File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();

View 2 Replies View Related

Motorola Droid :: Droid Vs Ipod Touch Vs Archos 5

Nov 19, 2009

I bought the droid, love it (using it as a wifi enabled media player with tons of apps), and can still return it penalty free, but am not impressed with the call quality. I am thinking about either getting the ipod touch, dropping the verizon service and using the droid, or getting the archos 5. I dont need GPS, phone, or the camera. I have a few questions.

1 Is this a stupid idea? I can get a 64gb ipod touch for $399. The 16gb droid will be $375 after early termination penalty.

2 How will it function without verizon? I will only be using data downloads where WIFI is enabled, everywhere else it will just be a stand alone media player.

3 I would like to use skype over WIFI. The skype lite app for droid does not allow that. Does the ipod touch require you to use an accessory with a microphone?

4 Battery power. I read on these forums that turning off the droid does not stop the battery from draining. If i turn the droid off and dont use it for a week, will it be dead?

5 How about Archos?

View 2 Replies View Related







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