[android-porting] Re: Exporting Android Internal APIs

2011-11-03 Thread neeloor2004
Thanks a lot pr the reply Could give me little more detalis of Exporting Android Internal APIs ? Do you have any examples ? (link) Regards Neel On Oct 26, 4:07 am, Goodwin purerain2...@163.com wrote: you can export Internal APIs,but the apps can only call them in your custom SDK. BTW, you

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 arifo...@gmail.com 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

[android-porting] Porting FLV in stagefright

2011-11-03 Thread Mark Liu
Hi Guys: I am working on porting flv in stagefright. audio is aac, video is h264 codec. Now the streaming is okay, aac decode is okay. But h264 es is not playback. OMXCodec cause error. I put avcc data to omx from flv, extradata. and add start-code for each es. Can you tell me what is wrong for

[android-porting] Re: Porting 3G using USB Interface

2011-11-03 Thread suman ranjan
With little change in dialtest.chat script I see that we are able to connect to internet and do the browsing. dialtest.chat --- TIMEOUT 10 '' AT OK ATE1 OK AT+CGDCONT=1,IP,airtelgprs.com OK ATD*99***1# CONNECT ''

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

2011-11-03 Thread Tommy Lu
Hi CVS; Thanks for you help.I had knew what the problem,the problem is i use the Sensor HAL file if for the Android2.2,so after compiled the HAL lib file ,the system can't call the HAL lib.So i have to rewrite my Sensor HAL file if i want use the sensor in the Android2.3. Thanks again.

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

2011-11-03 Thread suman ranjan
Try renaming the name of your sensor HAL to sensors.default.so and do a quick test. However, the best thing to check first is inside hw_get_module() function in ./android/hardware/libhardware/hardware.c and see what is being expected here. ~Suman -- unsubscribe:

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

2011-11-03 Thread sarika baby
Hello @all, I am trying to implement a magnetic compass using magnetometer and accelerometer device drivers. But here i need to use a sin, cos, atan in order to get the orientation values. Can anyone tell me how can i get them implemented. Because i guess there is no math.h available at

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

2011-11-03 Thread suman ranjan
OpenGL ES is mainly for 2D and 3D graphics application and not for audio related processing. ~Suman On Nov 2, 2:27 pm, arif arifo...@gmail.com 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

[android-porting]make sdk error:sdk/build/tools.atree:35: bad format: bin/sqlite3 strip tools/sqlite3

2011-11-03 Thread huntsman041025
Hi, OS:ubantu11.10 android source version : 2.3 I try to make android sdk version in this env. And I have make a emulator version successfully. But the following erros occurs when make sdk: Package SDK: out/host/linux-x86/sdk/android-sdk_eng.sinriver_linux-x86.zip sdk/build/tools.atree:35: bad

[android-porting] Set os screen orientation from code

2011-11-03 Thread Ronnyek
I'm patching up the os for misc diff functionality... one bit I couldnt tell for sure if I needed to. We lack accelerometer support, but would like to have options as far as physical screen orientation. Ultimately we'd like the ability to select orientation via system preferences... but set it

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

2011-11-03 Thread Ronnyek
From what I have seen ( I could be wrong about thiss..) it would seem that the typical os update functionality is something that is provided by a boot loader. (drop an os upgrade on root of sd card, reboot into special mode, and perform the upgrade). Are companies building their own bootloaders,

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

2011-11-03 Thread preetam m.n
There is a special boot mode known as recovery boot. which is implemented by default in android. mydroid/bootable/recovery is the folder where you will see the recovery related gui and you have some documentation in the code. as of now most of them support entering into this mode using android UI.