Bug 2833 - Geocoder.isPresent() is not bound
Summary: Geocoder.isPresent() is not bound
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-01-10 12:03 UTC by Mike Bluestein
Modified: 2012-01-10 14:29 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Mike Bluestein 2012-01-10 12:03:33 UTC
The Geocoder class has a static isPresent() function that isn't bound.

http://developer.android.com/reference/android/location/Geocoder.html#isPresent()
Comment 1 Jonathan Pobst 2012-01-10 12:44:58 UTC
Per that documentation, the method is only available in API Level 9+.  This is reflected in our bindings.

My guess is you are trying to use it on a lower API Level.

If I am incorrect, please reopen!
Comment 2 Mike Bluestein 2012-01-10 13:28:30 UTC
You are correct. I was originally on API level 8, but when I changed to 14, it still didn't appear (at least not in intellisense). Closed and reopened the solution and then it was there. I'll open an intellisense bug if there isn't one already.
Comment 3 Jonathan Pobst 2012-01-10 13:29:37 UTC
Visual Studio explicitly tells you when you change that field you will have to close and reopen your project.  I guess MonoDevelop does not tell you that.
Comment 4 Mike Bluestein 2012-01-10 13:34:37 UTC
Correct, MonoDevelop didn't tell me that. I'll write a bug for it.
Comment 5 Mikayla Hutchinson [MSFT] 2012-01-10 14:29:42 UTC
This would appears to be a duplicate of bug 1077?