Catching Application Crashes with Android

I’ve recently been working on a Weather app. There have been occasions when the app has crashed. It hasn’t been a big problem in general, but problems are always big unless you know what the problem actually is. How do you trap all the exceptions? The answer is to use an Uncaught Exception Handler. Basically,…

Writing a Weather App for Android: Refresh

In the past few posts, I’ve been writing a weather app for Android in the native language using the OpenWeatherMap API – Java. You can check out the prior posts here: The Model that OpenWeatherMap uses. Getting the data from OpenWeatherMap. Writing the UI to display the weather. Linking the UI to the data. It’s…

Writing a Weather App for Android: The Code

I’m currently writing a basic weather app for Android using OpenWeatherMap. Thus far, I’ve: Written and tested the model for the data. Written and tested the manager to get the weather data. Written the UI for the front page of the app. Now it’s time to hook up the weather manager API to the UI,…

Writing a Weather App for Android: The UI

For the past couple of days, I’ve been writing a weather app that pulls information from the OpenWeatherMap API. I’ve got a model and an API for accessing the data. Now it’s time to write some UI code to show the data. Android has a concept called an Activity. An Activity is basically “something the…

Writing an OpenWeatherMap SDK for Android

In my last post, I introduced how to write a Java model class to model the OpenWeatherMap API. Specifically, it models the response from the API using the SDK documentation. Today, I’m writing a manager class to implement an SDK for accessing the API, again using the SDK documentation. Let’s start with the basics. You…

Building Data Models for APIs and Android

I’m moving my attention a little bit towards native development now, mostly investigating Kotlin and Java for Android development. Swift for iOS development is also on my radar. One of the things I regularly do is create small applications to learn a technology. My current interest is producing a weather app. Now, that sounds boring….

Which is better – React Native or Xamarin Forms?

Let’s talk about a loaded question.  After my recent forays into both React Native and Xamarin Forms, I got asked on Twitter – which is better, React Native or Xamarin Forms?  Further, I should answer this for JavaScript experts, C# XAML experts and for developers with experience in both.  After all, both produce native apps…