Android :: How To Play Audio Stream Of Bytes In Android?

Nov 9, 2010

I'm developing an android app that will play mp3 files. However the mp3 files are encrypted on the sd card or sqlite. Either ways, after decryption, i'll have a stream of bytes. How do i play them? MediaPlayer does not take inputstream as parameter, so i cannot consider that.

Android :: How to play audio stream of bytes in android?


Android :: Play Audio From Stream?

Feb 10, 2010

How to play audio from a stream in android? I will get input stream from an online link( like continuous FM). I need to cache the stream and play it. I searched a lot in sites,,,but didnt get.They show option of playing from a stored file. There is no option to play from a stream.

View 12 Replies View Related

Android :: Receive And Play MMS Or RTSP Audio Stream?

Jul 2, 2009

does android can recieve and play MMS or RTSP audio stream? or just can address for HTTP stream?? i try for MMS stream,but there is nothing to hear..

View 2 Replies View Related

Android :: Play Audio From Stream / Stored Cache File

Feb 10, 2010

How to play audio from a stream in android? I will get input stream from an online link( like continuous FM). I need to cache the stream and play it. I searched a lot in sites,,,but didnt get.They show option of playing from a stored file. There is no option to play from a stream.

View 2 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 :: 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 :: How To Get Stream Of Audio

Aug 23, 2009

I used Class MediaRecorder to play mp3 file, the source like this:

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

It runs no problem. But I want to get the stream,and write the byte array to the stream, let mick sound the refreing voice.

by use java source I can did that. the source like this:

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

You know,Android SDK don't include the class SourceDataLine(package javax.sound.sampled).

View 3 Replies View Related

Android :: Audio Stream Analysis?

Sep 23, 2009

is possible to analyze audio stream spectrum with Android API (similar to what you can easily do with Flash). Basically what I need is to determine the duration between two claps in a small audio record. The claps are much louder than the background, so theoretically it should be somehow possible..

View 5 Replies View Related

Android :: How To Record Audio Stream?

Mar 10, 2009

I want to send audio stream to internet directly, instead of store in the file. But the output of MediaRecord only supports file by seting setOutputFile(String path) , not OutputStream. Is there any methods to do this?

View 2 Replies View Related

Android :: Stream Audio From Mac To Phone?

Sep 16, 2010

Can i stream the audio from my mac to my phone?

View 3 Replies View Related

Android :: Way To Get Audio Stream For Call

Aug 17, 2010

I have seen apps in the Android Marketplace with regards to an app recording an ongoing phone conversation. I am interested in how this is done. Anyone knows how the call is being recorded?Is there a way to maybe get an Audio Stream for a call in Android?

View 2 Replies View Related

Android :: Audio Stream From Currently Playing Song

Oct 13, 2009

I can capture an audio stream from the mic, but can I capture the currently playing audio stream?

View 2 Replies View Related

Android :: Notification When Audio Stream Muted

Apr 22, 2010

For some reason I am not longer able to reply on that topic, so I will start a new post with my further input. I noticed that in the newer Android versions the system will now automatically mute audio streams while some types of audio notifications are playing. This is a nice solution for many types of audio. For music players this works well. My audio application is an audiobook player. The reason that I had posted the original topic about the ability to get a notification when other audio needs to play, is because for an audiobook, muting the audio isn't a very good solution. People miss part of the dialog of the audiobook while it is muted.

I now have customers writing to me and complaining that it skips part of their audiobook when other notifications play. It appears to be skipping to the listener because the audiobook continues to play but is muted while the other audio notification plays. Is there a way for my application to get a notification when its audio stream gets muted and unmuted?...............

View 2 Replies View Related

Android :: Phone Won't Stream Audio Or Video

Jul 18, 2010

I have a Samsung Moment with Android 2.1 on it and lately I cannot stream music or video in any app that I try. The YouTube app says "Sorry, this video cannot be played." for every single video, and if I try to use something like DroidLive (for shoutcast and such) it has a connection error every time. Grooveshark has an "Unknown MediaPlayer error." I tried a few other random apps off of the market to try to rule things out and none of them would play. Music that is stored on my SD card plays just fine.

It doesn't only not work sometimes, it doesn't work 100% of the time now. Happens when I have 3G and even if I'm connected to Wifi. I did a factory reset last night thinking that maybe an app had messed with a setting somewhere and it still doesn't work. I have no clue what else I could possibly try.

EDIT: As requested by the stickied thread:
1.) Model Number - SPH-M900
2.) Firmware Version - 2.1-update1
3.) Baseband Version - S:M900.8.0S.DD03
4.) Kernel Version - 2.6.29
5.) Build Number - ECLAIRDD03

And the hardware version is M900.8.0

View 2 Replies View Related

Android :: Audio Stream Trans Coding?

Jan 11, 2010

Let me first state that I do not know Java. I'm a .NET developer with solid C# skills, but I'm actually attempting to learn Java and the Android SDK at the same time (I know it's probably not ideal, but oh well, I'm adventurous :)) That said, my end goal is to write a streaming media player for Android that can accept Windows Media streams. I'm okay with restricting myself to Android 2.0 and greater if I need to. My current device is a Motorola Droid running Android 2.0.1. There is one online radio service I listen to religiously on my PC that only offers Windows Media streaming, and I'd like to transcode the stream so my Android device can play it.

