General :: Listen On Android Audio Played On PC?
Oct 23, 2010
My desire is to be able to listen, on my Android, anything that is output on my PC soundcard (running Linux).
I've been reading about pulseaudio and I'm able to stream specific things, like mp3 files. But I wanted to let Android get everything that is output to pulseaudio. Like YouTube videos, desktop sound effects, music.
View 9 Replies
Nov 9, 2010
Is it possible to be notified in Android when the Audio system starts playing audio? it looks like i should wire up a BroadcastReceiver, but it's not clear what i would listen for. I could listen for the MediaPlayer intent, but that would only capture when that particular application was playing audio, not when a third party application played audio, etc.
View 2 Replies
View Related
Jul 2, 2009
I'm developing an application which plays some music files. I want to stop any other audio playback when my application starts playing the music. I've looked at the source code of the Music application and figured out how to to pause the Music application using the intent "com.android.music.musicservicecommand"
But there can be many other applications which can play the music too, creating their own MediaPlayer objects. Is there a way to pause or stop all the msic currently being played?
View 2 Replies
View Related
Jul 3, 2010
I would like to know if it's possible to have the audio played through the usb port and into my car stereo. I have a usb port on my after market stereo and it's obviously not natively supported from the stereo, but is there a setting to play audio through usb?Sent from my HTC Incredible
View 2 Replies
View Related
Jan 12, 2010
I upload video and when I go to watch it, it has no sound. I use windows media and vlc none of them play it.
View 2 Replies
View Related
Aug 2, 2010
I like to listen to audiobooks from the library. I use Overdrive, but it only allows me to download MP3's. I would like to be able to listen to WMA audiobooks, is there a player that will allow me to do this?
View 3 Replies
View Related
Dec 4, 2009
I have had a lot of smart phones but never used bluetooth headsets and have a few questions.Can you get a bluetooth earpiece for answering phone calls that lets you answer from the headset once paired?
Do all the earpieces support streaming or playing music/sprint tv audio/Google listen?Are they all mono or do some single earpieces have stereo?Is there an industry standard for noise reduction that I should look for in the feature list? Any other tips if I just want to buy one and be satisfied its the right one?
View 4 Replies
View Related
Nov 6, 2011
I am having the problem where I have set custom ringtones for some of my contacts, but they are not always being played as they are assigned.
I have all of my ringtones in an folder on my sd card (/sdcard/media/audio/ringtones). I have a custom ringtone set as default and other custom ringtones set for a few of my contacts. However, when I receive a call the phone will only occasionally play the correct ringtone. Most times it plays either the default ringtone, or the ringtone assigned to the last person that called (this last option being more common).
View 24 Replies
View Related
Feb 13, 2014
I just started going to the gym and I see alot of people with their mobile devices strapped to their arms listening to music. I have alot of mps files that I want to know if I can transfer to my LG phone. It's an LGMS769 and Android Version is 4.1.2. Theres already an icon in the apps called Music, but I have no music in it, is it possible to set this up and listen to music with all the mp3 files i have.
View 2 Replies
View Related
Jan 9, 2013
I want to be able to listen to the walkie talkies that are at work and I was wondering if there was an app that might be able to let me do so?
View 1 Replies
View Related
Jul 23, 2013
How it's possible ? There is an app called Music Phone but doesn't work on ICS for LG P920...
View 1 Replies
View Related
Apr 11, 2013
I mean free, legal music. Like on Youtube...it is too bad so many videos are blocked from being played on mobile devices.And forget Pandora radio. It is good, but there is no way you can search for specific songs.
View 3 Replies
View Related
Mar 5, 2012
Can listen to music Youtube display to sleep - off...If possible I'd love to hear!
View 1 Replies
View Related
Aug 10, 2012
I have to use adb over ssh. now, everything works fine but after a reboot i have to connect my device again over usb and set adb to listen to tcpip instead of usb.
Is there a way to save those settings? This is how it works for now. After a reboot i have to use these commands again (over usb) in order to establish an adb connection over ssh.
# adb kill-server
# adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 5555
View 3 Replies
View Related
Dec 6, 2012
Yesterday I was trying to showoff the features of our phone to a friend and decided to demo the listen to command, but it didn't launch a song it just did a google search.
I have my langauge set to English (US). I cleared the Google Search application data.
Other voice actions work, likes "send text", "navigate to", "call", pizza, "how old is Barak Obama". For some reason "Listen to" just does a google search. SGH-I317M
View 4 Replies
View Related
Mar 23, 2012
Okay so I'm trying to listen to music from my phone (HTC inspire) to my Xbox 360. Both are running on same internet one is wired(Xbox) and my phone is wireless.. I'm getting two bars Max 1 mostly. And everytime I'm listening to music using both airsync and even imediashare about 3 songs it music just stops. I figured it was my screen turning off so I kept it on and in the middle of my song it stops... then whenever I go to change the song on the 360 my Xbox freezes due to the app -.+ I can't seem to get any of these apps to work and its really frustrating because I just wanna listen to music. (Do not troll and tell me to buy a new router, Xbox, go to ps3 or any of those lame things.)
View 2 Replies
View Related
Aug 21, 2013
So I just got the Samsung Galaxy S4. Whenever I try to use S Voice, it never listens to my commands. If I press the microphone button S-Voice immediately says "I didn't hear that. Please say it again" with literally NO time for me to ever say a single thing. Also, saying "Hi Galaxy" never gets it to pick up on me either.
View 6 Replies
View Related
Nov 14, 2010
I need to run six animations simultaneously (each animation simulates a roll of dice, each dice is a custom text view) and at the end of those animations, I need to get back the number of each roll. As each animation changes the number of each dice five times (to simulate the roll), I want to wait that each animation has ended to calculate the sum of each roll. I tried to regroup in one the six animations (so that with an animation listener, I would have been able to wait the end of the animation) but I didn't manage it.
View 6 Replies
View Related
Sep 8, 2009
I've searched the list and the documentation but have not found anything that tells you how to tell how many times a song has played. Is there something in the OS that provides that information or would it need to be done in the individual application?
View 2 Replies
View Related
May 9, 2010
I have an application that will record and play audio files. Some of the audio files are downloaded using simple standard http downloads using httpclient. It worked like a charm for a long time. Now all of a sudden I cannot play the files I download. It fails with this stack. I store the files on the SD Card and I experience the problem both on a handset and a USB connected device. I have checked that the downloaded file is cool on the server, and I can play it without any issues. These are the code snippets I use ( I know that recordingFile is a valid path for the file).
// inside the activity class
private void playRecording() throws IOException{
File recordingFile = new File(recordingFileName);
FileInputStream recordingInputStream = new FileInputStream(recordingFile);
audioMediaPlayer.playAudio(recordingInputStream);
}
Here is the media player code:
// inside my media player class which handles the recordings
public void playAudio(FileInputStream audioInputStream) throws IOException {
mediaPlayer.reset();
mediaPlayer.setDataSource(audioInputStream.getFD());
mediaPlayer.prepare(); mediaPlayer.start();
}
Here is the exception:
E/MediaPlayerService( 555): offset error
E/MediaPlayer( 786): Unable to to create media player
W/System.err( 786): java.io.IOException: setDataSourceFD failed.: status=0x80000000
W/System.err( 786): at android.media.MediaPlayer.setDataSource(Native Method)
W/System.err( 786): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:632)
W/System.err( 786): at net.xxx.xxx.AudioMediaPlayer.playAudio(AudioMediaPlayer.java:69)
W/System.err( 786): at net.xxx.xxx.Downloads.playRecording(Downloads.java:299)
W/System.err( 786): at net.xxx.xxx.Downloads.access$0(Downloads.java:294)
W/System.err( 786): at net.xxx.xxx.Downloads$1.onClick(Downloads.java:135)
I have tried seeking some answer of the offset error, but not really clear what this issue might be. I download the file with this code:
public FileOutputStream executeHttpGet(FileOutputStream fileOutputStream) throws ClientProtocolException, IOException{
try { // Execute HTTP Post Request
httpResponse = httpClient.execute(httpPost, localContext);
int status = httpResponse.getStatusLine().getStatusCode();
// we assume that the response body contains the error message
if (status != HttpStatus.SC_OK) {
ByteArrayOutputStream ostream = new ByteArrayOutputStream();
httpResponse.getEntity().writeTo(ostream); fileOutputStream = null;
} else { InputStream content = httpResponse.getEntity().getContent();
byte[] buffer = new byte[1024]; int len = 0;
while ( (len = content.read(buffer)) > 0 ) {
fileOutputStream.write(buffer,0, len);
} fileOutputStream.close();
content.close(); // this will also close the connection }
} catch (ClientProtocolException e1) {
// TODO Auto-generated catch block e1.printStackTrace();
fileOutputStream = null; } catch (IOException e2) {
// TODO Auto-generated catch block e2.printStackTrace();
fileOutputStream = null;
} return fileOutputStream;
}
View 2 Replies
View Related
Aug 19, 2010
1.how do we build our own video player in android,it will be helpful if ull can give me some code related to it.
View 1 Replies
View Related
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
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
Nov 14, 2010
Does anybody know, how i can create an intent that opens some videos in youtube app for being played as / in a playlist?
View 1 Replies
View Related
Aug 25, 2010
I recently (last Friday) got my EVO and am loving it, however I've noticed that when I try to play a video through youtube, or click on a video in facebook, I get the error that says the video cannot be played.This even happens with videos that I uploaded to youtube with my EVO.Has anyone else seen this or know if there is a fix?
View 11 Replies
View Related
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
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
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
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
Mar 4, 2010
I have encoded several videos to mp4. All of these videos played fine on on my phone until yesterday. Now none of them will play correctly. The default video player says "The video could not be played" and Act 1 says "Video is falling behind audio. It may be too much data for your phone to process, or may not be supported by Android" What gives? They play correctly on my wife's droid. I haven't downloaded any new apps since they played correctly. I have killed all apps to make sure I have enough memory. What could have changed? I have followed the instructions given on the forums to encode video to a T.
View 2 Replies
View Related