[android-porting] Re: sensor HAL in eclair

2010-03-04 Thread WoW
From my experience, i only report raw data. SensorManager will use the data you report to calculate the angle and do the rotation. You need to implement HAL in \Hardware. So, JNI can get values from your driver and report to AP. On 3月1日, 下午12時59分, mkche...@gmail.com mkche...@gmail.com wrote: Hi,

Re: [android-porting] Re: sensor HAL in eclair

2010-03-04 Thread chetan kumar
Thank you.. One more thing is same is applicable to compass/light sensor/proximity sensor or any conversion is required ? On Thu, Mar 4, 2010 at 2:09 PM, WoW jykl1...@gmail.com wrote: From my experience, i only report raw data. SensorManager will use the data you report to calculate the angle

[android-porting] Using Settings.System inside MediaPlayer

2010-03-04 Thread NoraBora
I've added some attributes about audio sound in Settings.System. I thought I could edit MediaPlayer.java so MediaPlayer can see the attributes. but I realized that's not possible...because MediaPlayer doesn't know about context resolver. Is there any workaround about this? -- unsubscribe:

Re: [android-porting] Eclair's opencore does not compile

2010-03-04 Thread Deva R
The following files are there but their path does not show up as a - I option: == build_config/opencore_dynamic/build/installed_include/ pvmf_omx_basedec_node.h:85:22: error: OMX_Core.h: No such file or directory Make

[android-porting] Re: sensor HAL in eclair

2010-03-04 Thread WoW
Should be the same but i did not check if Android will take care the input value for light sensor and proximity. The sample HAL implementation can be found here. http://android.git.kernel.org/ On 3月4日, 下午4時47分, chetan kumar mkche...@gmail.com wrote: Thank you.. One more thing is same is

[android-porting] Re: sensor HAL in eclair

2010-03-04 Thread abukustfan
Hi, Is this will depend on what raw data the sensor report? My sensor report data in mg unit, I thought I need to convert it to m/ s^2 unit in HAL layer. Isn't it? On Mar 4, 5:39 pm, WoW jykl1...@gmail.com wrote: From my experience, i only report raw data. SensorManager will use the data you

[android-porting] Re: can't compile opencore

2010-03-04 Thread genxsol
can i register the CPM plugin without compiling the whole opencore and android sdk? On Mar 3, 6:40 pm, genxsol genx...@gmail.com wrote: error:cast from osclAny* to int32 loses  percision was because of my 64 bit OS. i tried to compile on ubuntu 32 bit and it compiled these libraries in

Re: [android-porting] Re: sensor HAL in eclair

2010-03-04 Thread chetan kumar
Hmm if i see the sensors.h file present in hardware/include in that they have mentioned that value convertion is required for Accelertaion/Orientation/Magnetic Field/Proximity/Light 2010/3/4 WoW jykl1...@gmail.com Should be the same but i did not check if Android will take care the input value

[android-porting] Re: video play on android-2.1_r1

2010-03-04 Thread RaviY
Andy's description of the problem is right. I saw this myself yesterday. You can try to increase the number below to 5. File: codecs_v2/omx/omx_m4v/include/omx_mpeg4_component.h #define NUMBER_OUTPUT_BUFFER_MP4 2 Change this to 5 -Ravi On Mar 3, 8:36 pm, Andy Quan androidr...@gmail.com wrote:

[android-porting] cant compile opencore - test_pv_player_engine.cpp:2345: error:

2010-03-04 Thread genxsol
downloaded code from android.git.kernel.org and trying to compile on ubuntu 32bit. it compiled some libraries but stopped at the error below: cc1plus: warnings being treated as errors /home/genxsol/opencore/engines/player/test/src/ test_pv_player_engine.cpp: In function ‘int _local_main(FILE*,

[android-porting] porting android to OMAP 3530 with Torpedo SOM

2010-03-04 Thread winsmart7 winsmart
Hi, I am newbee to Android porting, can anyone please help me. I have to develop BSP for OMAP 3530 referance board with Torpedo SOM. What i have 1) Torpedo pathes required for Android 2.6.29.rc3 2) Beagle board BSP I have few basic questions 1) Can i use the existing Rowboat or beagleboard

[android-porting] Re: Eclair's opencore does not compile

2010-03-04 Thread genxsol
i am getting this error when i compile opencore cc1plus: warnings being treated as errors /home/zeeshan/opencore/engines/player/test/src/ test_pv_player_engine.cpp: In function ‘int _local_main(FILE*, cmd_line*, bool)’: /home/zeeshan/opencore/engines/player/test/src/

[android-porting] Re: Error 41 when doing make without any changes.

2010-03-04 Thread anssi
On Feb 4, 2:10 pm, [^MiSaTo^] misato...@gmail.com wrote: Hi, I'm trying tocompileAndroid but when i do make it says Error 41. I've been searching in this group but i can'tfindthe same that happens to me. I'm using Debian squeeze with JDK 1.5.0_21. I've set $JAVA_HOME as well as

[android-porting] Re: cant compile opencore - test_pv_player_engine.cpp:2345: error:

2010-03-04 Thread RaviY
I responded in the other thread. -Ravi On Mar 4, 11:30 am, genxsol genx...@gmail.com wrote: downloaded code from android.git.kernel.org and trying to compile on ubuntu 32bit. it compiled some libraries but stopped at the error below: cc1plus: warnings being treated as errors