[android-porting] Re: How to send data from android application to UART

2010-10-12 Thread pramod.deore
e 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 > > > O

[android-porting] Re: Some issues about lock the screen orientation

2010-10-12 Thread pramod.deore
Hi, you can use this in .java as //change to landscape mode setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); //To change to portrait mode setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); Or You can also used directly in manifest file inside activity as an

[android-porting] How to send data from android application to UART

2010-10-11 Thread pramod.deore
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