you need to create the sysfs interface path that reads the data you are
interested in. And also you need to provide the rite permission in for that
sysfs path in the init.rc file. By the way to what type of device you wrote
the i2c driver, and till what extent your achieved in the driver.

Thanks
Datta

On Thu, Dec 6, 2012 at 10:20 AM, Shree Kumar <[email protected]> wrote:

> What device is this ? How are you exposing the data to userspace ?
>
> The rules of thumb are simple : you need to create another layer (native
> code) that interacts with the device driver. This layer must have access
> permissions (uid/gid) to the interface defined by the driver. Java code
> could call native code directly, and/or as a service.
>
> HTH
> -- Shree
> On Dec 5, 2012 11:56 PM, "Garimella Srinivasu" <
> [email protected]> wrote:
>
>> Dear All,
>>
>> I am using Android 2.3.2 and developed I2C driver(Slave) for my device
>> but i am not sure how to pass received data to Android applications...My
>> Android application should read data and display the received data...
>>
>> Could you suggest how can i achieve this ?
>>
>> Thanks & REgards
>> Garimella Srinivasu
>>
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-porting
>>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
 Regards,
Dattatraya I Patil
Asmaitha Wireless Technologies Pvt Ltd,

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

Reply via email to