Sunday, July 24, 2011

[android-developers] Compiling an app with JAR files or else ...

Hi,
 
We have an application which runs as an Android Service in the background. Let's assume that we would like to have another application (an activity rather than a service this time) which is supposed to bind to this service (assuming that the service is already up and running when this application is started). The binding is provided through callback functions (as if the service provides an API for any application that wants to bind to it).

When someone needs to compile an application of this sort, they either need to have the source code or the JAR files of the service. We would like to keep the source code to ourselves so I was wondering what the most convenient way is to distribute the code for the service for anyone to compile their applications that bind to it. JAR files are reversible as far as I know so that wouldn't do it. Is there any way to compile an app using an apk of another (the service application in this case) in Eclipse ?

Let me know if there is a more suitable list to post this question if you think this is not the right one. Thanks in advance for your comments.

Emre

 
 

No comments:

Post a Comment