Does your driver has ioctl() interface?
If yes, then you can send ioctls from JNI to read i2c data and send it back 
to application.
Alternatively if it supports read() method, you can perform i2c read in 
that method and send it back to JNI.
you can find examples in many places (eg modules present in 
android/hardware/libhardware_legacy)

On Wednesday, 5 December 2012 06:32:22 UTC, garimella 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: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to