All Projects → ActiveNick → MyWeather

ActiveNick / MyWeather

Licence: other
Cross-Platform Mobile Weather App for iOS, Android, Windows 10 (UWP) and WP8 built in C# with Xamarin. Uses Xamarin.Forms to share 100% of XAML UI code.

Programming Languages

C#
18002 projects

MyWeather

PROJECT DESCRIPTION

MyWeather is Cross-Platform Mobile Weather App for iOS, Android, Windows 10 (UWP) built in C# with Xamarin. This app is a demo designed to illustrate how to use Xamarin.Forms to share 100% of the UI code. The demo app lets the user specify a location (city, state) to pull weather info at that location using OpenWeatherMap.

APP FEATURES & IMPLEMENTATION

  • The UI was designed using Xamarin.Forms controls in XAML.
  • Uses HttpClient to call OpenWeatherMap REST service.
  • JSON data deserialization with Newtonsoft JSON.NET.
  • Text-to-Speech integration on all platforms using the Xamarin.Forms DependecyService.
  • Platform differentiation in code via #if conditional compilation directives.
  • Platform differentiation in UI via XAML elements in Xamarin.Forms.
  • App analytics with crash reporting via HockeyApp.

More features will be added over time to flesh out this demo app. Feel free to post your feedback if you have questions or suggestions.

Deprecation Note: The Windows Phone 8 Silverlight project was removed from the solution since it was deprecated in Xamarin.Forms.

REQUIREMENTS

This demo project requires the Xamarin included for free in Visual Studio Community Edition 2015 or higher. For more info on Xamarin, visit www.Xamarin.com.

ACKNOWLEDGEMENTS

  • Special thanks to James Montemagno for his initial OpenWeatherMap code snippet and service recommendation.
  • Thanks to Joseph Hill and the Xamarin team for providing me with their software and support prior to the Xamarin acquisition by Microsoft in 2016.

Follow Me

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].