Following the LVL example, I'm calling checkAccess(myCallback) in my
first activity. A user can then start another activity by interacting
with the UI before a response is received from LVL. When the response
arrives, my callback starts a new activity (UnlicensedActivity) and
finishes the current one.

UnlicensedActivity simply displays a dialog as per the licensing
example, with Buy and Quit buttons. The dialog cannot be cancelled and
key events in the activity are ignored. Unfortunately sometimes when
the Quit button is pressed, the UnlicensedActivity ends and the
previous one is displayed.

Other than displaying some kind of splash screen (which I really don't
want) and holding the application until a response is received, I
can't see a reliable way of locking unlicensed users out.

If I'm missing something obvious then pointers would be much
appreciated.

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

Reply via email to