Flarecaster - AAL not working?

24 views
Skip to first unread message

rhidajat

unread,
Jul 4, 2010, 10:42:34 PM7/4/10
to Automatic Application Licensing
Hi David,

I tried to put AAL in my app, Flarecaster, however it doesn't seem
to work?

I published my app and purchased it from the Android Market on my
Nexus One running Android 2.2, but when I run it AAL always failed to
verify the license. So now I have unpublished the app until I can
figure out what's going on.

Will you please help. Here's my code excerpt:

LicenseManager lLicMgr = new LicenseManager();
lLicMgr.setValidationPolicy(0, LicenseManager.FAILURE_BEHAVIOR_INVITE
| LicenseManager.FAILURE_BEHAVIOR_BLOCK |
LicenseManager.FAILURE_BEHAVIOR_NAG, 15000);

lLicMgr.checkLicense(this, new CheckLicenseCallback()
{
Bundle savedInstanceState;

CheckLicenseCallback setInstanceState(Bundle state)
{
this.savedInstanceState = state;
return this;
}

@Override
public void licenseError(int arg0, LicenseException arg1)
{
}

@Override
public void licenseResult(int arg0)
{
if(arg0 == LicenseManager.LICENSE_CONFIRMED)
{
if(savedInstanceState != null)
{
/*Proceed with the app*/
}
else
{
/*Proceed with the app*/
};
}
else if(arg0 == LicenseManager.LICENSE_STATE_UNKNOWN)
{
}
}
}.setInstanceState(savedInstanceState));

If you can help me get AAL working then I will definitely purchase
support for AAL :)
Thanks in advance for your help!

Regards,

Robert
Flarecaster, L.C.
www.Flarecaster.com

rhidajat

unread,
Jul 15, 2010, 10:54:58 PM7/15/10
to Automatic Application Licensing
Hi David,

Finally got this working.
Just missed to add the required access permissions needed by AAL.

I purchased support for AAL.

One thing I would like to be able to do is to give free licenses of
the app to some people, are you working on a mechanism to enable this?

Regards,

Robert
www.flarecaster.com

dadical

unread,
Jul 20, 2010, 1:36:00 AM7/20/10
to Automatic Application Licensing
I've often thought of this myself. I haven't come up with a good way
to do it though. I don't want to create a backend server to host
"free licenses", but I also am hesitant to create a tool as a part of
the open source project that is capable of generating licenses, as
that would make a pretty low bar for people to circumvent AAL. Do you
have ideas on how this might be done?

Dave

On Jul 15, 10:54 pm, rhidajat <hida...@gmail.com> wrote:
> Hi David,
>
Reply all
Reply to author
Forward
0 new messages