开发者

How to create and start a custom service after boot in android?

开发者 https://www.devze.com 2023-02-25 19:05 出处:网络
I have the full android source code (2.1). I have a couple of queries. I want to create a custom native service in android. I would like to know how i can do that. Things like where i should include

I have the full android source code (2.1). I have a couple of queries.

  1. I want to create a custom native service in android. I would like to know how i can do that. Things like where i should include my source f开发者_运维技巧iles, etc.
  2. I would like to know how i can start this native service when my device boots up.
  3. How can i write a java application to get the data from this native service?

Please help me with some pointers.

Thanks,

Sen


I don't know about the native sources, but what if you try to just install an application with the required service. All you need to start it up at boot time, as shown in the article.

0

精彩评论

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