Sunday, July 24, 2011

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

On Sun, Jul 24, 2011 at 5:14 PM, Emre A. Yavuz <eaylist@hotmail.com> wrote:
> 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.

No. They just need to have the AIDL file.

> 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.

Just distribute the AIDL file.

> Is there any way to compile an app using
> an apk of another (the service application in this case) in Eclipse ?

No.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate