[android-porting] public void onSensorChanged(SensorEvent event) --how to call !!!

2011-10-11 Thread ast510...@msn.cn
hi, i want to know how and where call the function --public void onSensorChanged(SensorEvent event)-- in file WindowOrientationListener.java in android2.3, is the function -- ListenerDelegate(SensorEventListener listener, Sensor sensor, Handler handler)-- in SensorManager.java ? --

[android-porting] Re: how to load *.so in android?

2011-10-11 Thread ast510...@msn.cn
dalin...@gmail.com wrote: Hi. Did you build a mma7660 module as kernel module. If so, do your init.rc file or init.device.rc file include mma7660's kernel module? Regards, Leonardo YongUk KIM On Wed, Sep 28, 2011 at 11:03 AM, ast510...@msn.cn ast510...@msn.cn wrote: hi,   i want

[android-porting] how to load *.so in android?

2011-09-28 Thread ast510...@msn.cn
hi, i want to know ,how to load the *.so (library) in android ? and now i am porting G-sensor (mma7660),there is some wrong in the HAL, that is E/SensorService( 2202): couldn't open device for module sensors (Invalid argument).i doubt that it load the wrong *.so(library). can you tell me

[android-porting] android2.3.1 the home key cann't work

2011-09-01 Thread ast510...@msn.cn
in android2.3.1,i use the order: bash-3.2# cat system/usr/keylayout/mxckpd.kl key 28MENU WAKE key 158 HOME WAKE key 139 BACK in kernel,i set the home key is 158,but the android cannot work, it no response. why? thanks! -- unsubscribe: