Stop Sound With Media Player After Clicking Another Sound Button
Aug 2, 2012
how can i stop sound with media player after clicking another sound button? and how can i set alarm/ringtone/notification when long press adding admob on my app, ive read all posts i could google but still i get errors,\
code:
final MediaPlayer sound01 = MediaPlayer.create(this, R.raw.sound01);
Button s01 = (Button) findViewById(R.id.button01);
s01.setText(this.getString(R.string.quote01));
s01.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
[code]....
View 1 Replies
May 7, 2009
I tried all the possible ways stated in the above post but could not play sounds accordingly so changed the sound code as below, Now the sounds are working fine and no sound is getting skipped but am getting some errors which i cannot figure why they are coming...?
Below are some errors:
1- E/MediaPlayer( 2173): stop called in state 1
2- E/MediaPlayer( 2173): stop called in state 2
the above errors i get frequently and i get the below one's randomly, the game freezes and requires a force close when i encounter the below errors.........
View 6 Replies
View Related
May 10, 2010
so i tried to use the camera for stills and video this weekend. the video looks great, and works fine on my phone, but i have no sound on my computer thru windows media player. I'm sure its just a codec issue, but does anyone know which codec?
photos on the other hand were really bad grainy or blurry depending on which one fast motion was horrible (but i really wasn't expecting much there) way too long a delay between button push and photo capture the kids kept moving during the delay ruining the photos.
Has anyone gotten good results? what settings? i currently have everything to auto/default. sorry i cant load a pic to show u, they are all too big to post here
View 1 Replies
View Related
Oct 3, 2010
My HTC Desire seems to have stopped singing the "tik tik" sound (the sound when you clicked on any program).
In Settings -> Sound Settings -> Feedback
I have them all checked, but for some odd reason, I still didn't get the sound.
View 2 Replies
View Related
Sep 28, 2010
When playing videos from the X10mini using Windows Mediea Player, there's no sound...what's wrong?
View 1 Replies
View Related
Oct 14, 2010
This may not be important at all but I did think this was a bit strange. After I rooted, I noticed a clicking type of sound coming from the camera whenever I booted the phone. Its kind of alarming but not sure if I am the only one.
View 1 Replies
View Related
Dec 15, 2009
I am getting this clicking sound when playing static pcm data. Anybody out there is having the same problem? This is not the data issue.
View 7 Replies
View Related
Apr 25, 2010
Ive just downloaded the Barcode scanner App from the market and when i use the Barcode Scanner my phones starts making clicking sounds, Is his normal with this app?
View 2 Replies
View Related
Feb 9, 2010
Anyone else have a clicking sound coming from there physical keyboard when you press each button?
View 5 Replies
View Related
Jun 10, 2010
Whenever I take a picture in Google Goggles, i hear 2 clicking sounds coming from the phone. The first sounds comes when the capture button is pressed, and the second sound comes as soon as the picture is taken. I don't hear these noises when taking pictures through the regular camera app. It sounds like it's coming from inside the phone.
View 4 Replies
View Related
Jul 2, 2010
I just did a factory reset on my phone to clear up some lag. It has definitely helped, but I'll wait and see after a few days. Anyway, I'm just about finished putting all of my customizations back, but there's 1 thing I had before that I can't find: When I click on an icon on the desktop screen, or in a menu, I used to have a clicking sound. I remember there was a setting for it, but I can't seem to find it.
View 3 Replies
View Related
Dec 1, 2010
My "beloved" Epic was working perfectly last night but this morning as it sits here, it is making a low clicking noise (about every 3-5 seconds). Almost sounds like electrical something. Nothing has happened to the phone (no water, dropped or anything).
Has anyone experienced this with their phone? I only got it less than 2 weeks ago too. The phone is perfect so far (obviously room for improvements with 2.2 but I am actually quite happy as is). I am so hesitant to even have to replace it because my battery life has been amazing! I feel like a got very lucky with this one. I still have tons of juice left by the time I go to bed at night (which is when I recharge it.)
View 4 Replies
View Related
Jul 20, 2010
Are u able to change the clicking noise to another sound when u touch the screen?
View 2 Replies
View Related
Dec 21, 2009
So I just picked up my Eris yesterday. For the most part it is working great right now but a couple things are a little annoying.
First, pinch zoom isn't working in the Google Maps app. Should it? Works great in the browser when surfing the web but not in maps for some reason.
Second, it clicks at me. For example, I'll hit the red power/call end button when I'm done using it to turn off the display. Then I'll set it down on the table or something and it makes these little intermittent click sounds just sitting there. After 5 minutes or so it stops. It isn't constant, just a couple clicks ever 10-30 seconds for a little bit then stops.
View 11 Replies
View Related
Apr 26, 2010
Does any one know of any audio players with good sound or an equalizer for free or reasonable priced.
View 2 Replies
View Related
Nov 11, 2009
Anyone know of any apps or media players that have a sound equalizer? Speakers on my Motorola Cliq aren't great and at full volume the speakers pop because of the bass on some songs. Equalizer would be great so I can turn the bass down as the Cliqs speakers cant handle it.
View 4 Replies
View Related
Mar 4, 2012
i have a button setup to play a sound,but nothing plays until i release the button again. here's my code
Code:
bKick.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
sp.play(dance_kick, 1, 1, 1, 0, 1);
}
});
View 8 Replies
View Related
Jul 1, 2010
Way to stop that obnoxious boot up tune when my evo boots?
View 3 Replies
View Related
Jul 10, 2010
In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.
How would i get the RTSP streams to show video?
CODE:.................
View 2 Replies
View Related
Jun 24, 2009
Since i don't want to have double entries, but would like a fast spreading, here's my post:
http://groups.google.com/group/android-beginners/browse_thread/thread...
View 2 Replies
View Related
Jan 28, 2010
I want to know that can we stop playing sound or music of other application which actually plays the music from our application? Something like get the handle of MusicPlayer or AudioManager in our application and using this handle stop the currently playing sound.
View 9 Replies
View Related
Oct 21, 2010
I hope nobody's already answered this somewhere -- I've been searching for a few days now with no luck. I'm wanting to disable the audio in received mms messages. I absolutely loath those messages that scream, blare music, say offensive stuff, etc. With my old Lotus, you actually had to choose to play the attached audio, but I can't find anything anywhere to set this on my new Evo. If anyone knows how to either make the audio in messages manual instead of automatic, or just disable their audio completely, I'd be eternally grateful to learn this!
View 7 Replies
View Related
Dec 18, 2009
I am using the SoundPool as follows:
Caching my sounds:
CODE:..........
Playing a sound effect i.e when button is clicked:
Resources.playSound(context, Resources.SOUND_PIECESELECT);
However as I said the sound is lagging. What can I do to improve this? All my sounds are OGG file format.
View 9 Replies
View Related
Jul 29, 2010
ON my incredible I used to get a sound when making selections and such but now its barely audible. My volume is all the way up. What happened?
View 5 Replies
View Related
Jun 22, 2010
I hear this faint clicking sound coming from the earpiece whenever I'm on a phone call.
View 6 Replies
View Related
May 11, 2010
I have took the plunge and bought an htc desire,fantastic handset all round but when you use the music player , any ideas on how i can improve this.
View 3 Replies
View Related
Apr 4, 2010
I am at work and i cant figure out how to turn off the ringer sound while keeping the sms sound everytime i turn the ringer off it for a to silent mode.
View 2 Replies
View Related
Apr 28, 2010
Right now my phone makes the same sound whether I get a email or a text message. Can I make one have a different sound than the other? If so please tell me in detail how. I only see one notification sound area.
View 7 Replies
View Related
Aug 4, 2010
I am looking for the default sound files from the Incredible. Specifically, I am looking to the "doot" sound when you press the volume slider. Does anyone have this sound file? It is not located with the alarms, notification, or ringtones. Also, as an added bonus, I am looking for the notification sound from SportsTap as well.
View 1 Replies
View Related
May 20, 2013
I am currently an iPhone 4s user and really like the way that the switch toggles between no sound (vibrate) and sound. I leave me phone in vibrate mode for most of the day and in the evening I tend to switch it to sound so I can hear the alerts from around my house when I don't have the phone with me. I am thinking about switching to an android device (S4 or HTC One) and have a few friends that haven't been able to duplicate the behavior of the iPhone. They get sound with vibration or some other weird combinations that wont work for me. Is this a limitation of the OS or is it device specific? I basically want everything to vibrate (Ringer, SMS, Email) with the option of changing everything to sound, no combinations of the two. I also need to distinguish between types of messages by using different vibration patterns.
View 1 Replies
View Related