Android Question Include service in a library ?

SoyEli

Active Member
Licensed User
Longtime User
Hello:

I made a service that runs in the background, I have a class module and this service.
I want to compile both to a library, but when I try to compile it gives a error "service module not found"

Can this be done or am I missing something?

Thank you:
 

SoyEli

Active Member
Licensed User
Longtime User
Hello:

Sorry my mistake:
After I compile the library it can not find the service, Do I need to start the service differently?
The apk before includes (Main,service module "checkbt" and a class module).
Before compiling to library it runs fine.

When I try to run a apk with the service library that I just compiled that included the service "checkbt", I get this:

"Parsing code. 0.02
Compiling code. Error
Module: checkbt_br not found."

Thank you: :)
 
Upvote 0

daemon

Active Member
Licensed User
Longtime User
Hi,

I have attached a simple library project, compled library and a test project.
I would like to know how can I start the service defined in library project.
 

Attachments

  • SrvLibTest.zip
    13.6 KB · Views: 95
Upvote 0
Top