Great questions. Answers inline...
On May 17, 3:47 pm, dadical <
keyes...@gmail.com> wrote:
> Cool beans.
>
> I have some questions about this library though:
> What exactly does "Incompatibilities should degrade gracefully for 1.5
> and 1.6" mean? Does the developer get to control what happens if an
> app is being run on an Android version that doesn't support the
> Account integration?
All of the AAL functionality will simply be skipped for 1.5 and 1.6
users. It will be as if there is no licensing software installed.
This is not configurable for now. I did this since I thought it very
unlikely that users would EVER type their userId/password into an app
to verify license. I never would.
> What if the request for the Account info is
> denied by the user?
This will simply be viewed as "failure to validate" and count against
the total failure count in the failurePolicy. The user will be re-
prompted to allow access each time they start the app.
>
> What happens if there is no Internet connection available? Is this
> also up to the developer of the app to control?
Again, simply counted as a "failure to validate" and counts against
the total failure count defined in the failurePolicy. User will need
to have network connectivity at some point to validate purchase and
generate license.
>
> I'm assuming that since this uses the Account integration, it won't
> matter if an app that has this library is run on multiple phones if
> the same Google Account is configured on them as the one that
> purchased it, correct?
That is correct. As long as each phone is able to see the app in the
market, and the market reports the app as being purchased for that
user/phone combination, the license will generate properly.
>
> What if your user has root and purchases your application but backs it
> up and then ends up wiping the phone and installs it manually from his
> backup rather than from the Market app? Does the library still check
> the info from the Google account to see if the user purchased the app
> or does it lock it since it won't show up as "Downloaded" in Market?
>
I haven't tested this, but licensing should still work. As long as
the market reports the app as "purchased", which it should in your
scenario, things will work fine for restored apps.