Android :: Audio Stream From Currently Playing Song
Oct 13, 2009I can capture an audio stream from the mic, but can I capture the currently playing audio stream?
View 2 RepliesI can capture an audio stream from the mic, but can I capture the currently playing audio stream?
View 2 RepliesI 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?................
I am wondering if there any music apps (besides Pandora, Last.fm, imeem, Slacker, etc.) that will play the song that I want it to? For example, say I want to listen to Empire State of Mind by Jay-Z, what app can I go to and type in "Empire State of Mind" and listen to that song, instead of "similar songs"?All of these Pandora, Slacker, etc apps are exactly the same. Why can't I listen to the song I want instead of similar songs? I just don't get it.
View 7 Replies View RelatedIs 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 RelatedI know that my girlfriend needs and wants a tablet(a simple one) , so I ordered a serioux visiontab s800 which will be shipped today.
I want to setup an app or if possible in another way, to play a certain song when booting the tablet. Or even after it has booted. I just want it to start playing a song all of a sudden If this is possible , I might want to start working on it asap, since I will give the gift on Thursday.
I've had Handcent sms app for a long time and never had any problems, I love it. But with the newest update it has begun playing a long annoying song when I get an sms, even though I've set it to a normal single sound. I've tried reinstalling it, but it doesn't help. Can anyone help me? Or recommend another sms program, just as good.
View 1 Replies View RelatedSuppose I want to start a song in Activity A see to it that it plays in Activity B when I move from Activity A to B Now after moving from Activity B to Activity C I want to stop that song and play another song.Please I need Help on this cant figure it out some how
View 2 Replies View RelatedHow can i get the name of the song that is currently playing in the background?"
View 1 Replies View RelatedIs there any way to get the details of current song played by media player?
View 3 Replies View RelatedCan you remind me please what is the name of the App that I believe I read about that you can find out a song just by playing a little with the App running? It sounds like a Cool little thing, well to my Childish mind it does.
View 10 Replies View RelatedI recently copied all the files on the sd card that came with my moment and put them on an 8gig card. Also created a music folder and stuffed it full of my favorite tunes. Now when I get a text in Handcent it plays 2pac (the first song in the folder) The whole song~! I also downloaded mixzing to listen to my music. After this happened I uninstalled mixzing but that didnt help. I can change the notification sound in handcent but that dont work. Any idea why handcent is firing up my music player or folder? Im back to using the stock player but it still happens.
View 1 Replies View RelatedI have a samsung tablet, recently music player has started to not play my music library properly. When i start to listen to a song, it plays it for a few sec then skips to the other one, and so on. Also a few other apps have stopped working. I did a virus scan and all seems ok.
View 4 Replies View RelatedI have somehow managed to get something on my phone,so now when anyone phones me they hear 'always look on the bright side of life!'instead of the ringing tone you would normally hear when you are waiting for a phone to be answered.How do I turn this off?
View 2 Replies View RelatedI 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).
We're currently launching a site with live (TV) and non-live streaming of video material.
The RTSP live feeds play fine on Android (.sdp extension) however other videos published on the side in MP4 format - don't. Neither the browser nor the Meridian player recognise the files and play them.
Any ideas where we went wrong?
PS. I'm not the guy in charge of the video encoding etc. but I'm looking for some tips and information for our team.
I was tried for RTSP stream for a long time, finally I could success to play the RTSP stream from mobile Youtube website:
http://m.youtube.com/
My approach is to copy the stream link and paste it in my code, then, there are sometimes success to work(play) on Android and sometimes will not. I can't figure out why? Is something wrong about Youtube server? Because my code is just the same, and only change is the stream link URL. I used VideoView widget and my Android platform is sdk 1.5 and under x86-based, so I really want to know why and how can I solved for this. This is the logcat when I can't work for the video stream.
W/PlayerDriver( 2116): Using generic video MIO
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
I/ServiceManager( 2112): service 'media.audio_flinger' died
W/MediaPlayer( 3344): MediaPlayer server died!
E/MediaPlayer( 3344): error (100, 0)
E/MediaPlayer( 3344): Error (100,0)
I/ServiceManager( 2112): service 'media.camera' died
D/VideoView( 3344): Error: 100,0
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 RelatedI 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 RelatedCan i stream the audio from my mac to my phone?
View 3 Replies View RelatedHow 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 RelatedI 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 RelatedDoes Android MediaPlayer can only work with file sources? I would like play media (video) from a network stream, but the stream comes in a non-standard protocol, so I have to somehow feed Android MediaPlayer with the data only. Is there anyway to do that? I found a few web pages suggesting using a temporary file for the buffered media data etc. but I would like to minimize the I/O usage as much as I can, so I'm looking for a API only solution if there is any? how about JNI? but looks like the permissions going to be an issue with that also.
View 1 Replies View RelatedFor 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?...............
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
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?
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 RelatedLet'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 RelatedI 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 RelatedI'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?
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