Hello,

 

Kindle Fire and NOOK do not have LocationManager available so I need to test
for that just in case some other device also doesn't have it.  I'm using the
code below but it appears it is not returning null on KindleFire or NOOK:

 

var lm = GetSystemService(LocationService) as
Android.Locations.LocationManager;

return lm != null;

 

What is the recommended way to test for something such as LocationManager on
a device to see if it in fact exists and is available?

 

Thanks,

 

Neal Culiner

NC Software, Inc.

http://www.nc-software.com

 

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to