I've noticed this too.  I also use the obfuscator in my off-market
version of the library, and I decided I was going to pass the users's
email, license key and android_id to my license server obfuscated, but
it proved to be way to slow to obfuscate everything.

On Sep 27, 9:21 pm, MrGreg <gstr...@gmail.com> wrote:
> I'm starting to implement the new Android licensing stuff into my
> app.  I implemented it pretty much straight from the
> ServerManagedPolicy example, and it does seem to work.
>
> However, it takes many seconds to complete every time I start the app,
> which is unacceptable.  When I step through the code, the
> AESObfuscator generates a secret key, and that's the call that is
> slowing everything down.
>
> // This line takes way too long
> SecretKey secret = new SecretKeySpec(tmp.getEncoded(), "AES");
>
> Is this to be expected?  Am I doing something wrong??
>
> Thanks!

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