hey can anybody please tel me that can i access a mic and earphone of my android cell,as we can access camera hardware of cellphone so is there any way to access them as i want to make a walky-talky app.And im a very beginner so please help me out thanks evry1.
You can use AudioRecord to record the audio.
Check some Android audio chat (SIP) projects to how they have done it:
http://code.google.com/p/csipsimple/
http://code.google.com/p/sipdroid/
Well that would be android.media.AudioRecord for the mic and android.media.AudioTrack for the sound. But what you want to do won't be something for beginner. You should at least be able to find this in the android api.
I suggest you to start with a less complex program. On the android developer site, you will find a good start for this.
http://developer.android.com/guide/index.html
Related
I'm new to programming and I want to create an app. I have to use the phone's microphone in real time to implement it.
Since I have only used enviroments that i have been told in class I don't know what to use now. I have tried using corona but i heard that it doesn't implement audio (i'm not 100% sure about this).Is this true? (I am programming in Windows 8)
If i can't,what enviroment do you recommend that i should use? I only need the intensity of the voice i don't need full voice recognition.
Thanks in advance :)
Corona audio API only support audio playing, and does not give access to the microphone.
To support the microphone in your app, you can create a native plugin and integrate it using Corona Native
I have a plan to develop an instrument app, when we shake the android phone, it will produce "angklung" (Google it) sound.
THE PROBLEM:
How to make one android phone can share its produced sound (by shake
gesture) to the other android phones having my application?
The connection that I want to use is mobile data connection and wi-fi.
I think this person has the same problem, but I don't know how to communicate with him. Stream android to android
But there is no help..
I need solution/example/suggestion for this problem. So far I succeed to produce the "angklung" sound when it is shaken.
I have no idea how to start this application. I've searched in the internet but there is no help :(
Thanks for your help.
I would give you the suggestion of streaming the audio data to a server and beaming that to other android devices (that are registered to your app). As the question/issue you have asked are way bigger than couple of lines code, hence am pointing you to some good resources, dig those deep & good luck.
Live-stream video from one android phone to another over WiFi
Stream Live Android Audio to Server
After a bit of googling I came to know that recording a call in android is not possible maybe because of some legal reasons, But I want to know whether its's possible to stream the call voice from android, I dont't want to record it, just want to tether it for some functionality requirement..
Thanks in advance...
i'm trying to develop an application to record calls bothside(mic and speaker). I've seen there is one app vrecorder providing this vrecorder for android 1.6.
Now i want to do this for android 2.2 and above. Can i know is this possible with MediaRecorder.AudioSource.
I've read some forums they are saying that there are some issues on doing this.
In Stackoverflow itself several questions are about record voice calls saying that not posible. But these posts are older. Is it possible to record phone calls via an Android App? .
But http://code.google.com/p/android/issues/detail?id=2117 in this discussion they are saying that some issues are there but we can implement.
Atlast, please I need some descriptive answers, that can we record voice calls in android both way (from mic and speaker).
Thanks in advance.
Call recording is not yet possible on Android. The feature request you are referencing is still not resolved.
People that have been able to do call recording use rooted phones with custom kernel.
On stock Android phones, you can only record your voice from microphone, but you can not record the sound of the other party. If you only want to record your voice use android.media.MediaRecorder.AudioSource.MIC
I like to make an application for recording voice call.Is it possible? I expecting some proper guiding from well experienced people in android.
i have seen android.media.MediaRecorder class in android. Is that class i need to use for this?
Thanks and Regards
Parvathi Kamalone.
Developers do not have access to the in-call audio stream, sorry. The only way this sort of works is if the device is in speakerphone mode.