Re: [android-porting] Capture audio data from mic into a buffer Using openGL ES

2011-11-03 Thread arif hussain
using openSL ES (Not openGL ES) On 2 November 2011 14:57, arif wrote: > Hi, > > I am new to android and openGL ES, > is openGL ES support audio capture to buffer ? > NDK- 6 sample native-audio uses openGL ES library ( but records audio > to file). > > Any sample code or documents will be helpful

Re: [android-porting] application to call /system/bin/ts_calibrate

2011-09-28 Thread arif hussain
1) un-rooted devices applications do not have permissions to run /system/bin binaries, so you need to root you device and change the access permission for /system/bin. 2) The proper-way is, create shared library of your native code, and call it from application using JNI. (Using NDK, refer ndk sam

Re: [android-porting] Re: ALSA in NDK

2011-08-27 Thread arif hussain
Thanks Glenn, On 27 August 2011 04:32, Glenn Kasten wrote: > Some (but not all) Android devices do have ALSA kernel drivers. But > even for those devices that do have ALSA in the kernel, the > AudioFlinger part of mediaserver generally takes over the audio > output. So in short, you might get t

Re: [android-porting] Re: include binaries in apk

2011-08-21 Thread arif hussain
Thanks, for the replay's, Chris, i was searching to include executable's in apk, so my api will run these binaries, using jni or java code. I have seen that hellojni api in ndk samples will automatically include gdbserver binary in apk, Let me know if you have any examples/links to do this,