Android :: Play 2 Sounds At Once With Different Applications?
Jun 3, 2010
Is it possible to play audio via an app like slacker.com or pandora.com or your personal audio files and simultaneously play another audio track over the top of it with a second app? My question is whether the sound hardware gets locked by the first app that accesses the audio hardware or whether a second app can access the hardware simultaneously, too.
View 2 Replies
Oct 21, 2010
I am trying to play the same 10 sounds very quickly and wondering what is the best way?
1. Make 10 media players
2. Make 1 media player and set the sound each time
3. Use a soundpool?
View 3 Replies
View Related
Nov 24, 2009
I am using soundpool to use sounds in my app. One of the sounds i need to play continuously in background. any example how to do this ?
soundPool.play(soundPoolMap.get(sound), streamVolume, streamVolume, 1, 0, 1f).
View 3 Replies
View Related
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
Mar 31, 2009
I have an Activity that plays a brief OGG "pop" sound effect when bubbles pop. To keep it fast and to ensure I can play several pops, I create four MediaPlayer instances. I synchronize access to a pool of instances, so I can play up to four pops at once. Once a sound completes, I call seekTo(0) and return the MediaPlayer instance to my pool.
Here is a rough sketch of the code:
// when the activity resumes... for (int i=0; i<4; i++) {
MediaPlayer mp = MediaPlayer.create(context, R.raw.pop);
mp.setOnCompletionListener(this);
mp.setVolume(1f, 1f); players.add(mp); // put into a pool of available players }
View 4 Replies
View Related
Oct 9, 2010
I wrote an iPhone app some time ago that creates sound programatically. It uses an AudioQueue to generate sound. With the AudioQueue, I can register for a callback whenever the system needs sound, and respond by filling a buffer with raw audio data. The buffers are small, so the sound can respond to user inputs with reasonably low latency.
I'd like to do a similar app on Android, but I'm not sure how. The MediaPlayer and SoundPool classes seems to be for playing canned media from files, which is not what I need. The JetPlayer appears to be some sort of MIDI playback engine. Is there an equivalent to AudioQueue in the Android Java API? Do I have to use native code to accomplish what I want?
View 1 Replies
View Related
Feb 15, 2010
I am fiddling around with a dialog that pops up and displays an alarm information. (I know, it has been documented that in Android it's "better" style to use notifications instead, but just like the alarm clock I want it to display a dialog on top of whatever you do to really get the users immediate attention - as the user expects this behavior I don't think it's bad style!) Now - the only easy way I found is using the RingtoneManager.getRingtone() function to get a Ringtone object for the type "alarm". Well, I can play that sound now using Ringtone.play() - but it plays the sound only once and I cannot figure out how to let it play endlessly until the user reacts, e.g. by touching the dialog anywhere or dismissing it using Cancel button provided. Does anyone know how this can be accomplished easily?
View 1 Replies
View Related
Apr 14, 2012
My first coding project is a soundboard type thing on andriod using eclipse (on 2.3.3)whats wrong with my code, I dont get any errors but the button doesnt play the sounds.
Code:
package com.mkyong.android;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;[code]......
View 1 Replies
View Related
Jun 3, 2013
I have a rogue app that is playing a notification sound every time I place my HTC One X into the car dock. It's only just started happening and I've removed any news apps that I've recently installed but it still happens. It's there an app written or is able to that can show which apps trigger sounds so u can hunt down the cause?
View 2 Replies
View Related
Feb 1, 2010
When I get a gtalk or text I hear the notification sound and it vibrates just fine. When I open gtalk and answer the text, then I put the phone down for a second and I don't hear any more notifications. This drives me nuts because then I pick it up and I see the person replied a long time ago.
On my old blackberry curve. Every time I get a message it would make a sound. With the droid, if you are in gtalk. It wont make a sound so other then checking the phone or looking at the notification light. I don't know a message came in.
View 4 Replies
View Related
Nov 28, 2009
My phone just decided to randomly play a mp3 at 3 am. I'm sound asleep, it woke me up, and I couldn't figure out how to stop it, or why it did it in the first place.
View 2 Replies
View Related
Apr 6, 2010
The Eternal Speaker plays forever. I never noticed it before today, but my Eris is definitely not disabling music playback through the eternal speaker when I plug headphones (or an adapter, or anything) into the headphone jack. Sound still comes through the earbuds or headphones nice and crisp, just the speaker is ALSO playing the same sound, at the same volume.
This sort of defeats the purpose of one of the main reasons I use headphones- to mute sound for everyone but me. I tried different music players, different headphones, made sure the phone knew they were non-mic headphones, everything. I can't find a setting to tell the speaker to disable when headphones are in- isn't it supposed to be automatic?
View 9 Replies
View Related
Jan 5, 2010
I currently have a Napster To-Go subscription that I use with my Creative Zen, and on my PC at work. But now that I have the Droid, I would much rather stream music to the phone. I currently use Pandora (One) and I like it but I would really like to listen to full albums and make my own playlists; basically listen to whatever I want. I heard that Napster had an App but decided to not to release it, and I will be canceling my subscription as soon as an alternative is found that I can use on the Droid (I never really liked the Napster app anyway). Are there any Subscription Play-anything/Anytime apps?
The following I have looked at:
Napster - No App Release Planned
Rhapsody - Supposed to launch in 2009, Delayed?
Spotify - Supposed to launch in 2010 in US.
Have I missed any alternatives?
View 1 Replies
View Related
Apr 26, 2014
how many applications can I to upload in google play?
This is important to me because I've read that one can get only few dollars per year with ads. So if a develop just one, two or three apps my incomes will be poor, but... what about 10 apps? or 20 apps? or more... can I? what is the limit?
of course I'm not taking about junk apps.
View 3 Replies
View Related
Apr 28, 2012
I have a Droid Bionic. I like it. But I was recently having some GMail syncing issues and during the troubleshooting for that I uninstalled the latest GMail update and reinstalled it. As a result, GMail is now doing audible notificatrion sounds for new email when before I only had notification in t he notification bar. I can't seem to get it turned off. I still want calendar events and texts to sound so I don't want to silence the phone but I want email and GMail to be silent (Notification icon only).
View 5 Replies
View Related
Jan 14, 2010
Q: How does Web Applications differ from SmartPhone Applications (Iphone, Windows Mobile, Android/Nexus Application) and in what specific aspects do they differ and in what degree ?
Also for example,
Q: Why we need mobile version of Web Application like gmail.com or bankofamerica.com specifically for smartphone devices where we can access same web applications on smartphone using internet connections ? In what aspect do they differ and why do we have those differences ?
View 4 Replies
View Related
Nov 17, 2010
I just received an MP4 video that plays really well on my Hero. But it is not visible in the photo gallery of my phone. It's grayed out. When I go into my SD card with a file manager and click on it the movie will play perfectly but it won't play though the photo gallery manager.My real issue is that I have to go into a file manager to find the file and play it instead of using a widget to call up a program that will play it. There is obviously something in the phone that can handle the MP4 format and I just need to know what program to use.
View 4 Replies
View Related
Nov 7, 2013
Recently I've been having an issue with Google Play Music where when I play a song, it plays for a second then pauses, so I have to press play to get it going again. This occurs repetitively which means I can't listen to music.
It happens on songs that are being streamed and on songs that are on the device.
Funnily enough, if the song is played through ES file explorer and the little play music popup window comes up, it plays fine.
I've got this issue on both my devices, a tf101 running 4.3 and a nexus 5 with stock 4.4 rooted.
Edit: just remembered, I've also got this issue with MX Player and videos. I can't figure out what's wrong.
Streamed videos played through the gallery video player work fine.
View 3 Replies
View Related
Sep 20, 2013
How I can stop update the google play version automatically ??
Because if I donwgrade them to 4.0 he automatically update to 4.3 !!
View 2 Replies
View Related
Feb 5, 2010
I was just wondering if the Droid can handle voice commands such as "Play Music", "Party Shuffle", "Play (Artist)", "Play (Song)", "Play (Album)", "Open Email", "Play (Video)", etc, etc; or if there are plans for this in the future firmware? I personally could make use of this, especially "Play (Artist)". I tried to make it play a song and it called my grandma ):
Also, can anyone tell me the difference between voice search and voice dialer? It seems like when I use voice dialer, I say "Call Home" and a list of options pops up of who to call (one choice being Home) (When I wish it would have just automatically called Home), but if I use voice search it automatically does call Home.
View 3 Replies
View Related
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
Jan 27, 2010
Like the title says, how can I get the Iris to play gifs.
View 7 Replies
View Related
Aug 1, 2009
Is there an app that would allow me to program different sounds for each different notification? For example I want a new email to have one sound, while a new sms to have another, and for the locale updater to be on silent/vibrate.
View 2 Replies
View Related
Jul 13, 2010
What i like about nokia is the pc suite(the older version) it syncs automatically with bluetooth. (files, pictures etc) and can read sms messages.
What ive read so far, theres no alternative on android?
Bluetooth handsfree- The current n82 connects fine to the car stereo,- and can accpets calls etc.
This seems to be a problem on android,-dependent on phone and android version. Is this correct?
Regarding programs, i have a call manager with whitelack lists, answering machine and scheduler. And a program that can record conersations.
Are there any android programs that can do the same thing?
View 2 Replies
View Related
Jun 13, 2010
Is it me or does this page take forever to load up? Anyone know how to speed up the process?
View 13 Replies
View Related
Aug 7, 2011
Im using Eclipse created new android project.First thing i added to the menifest xml file two lines:
Code:
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>
And this is the complete menifest file code:
Code:
xmlversion="1.0"encoding="utf-8"?>
manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.AllFormatsVideoPlay"
android:versionCode="1"
android:versionName="1.0">
[code]....
Now i tried to play a video file .3gp from the internet youtube link via my android device ! not emulator. And it worked! But when i tried to play a video file .3gp or .mp4( i converted the mp4 from 3gp ) its not working. Im getting error "Cannot play video Sorry, this video cannot be played"
Tried to play with the link to my device wich is: I:DCIM100MEDIAVIDEO0030.3gp or .mp4 or tried this: I:/DCIM/100MEDIA/VIDEO0030.3gp with "" like: "I:/DCIM/100MEDIA/VIDEO0030.3gp ";
I tried to remove the I: but it didn't change anything.This is the main code im using to play the video files on my device. And there some lines i marked with // wich i used to play from the internet and im not using now.
Code:
com.AllFormatsVideoPlay;
import
android.app.Activity;
import
android.graphics.PixelFormat;
import
[code]....
View 7 Replies
View Related
May 16, 2010
I'm looking for an app(?) that will chirp at me every couple minutes if I have pending notifications (email, sms, voicemail, etc.) If I could have it optionally chirp different sounds for different pending notifications or what not that would be great. Love the droid but (especially when charging) I'm missing a lot of alerts and the indicator light is overridden by the charging status.
View 2 Replies
View Related
Oct 6, 2010
This morning, I was trying to clear memory on my phone so the battery would last longer. I went to Settings>Applications>Manage Applications, and I started going through the list and pushing the "Clear Cache" button. I pushed in on "Settings" and then the screen cleared and went back to my home screen, where the background was some random picture I've never seen before. It didn't recognize my memory card for me to change the picture, so I had to take it out and put it back in. Now, all of my notification sounds are this random song, and when I go to change the notification sound (for gmail or text messages), there are only the ones I have created in the options list; all of the original sounds that were on the phone before are completely gone!
View 1 Replies
View Related
Jan 28, 2010
I currently have my work Exchange account synced to deliver messages as they arrive, and there are 2 specific address that I would like to have a different notification sound for.
Reason being, if I get a helpdesk ticket or a notification from our network monitoring software, I would like a different tone to play so I'll know it's not just a random email. That different sound tells me "YO! Get off your butt and get that NOW..it's a ticket!"
Is there any way to do this with the stock email app, or another email app that will allow this?
View 2 Replies
View Related
Oct 4, 2010
I'm new to the forum and have a question that's been driving me crazy! I'm looking for an app like ZenMinder (for blackberry) or Notifyme2 (for iphone) where you can set a custom sound for each individual reminder.For example, if I had reminders to
"take my pills"
"pay light bill"
"pick up milk"
I could make it so that each individual reminder played a different sound. That way I wouldn't have to look at the phone to see what the reminder is but would be cued by the specific sound. I used to use Zenminder on my Blackberry and I loved it because you could custom sounds for each reminder.Is there an app like this for android users?
View 1 Replies
View Related