Thursday, June 3, 2010

[android-developers] Where is ACCESS_COARSE_UPDATES permission ?

Hi all,

I want to use the following method from TelephonyManager :
public List<NeighboringCellInfo> getNeighboringCellInfo ()

Documentation says :
Since: API Level 3
Returns the neighboring cell information of the device.
Returns
List of NeighboringCellInfo or null if info unavailable.
Requires Permission: (@link
android.Manifest.permission#ACCESS_COARSE_UPDATES}

But I don't find this permission and when I add it in my manifest I
get a warning message "Unknown permission".

For now, this method returns an empty list..;

Any idea ?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate