开发者

Android Services Problem?

开发者 https://www.devze.com 2023-01-14 18:17 出处:网络
I\'ve a application where a service is running in background and when a Serial port is connected this service will tell the activity that serial port is connected.Now ,If service is inactive or it is

I've a application where a service is running in background and when a Serial port is connected this service will tell the activity that serial port is connected. Now ,If service is inactive or it is killed by Android for space allocation and some data comes from UART , who will serve this data?

Please answer urgently. Thank you.开发者_如何转开发


You can write a small native program and modify the init.rc to mark it to be restarted in case it dies..

0

精彩评论

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