Is such a thing possible? If so, would it be feasible (i.e., would it be too CPU intensive and kill the battery)? Should I be looking into doing this with the NDK in native code instead of Java? I'm not opposed to writing some sort of service in between that runs on a desktop computer (even in C#), but ideally I'd like to explore purely device-based options first. Where should I start?

View 2 Replies View Related

Android :: Audio Stream On Wifi From Pc To Phone?

Sep 28, 2010

I lige watching movies on my computer, while im laying in my bed, but the cord from my headset is too short. is there an app where you can turn your phone into a wireless headset throug wifi so you can play the movie on your pc and get the sound through a headset you plug into your phone?

View 4 Replies View Related

Android :: Intercept Audio Stream On Device?

Jul 8, 2010

Let's suppose that we have the following scenario: something is playing on an android device (an mp3 par example, but it could be anything that use the audio part of an android device). From an application (android application :) ), I would like to intercept the audio stream to analyze it, to record it, etc. From this application (let's say "the analyzer") I don't want to start an mp3 or something, all I want is to have access to the audio stream of android. Any advice is appreciated, it could a Java or C++ solution.

View 1 Replies View Related

Android :: Unable To Stream Live Audio On 1.5

Jul 26, 2010

I m working on Radio application i gt stuck coz i m unable to stream live audio in android 1.5... is that possible to stream live audio in android 1.5 SDK..

View 1 Replies View Related

Android : Requires Streaming Of An AAC Audio Stream

Aug 7, 2010

I'm working on an app for a client that requires streaming of an AAC audio stream. Unfortunately, there's nothing I can do about the stream format on the server. I'm working on Android and have discovered that Android's media player does not support raw AAC streams (which is what I'm getting). I found a project on Google Code that supports it (I tested it with the stream) but it's GPL'ed and that doesn't work for my client. I don't have much experience with this sort of thing so forgive me if my ideas aren't great. I know Android can play AAC encoded content if it is in an MP4 wrapper so I had thought about creating an MP4 wrapper on the fly on the client-side or perhaps even just doing some conversion to another format on the fly. Are these reasonable options? Does anybody have better suggestions?

Edit To rephrase, is it possible to put a raw AAC stream from a web server in an MP4 container in real time? If so, does anybody know of resources to help me with the process?

View 1 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 :: Phone Call Audio Stream Via Wlan

Mar 22, 2010

I am planning on developing my specific voip app for android.when a phone call occurs I want to hear the person who's calling on my local pc speakers and I want to speak to him via my own pc microphone / headset. So I need to send the audio stream of both me and the person I am talking to via the wlan network.

View 2 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 :: Accessing Media Stream For Audio Visualization

Aug 26, 2010

Basically, I want to make an audio visualizer.I know it's possible, because my phone came with a few live wallpapers that do it.The problem is, I can't seem to figure out how to do this with the Android API.My app would pick up the currently playing media stream and then depending upon the volume that is playing at that time, it would display more or less bars on the screen.How can I do this?It looks like I could do something like this using the microphone, but I want to be able to do it for music, podcasts, etc.

View 2 Replies View Related

General :: Android Bluetooth - Stream Audio To Another Device?

Jan 10, 2013

getting one Android device to be able to stream its audio to another Android device. Specifically I want to stream music but I'd also like notification sounds and other audio to stream.

I have a second, older phone, that I am repurposing.

View 1 Replies View Related

Android :: Play Remote Audio File In Android Audio Player

Nov 12, 2010

I am working on a application that would allow users to play remote files. My question is how do I open those remote files to be played in the default android player?but this does not give me control of what is happening!

View 2 Replies View Related

Android :: Can Audio Stream Output From Earpiece During Call Be Captured?

Jan 29, 2010

I am looking to develop an application and would like to know if the earpiece audio output can be captured.

View 1 Replies View Related

Android :: Get Volume Of Audio Stream Coming In Through Droid Microphone?

Oct 13, 2010

How can I get the volume of the audio stream coming in through the android microphone?

View 2 Replies View Related

Android : Streaming Audio/video Can't Stream A Rtsp File

Aug 25, 2009

I want to stream a media file on web, and android developer website has said that MediaPlayer.setDataSource() can set the data source (file-path or http/rtsp URL) to use. But I got an error in both G1 device and emulator when streaming a rtsp url file: Command PLAYER_PREPARE completed with an error or info PVMFailure error(1, -1). Does anyone know what is this error, or anyone knows where can I get the error description (1, -1) means? the code can work successfully when playing a audio/video file or streaming a http protocal sudio/video file, but can't stream rtsp protocal file. Is android not supported rtsp streaming?

View 4 Replies View Related

Motorola Droid : How To Play Audio From Phone Through RR Audio System?

May 5, 2010

I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.

View 2 Replies View Related

Android : Youtube.com Direct Stream - Will Not Play

Aug 8, 2010

htc desire froyo. When I go to youtube.com from the stock browser I can load the page but when I click to any of videos it looks like it starts to load (loading circle in the middle is rotating) and then I get the message "An error occured, please try again later." at the center of the clip.

I was able to play them but now I can't. Can anyone provide a solution?

And please thank you anyway but do not offer solutions such as: use another browser, go to mobile site, use youtube app (which works by the way).

Main reason for me to switch to android is option to enjoy desktop view of the web on mobile device.

View 1 Replies View Related







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