Implementing a DeviceLimiter

by Philip Sheard » Fri, 25 Feb 2011 12:58:18 GMT


Sponsored Links
 Has anyone actually managed to do this? The documentation counsels
against it, but it is also vague and inaccurate.

I have tried extending LicenseChecker, and implementing that way. I
can then override isDeviceAllowed, but the method in NullDeviceLimiter
still gets called. Looking at the code, the NullDeviceLimiter class
seems to be hard coded in.

-- 



Other Threads

1. handeling StartActivityForResult on back button

What is the stack crawl on the log output?






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~

2. html in button

how do I use html in a Button?
I tried the following, it's not working.
<Button
android:id="@+id/voice_memo_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/x"
</Button>

<resources>
     <string name="x"><p>XX</p>YY</string>
</resources>


--~--~---------~--~----~------------~-------~--~----~

3. Android GUI testing

4. Multi-touch & My Touch Phone Questions

5. JNI_OnLoad (). Is it mandatory?

6. setAdapter for ListView does not always work

7. BATTERY_CHANGED not being sent for some reason.