Hi,

sensors.<board>.so - should be compiled & copied to system/lib/hw of the
android file system.
The *.so build - should contain a struct defining that it s a
SENSOR_MODULE..

Say :

sensors.c file

struct sensors_module_t HAL_MODULE_INFO_SYM = {
        common: {
                tag: HARDWARE_MODULE_TAG,
                version_major: 1,
                version_minor: 0,
                id: SENSORS_HARDWARE_MODULE_ID,
                name: " Sensor module",
                author: "xxx Inc.",
                methods: &sensors_module_methods,
        },
        get_sensors_list: sensors__get_sensors_list,
};





With care
Ramya


On Wed, May 29, 2013 at 10:00 AM, 마재경 <[email protected]> wrote:

> Hi,
>
>
> I'm a beginner android user, I ported accelerometer sensor named "BMA250E"
> and Board don't use MPU, MPL.
>
>
> Only use accelerometer. On the kernel, sensor act well. when i programmed
> HAL code. and library file(XXX.so)
>
>
> was downloaded on the target board. But, sensor was not recognized in app
> layer.
>
>
> Should i more programmed for using it?
>
>
> Please give me some advice about that.
>
>
> Best Regards.
>
> --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" 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.
>
>
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" 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