android.permission.GET_ACCOUNTS

by strazzere » Fri, 10 Apr 2009 10:28:54 GMT


Sponsored Links
 Are there any examples of how to use android.permission.GET_ACCOUNTS ?
Or is this an unimplimented api? I found this site;
 http://joakim.erdfelt.com/wiki/index.php/AndroidGetAccount 

Though I haven't been able to get anything to work. I believe JBQ said
it was a private api - but I'm not sure why the permission is listed
on the dev reference?
--~--~---------~--~----~------------~-------~--~----~



android.permission.GET_ACCOUNTS

by Dianne Hackborn » Fri, 10 Apr 2009 10:45:24 GMT


 We unfortunately left most of the permission string constants in the SDK,
even for ones protecting private APIs.  So something being there doesn't
mean there is an API for it.






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

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


Sponsored Links


Other Threads

1. Why do I need requery() when I already have notifyDataSetChanged()

I had an adapter that was no updating properly when I called

myAdapter.notifyDataSetChanged()

This causes much headache an finally I tried

cursor.requery(); //This is the cursor on which myAdapter is connected
to
myAdapter.notifyDataSetChanged();


My Question is - Why do I need to run requery()? I thought that
notifyDataSetChanged() would automatically update the cursor for us!


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

2. How to disable screen orientation change in code?

Hello,
how can the screen orientation change be disabled in code? I must
force portrait/landscape orientation, but can't use
android:screenOrientation="landscape" in the manifest because of issue
3324 -
http://code.google.com/p/android/issues/detail?id=3324
Do you have any ideas?
Thank in advance,
Mike.


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

3. Location.getLastKnownLocation returns null

4. Location.getLastKnownLocation returns null

5. Pointers for a port to an OMAP device?

6. debugger not bound

7. Archos 5 porting group