Android : How To Play Native Camera Sound On Phone
Mar 2, 2010
I would like to play native camera shutter sound clip on camera preview capture. I'm referring to the sound clip played when takePicture() is called. How could I that? Can someone walk me through the steps?
View 3 Replies
Mar 16, 2010
Im making an app, and i want it to make a sound when a activity is opened , the sound file is in R.raw.sound_file , if someone could do some example code to make my app play a sound that would be great.
View 1 Replies
View Related
Oct 20, 2009
I am using android's default camera to click images from within my app. I want to stop the click sound that it does on clicking an image. Is there a way to stop that click sound pragmatically?
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 21, 2010
Can I turn off sound so when I turn on the phone the sound doesn't play.
View 1 Replies
View Related
Mar 28, 2012
why cant i play wma sound files on my phone? i'm trying to play .wma audiobooks. i dont get it! how can i enable my phone to play wma files? can i install a codex for this?
View 3 Replies
View Related
May 18, 2010
OK, quick question, maybe m just missing the option, but is there a setting to make the moment play a sound when you slide the keyboard out?
View 1 Replies
View Related
Jul 23, 2010
I want to play sound file on phone line..Is it possible.If yes then how to do that..which class should i need to refer.
View 1 Replies
View Related
Jul 10, 2013
I find the camera sound very annoying on my phone, and even if it's on silent, it plays the camera sound. This is how to remove the camera sound.
1. Using a file explorer, I recommend es file explorer or root explorer, go to /system/media/audio/ui and there you will see 2 camera files.
2. Copy and Paste them into your sd card, then delete them from /system/media/audio/ui
3. This will keep your phone from making the camera noise.
View 4 Replies
View Related
May 1, 2010
I just got the HTC Incredible and one of the things I haven't been able to figure out is how to set incoming phone calls to vibrate, yet play the notification sound. None of the profiles seems to make that combination happen. If I switch it to silent, no sound or vibrations happen for calls or notifications. In the vibrate profile, both calls and notifications only vibrate. In normal mode, I can't get calls to vibrate only. If I slide the call ringer volume all the way down and slide notification volume up, it switches it to silent mode. If I have call ringer volume up one notch from silent, it still plays the ringtone. Is this something I can accomplish or do I have to have silent calls only if I still want notifications played?
View 2 Replies
View Related
Nov 9, 2009
New to these forums as I got my cliq 1 week ago.
I normally keep my phones on vibrate in order to be discreet of any incoming calls or notifications at work. However, when I am talking on the phone and I get a text, the phone vibrates. Is there a way to make the phone just beep or play a sound instead of vibrating. I must admit, it can freak you having the phone buzz in your ear.
View 1 Replies
View Related
Aug 17, 2010
last night I got tired of waiting for the 2.2 update so I installed unrevoked forever, 2.15 radio and the third wave rom from adrenyline. After all that went smoothly I decided to throw the standard clock undervolt hydra kernel in there too. After I did that I got sporadic reboots and the screen became very unresponsive. Also it seems to cause the phone to freeze whenever it has to wake up to play a notification sound or alarm...
Now I have to say that I had the same problem about a month ago when I tried one of the older Hydra Kernels, but I figured it would be fixed with the newer ones. My question is it seems that I am the only one with problems, all the posts I read about these things are positive with little or no issues. Am I installing it incorrectly somehow? Is anyone else having issues too?
View 3 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
Jun 17, 2009
After a few weeks on market with my app (Ghosts AR) I found few interesting issues coming from the users who installed the program. On some of the devices my application fails with exception:
java.lang.RuntimeException: Out of memory at android.hardware.Camera.native_setup(Native Method) at android.hardware.Camera.<init>(Camera.java:82) at android.hardware.Camera.open(Camera.java:64)
Strange that I'm personally never got it on my G1 (1.5 firmware).
View 8 Replies
View Related
Aug 9, 2010
I am having a problem capturing an image and storing it from the native camera app. Here is a sample of some of my code.
CODE:.............
After the picture has been taken and I'm returned back to my original Activity, When I navigate to my sd card via Android DDMS File Explorer the picture is not there. Anyone know why this is not being saved?
View 2 Replies
View Related
Nov 3, 2009
In my application i want to pass the camera data to native layer. what is the best possible approach for doing the same.
I know it can be done 2 ways.
1.start the camera in application and pass the preview data to native layer. But i feel this may consume lot of resources.
2.Start the camera directly in native layer and use it. So JNI will come less into picture. and not much resource loading also.But dont want to take any risk by using the lower layer code which may change in future.
Is there any other approach ? start the camera and tap the data in native layer. I think this wont be proper approach, Can any one suggest ?
View 3 Replies
View Related
Sep 29, 2011
I need to take pictures with my application, but the only thing I am finding are examples of how to create a camera activity. Is there a way I can call up the phones native camera instead and get the byte[] data back instead of creating a camera activity myself?
I am asking because I would like to take advantage of the normal features like zoom, flash, themes, etc that the user would get if they push the camera button on their phone.
View 1 Replies
View Related
Oct 10, 2009
I am a android developer, I stuck into a problem, how to read really big images with Android API, I am wondering how native Gallery (Camera application) is reading bigger images so fast. can any Android Engineer here direct me to the piece of code that android engineer used to draw bigger images.
View 3 Replies
View Related
Nov 7, 2012
I have created an app in which using native camera to capture the image and use it in an activity.The camera is working fine in all the devices of android but crashes in DROID RAZR.
View 1 Replies
View Related
Sep 29, 2010
I did a search on the forums and was unable to find an answer. How do I disable the camera "shutter" sound on my Droid 2?
View 2 Replies
View Related
Jul 22, 2010
Can we play sound file in phone line (in background)?
View 4 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
Aug 28, 2010
I'm trying to use a ListPreference to decide which sound to play on a button click.
I have this at the top:
public String greensound;
Here's my OnClick code:................
I also tried removing the default value here it didnt seem to change anything but, should it be removed?
Here's my Settings.java:
package com.my.app;
CODE:...........
And here's my array's if that will help at all:
CODE:............
Here's a logcat that kinda looked possibly related:
CODE:..........
For those that might ask here's my DDMS > File Explorer > Data > Data > packageName > SharedPreferences This is what was in there:
com.my.app_preferences.xml:
CODE:...................
This all really confuses me more because...It looks like greensound does == gsone so.... I don't understand whats wrong its not even playing the default sound. and yes i've tested all this code without the listpreference code and they work great. I'm not sure what's wrong?
View 1 Replies
View Related
Aug 27, 2010
I have an Android app which needs to play a sound resource on a timed interval, say every 120 seconds. I know how to access the sound resources and play them, however it's time timer part I'm not sure of. What's the best approach?
View 1 Replies
View Related
Aug 28, 2009
I am playing one audio file when call arrives so the caller can receive it at other side but the issue is yet the opposite caller is not able to listen it what could be wrong in it. Can some one tell me what can be the issue in it ?
View 2 Replies
View Related
Jul 14, 2010
I'm wondering, if I pay for Camera 360, will I be able to turn off the shutter sound? I can in the demo, but it still beeps.
If it snaps silently, I might pay for it.
View 9 Replies
View Related
Oct 11, 2009
I've just released my 2nd application: Sound Camera. It lets you take a photo using a noise rather than pressing the button.
The idea is, if you want to take a self-portrait, or be in a group photo, you can set the camera up, and when you're in position you just clap. (Or make some other noise)
It also has a countdown timer, in case you don't want to make a noise. And you can also take a photo by just touching the screen.
It seems to work pretty well on my G1, and a friend has tried it on a Hero. I hope it'll be of use to people. If anyone has any comments or feedback, and can report successes or failures on other Android phones, I'd be most grateful.
There are screenshots on my website: Sound-Camera
And you can see the marketplace entry, via cyrket.com
Cyrket - Sound Camera
p.s. I realize I might not get much feedback as it's a paid app. But I hope to get a free trial version released soon.
View 1 Replies
View Related
Aug 26, 2010
In my class I have an OnTouchEvent and when a certain area is clicked, it will play a sound (Not sure if this is the best way to go about this?). However I have been running into bugs using the MediaPlayer. Sound will double play and then eventually sound will stop completely. I am wondering how to efficiently play 5 sounds. The user will be clicking the screen in different areas and different sounds will be playing. I have the attached code below but it only has the first area. Say I add in another area how would I go about changing the media player to play a different sound.
@Override public boolean onTouchEvent(MotionEvent e) {
x = e.getX(); y = e.getY();
if (x >= 232 && x<=287 && y>=117 && y<=157) {
//PLAY SOUND } return true;
View 2 Replies
View Related
Oct 10, 2010
Could it be possible now, which we can develop an Android application having the following requirement for its working steps Automatic receive the call, then Play some sound out to the caller, wait for DTMF response, then Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)Callee can play back the recoreded sound later.
View 1 Replies
View Related
Apr 23, 2009
I have this task: Need to play short (0.3-0.4 sec) sounds all the time. When sound is played, it should start again, etc. User can press button to reset sound - it should stop and lunch.
I did many tests. I tried to create 1 MediaPlayer, then do this: MediaPlayer.OnCompletionListener complListener = new MediaPlayer.OnCompletionListener; code...
It works great on emulator and on device if I have eclipse+debugger on. When I disconnect debugger, I have very strange errors - sound can stop at all (till program restart), sound can start "repeating" (play 0.1-0.2 sec, then restart). Can someone please provide me some info about problem?
View 5 Replies
View Related