开发者

How can I package pack a service into a apk, without any other activity?

开发者 https://www.devze.com 2023-03-06 18:28 出处:网络
I want to make a service run in its own process, and called through AIDL. Most important, as开发者_Python百科 a stand alone application, can be installed from a apk.

I want to make a service run in its own process, and called through AIDL.

Most important, as开发者_Python百科 a stand alone application, can be installed from a apk.

could I ? how to do it.

sorry for my poor English.


Yes, you can make apk files that only contain a Service with AIDL definitions as part of the package. Just don't include any Activity classes in the package.

0

精彩评论

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