android bluetooth stack exactly does the same.,

brief overview -
http://sites.google.com/a/android.com/opensource/projects/bluetooth-faq
(a post on the same -
http://i-miss-erin.blogspot.com/2009/06/android-bluetooth-introduction-part-i.html
)

(many other connectivity stacks like modem, gps, etc does the same..,
take a simple exisitng one for reference)

-- 
Regards,
Deva
www.bittoggler.com

On Mon, Oct 11, 2010 at 7:09 PM, Ashwin Bihari <abih...@gmail.com> wrote:
> You will need to create a JNI interface that will deal with the
> low-level UART handling and then you can either create a Java file and
> package that with the JNI into a library that you can use from your
> application or you can package that Java file with your application
> and use the JNI functionality. The Java file will need to load the
> shared library and pass along your read/writes to the JNI code..
>
> Regards
> -- Ashwin
>
>
>
> On Mon, Oct 11, 2010 at 5:35 AM, pramod.deore <deore.pramo...@gmail.com> 
> wrote:
>> Hi, I want to develop an Android application which will communicate
>> (read and write data) with UART. I had tried to search documents for
>> this but I was not successful. Please let me know how to communicate
>> with UART from android application? If any link is there please
>> provide me. It's really very urgent. Thanks in advance.
>>
>> --
>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-porting
>>
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to