Individual app installations on the same device are completely
sandboxed from each other.  It's not possible for namespaces to
collide for either java or C code between apps.

Doug

On Mar 5, 10:04 pm, Omri <o...@omrikalinsky.com> wrote:
> Hey All,
>    So I'm developing a mixed Java/C++ JNI based app that will have a
> full (paid) and lite (free) version. 99% of the code will be exactly
> the same. Each version of the app will have it's own java package
> com.mycompany.myfullapp and com.mycompany.myliteapp with it's own
> Activity. But, both apps will compile a bunch of the same shared
> source code .javas in com.mycompany.shared package. Is there a problem
> with having the same packages in 2 different apps as long as the main
> Activity and the app's main package itself is unique per app?
>   On the C++ side of things, I'm just using #ifdef to turn features on
> and off and again, compiling the exact same source .cpp files into
> both version of the app with just different macro definitions. In both
> versions, is there any problem with compiling this into the same
> library name using "LOCAL_MODULE :=" in my Android.mk into both
> versions of the app.
>
> Thanks,
>    Omri

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