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

2011-11-04 Thread Glenn Kasten
The android-native sample app currently writes the recorded audio to a single fixed-size buffer in memory. It does not write to a file. This happens in Java_com_example_nativeaudio_NativeAudio_startRecording. For recording an ongoing stream, modify bqRecorderCallback to do another Enqueue of an

[android-porting] Re: Set os screen orientation from code

2011-11-04 Thread Belvedere Computer Services
noting that I am new on this and working other peoples questions as I know that to be effective to learn myself first consider the work here: http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html then we will go at it again On Nov 3, 10:48 am, Ronnyek

[android-porting] Re: How are people handling porting of OS update functionality.

2011-11-04 Thread Belvedere Computer Services
actually the question you is going to get answers from people who have not actually been in the shop ~ not only that it is also an ideal item to post as a central issue that any effort of this nature needs to keep a good eye on as I was looking at a few issues last night and I can tell you for a

[android-porting] Re: Set default screen orientation to Portrait while physical screen is landscape

2011-11-04 Thread Belvedere Computer Services
try this to start http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html ( others may have more info ) On Oct 31, 5:48 am, JJ jjliu...@gmail.com wrote: We have an old hardware which has a landscape display (800x480). We won't like to use same hardware but change

[android-porting] Re: Android2.3 Sensor APP can't call the sensor HAL lib file!

2011-11-04 Thread Tommy Lu
Hi all, I changed the Sensor HAL file and compiled it , and it works!! Thanks VCS and other guys! On 11月4日, 下午1时57分, Chinmay V S cvs...@gmail.com wrote: Definitely! The sensor-lib interfaces have changed starting from Gingerbread(2.3). You might want to hav a look at these files for a

[android-porting] Android2.1 ethernet patch question

2011-11-04 Thread tommy.hong
Hi,folks,I have added android ethernet patch to my android2.1 package,but it seems work fine basicaly,but some time i turn on ethernet through ethernet configuration,it respond slowly,always say Activity Ethernet configuration is not responding,anyone met similar issue? B.R Tommy -- Chinese

[android-porting] about Code aurora tslib support question

2011-11-04 Thread tommy.hong
Dear folks: Hi,i have looked Code Aurora tree: tscalibration app: https://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/TSCalibration.git;a=commit;h=cb0d6cdc908f56f3cfe6c6fab668cb6fb1035c96 tslib:

Re: [android-porting] Re: Android2.3 Sensor APP can't call the sensor HAL lib file!

2011-11-04 Thread sarika baby
Hello, I am trying to a orientation sensor, so for that i created a new file OrientSensor.cpp and OrientSensor.h in mydroid/device/ti/pandaboard/libsensors/ folder ,but while booting i am getting following errors : D/SensorService( 1412): nuSensorService starting... E/SensorService(

[android-porting] Re: chmod 777 file not working with init.rc

2011-11-04 Thread Pratik Prajapati
Ok. Thanks. In fact I modified the driver which was exporting this sysfs entry. Not driver creates the the entry with 777 perm only. -- Regards, Pratik Prajapati On Wed, Nov 2, 2011 at 12:38 PM, Sylvain Huard sylvain.hu...@admetric.cawrote: I had a very similar problem with a chmod 0777

[android-porting] how to autoload tun.ko

2011-11-04 Thread ion apollo
Hi I want to autoload tun.ko on Nexus S after rebooting the phone. I tried to edit init.rc by appending the insmod /system/lib/modules/tun.ko at the end of init.rc. But after reboot the init.rc got reverted. Please suggest me how to autoload tun.ko. Thanks ION-APOLLO -- unsubscribe:

Re: [android-porting] how to autoload tun.ko

2011-11-04 Thread preetam m.n
Correct me if I am wrong, after every reboot the init.rc file is created out of your system.img file. So even if you modify your init.rc file, when ever you reboot your phone, It will rewrite everything. - Preetam On Sat, Nov 5, 2011 at 4:09 AM, ion apollo ion.apol...@gmail.com wrote: Hi I