Hello Xingwei,
There are 2 ways to realize what you want , see following , please !
1. Operating Serial port on android application
The way is just like what you are using, but you should change the permission of read/write by console or add command in init.rc
2. Regular operation on android platform
On android platform, from JAVA application to hardware, the loading proceduer is JAVA--->JNI---->C/C++ lib---->hardware, so the better way for your application is to write a operational lib based on C/C++ to operate serial port , then convert the c/c++ lib to JAVA lib through NDK tool, after these jobs are done, your application can load JAVA lib for serial operation.
Hope above suggestions can help you !
If above suggestions can solve your problems, click "correct botton" or "Helpful button" to close the ticket !
Regards,
Weidong