Hi all,

I am trying to change the behavior of the default sensors used in Android 
Emulator.
I am interesting of changing the Accelerometer sensor. I have downloaded 
and build
the source succesfully through these instructions:

 Code:

repo init -u https://android.googlesource.com/platform/manifest -b 
android-4.1.1_r6
repo sync
. build/envsetup.sh
lunch 1
make -j4

And I am able to run the emulator through this command in the same 
directory:
 Code:

emulator

So far, I have found the files that I believe that contain the 
accelerometer functionality:
/external/qemu/android/hw-sensors.c

I tried to change some values there that seems to be related with the 
accelerometer
and then rebuilt the source. When I run the emulator I get the same results.

Do anyone have a clue on how to do this?

Moreover, do you know how to debug the whole process? Is there a print 
function
I can use and where are the results printed to?

Thank you in advacne,
Thanasis

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to