Let the free app (main) ask the paid app (the unlocker) run the LVL
check and report results using any of the available inter-application
communication options available on Android.

As far as security goes - encrypting / signing the communication is
one option, signing both apps with the same key and using a
signature-protected permission is another.

5 декабря 2011 г. 21:28 пользователь androidmediadeveloper
<kamathaj...@gmail.com> написал:
> sorry, not clear. the free app can check if the paid app was
> purchased ? it is the same publisher.
>
> also, seems like i can use the android:sharedUserId and write the
> license into shared prefs from one app and have the other read from
> it. Is this a security issue ?
>
> thanks
> ajith
>
> On Dec 5, 11:50 am, b0b <pujos.mich...@gmail.com> wrote:
>> Yes this is doable if both app have  the same userId
>>
>> You can implement a remote service in the unlocker paid app that check the
>> license.
>> Then your free app invoke binds to that remote service to do the check.
>>
>> If both of your apps share the same android:sharedUserId  you're not forced
>> to make the service public.
>> If you don't have already have set a android:sharedUserId don't change it
>> afterwards or it will cause problems (file permissions).
>
> --
> 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

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