开发者

remove LCK file from /data/local/tmp when app starts

How can I remove a LCK file from /data/local/tmp in android when app starts? The USB serial port dete开发者_运维知识库ction on the device creates a LCK file in /data/local/tmp when the app starts. However, this prevents the device from opening a serial port connection the next time the app is launched.


I fixed this issue by closing the USB SerialPort connection when the activity ends.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