Full application detecting the closest coffee locations to you using Google Maps Lite.
Android | iOS | Apple watch |
---|---|---|
Note:
iOS + Watch version is available for TestFlight beta testing, contact [email protected] for details.
To use the Google Maps API on Android you must generate an API key and add it to your Android project. See the Xamarin doc on obtaining a Google Maps API key. After following those instructions, paste the API key in the Properties/AndroidManifest.xml
file (view source and find/update the following element):
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="APIKeyGoesHere" />
You need to follow these instructions in order for the map data to display in MobileCRM on Android.
To use Google Maps API on iOS you should generate another one API key for iOS application and add it to AppDelegate.cs
file:
const string GoogleMapsAPIKey = "APIKeyGoesHere";
Please follow Xamarin Watch Kit getting started guide to learn how to run watch app. Also make sure that you have correct provisioning profiles setup.
Places Rest API
In addition to this you must toggle on Places API
under Services in your Google API Console. Then you can create a new “Simple API Access Key” that can be used in the CoffeeFilterViewModel.cs
file.
-
Oleg Demchenko: GitHub
-
Design inspiration from Frank Krueger from when we were drinking coffee :)
- Awesome Libraries:
- Geolocator Plugin - Simple cross platform geolocation
- Connectivity Plugin - Simple cross platform API to check connectivity.
- ServiceStack.Text - Simple json serialization and deserialization!
- External Maps Plugin - Launch map app from shared code.
- Pull to Refresh
- Easier to Navigate
- Ability to move pin while moving
The MIT License (MIT)
Copyright (c) 2014 James Montemagno / Refractored LLC