That scam won't be legal unless the license in question is the LGPL
(with an L at the front). You say that what you are interested in
using is a library. Typically, libraries use the LGPL since it just
makes sense that libraries allow closed source components to link to
them (L is for LIBRARY), however, there are still some nasty issues
that are present.... such as the ability of the USER to REPLACE the
LGPL LIBRARY with a newer version of the same library.... to your
benefit, it doesn't have to be TRIVIAL to do so, so NDK within the
same APK should suffice -- build the LGPL library into your program
using the NDK, you will end up with a shared object file that is
licensed as LGPL, which happens to be distributed along with your
proprietary program in the archive container. Be sure to include a
COPY OF THE LGPL LICENSE ALONG WITH THE LIBRARY and to be sure to
identify what library it applies to. ALSO be sure to make notice
WITHIN THE PROGRAM ITSELF that (A) you use LGPL components, (B) what
the LGPL components are.

If the library is licensed regular GPL, then NO, you MAY NOT use it.
And no, a wrapper program DOES NOT avoid this issue since the entire
purpose of the wrapper is clearly to avoid the GPL.

On Jun 22, 3:10 am, Naveen <naveen...@gmail.com> wrote:
> Hi!
> I need to use some open source code with GPL3.
>
> As usual I don't want to open source code for full application.
>
> Now what I understand is if I make two separate process one with my
> main application code and other as a service or something with Open
> source library  then in that case I have to open source code only for
> the other one.
>
> Now the question is what is the best way to do so in Android.
>
> Suppose
> My Main App  is  A
> Open Source code is  B
>
> So A will give some data to B. B will process this and sends data back
> to A. B may not need to have any UI.
>
> 1. Is it possible to install 2 seperate applications / processes from
> one APK?
> 2. What is the best way ?Should B be a service? How will be the
> communication between A and B ?
> 3. Is it possible to run/call B from A?
>
> Pls. advice
>
> Thanks

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to