Home » Android » Android Core

Android Core

The Best Way to Develop Android Apps Which Shows You Different Than Others

This is the era of mobile phones and the internet. Various industries make use of mobile phone applications and web software for promoting their businesses online to generate profits. Especially, mobiles are the most effective and convenient form of communication and data transfer. Android App Development is a critical point for developers. According to research, 88% of the market is ...

Read More »

Restart Android Activity with ActivityScenario

I was writing an instrumentation test which required restarting the activity during a test. As I was trying out the ActivityScenarioRule to replace an ActivityTestRule, the documentation says I can use this method on the ActivityScenario to restart the activity after it has been launched: 1 scenario.recreate() So I wrote this function to for restarting the activity: 1 2 3 ...

Read More »

Update Your Fake AndroidInjector

Using Dagger 2 for dependency injection means that you can inject fake / mock objects for testing. I had been using a fake AndroidInjector to do this in my Espresso tests for an old Android app I was updating, but found that on updating Dagger to a more recent version (from 2.14 to 2.21) the custom AndroidInjector no longer compiled. The ...

Read More »

Top 17 Plugins for Android Studio

There are hundreds of plugins out-there for Android Studio and the number grows daily. This is mainly due to two reasons. The first is the fact that Android Studio is the industry accepted go-to IDE for creating Android apps. The second is Intellij IDEA, the platform upon which Android Studio is based, that allows for the development and easy installation ...

Read More »

Crashlytics and Android: Clean Way to Use Custom Crash Reports?

I was implementing Firebase Crashlytics for crash reporting for an Android app, and came across their documentation for customizing the reports. Having things like additional logging and user info for non-fatal exceptions are great, but what I wanted to use were the custom keys that could be used to log application state when the exception occurs. What’s really nice is that the state info is clearly displayed in the Firebase console. My ...

Read More »

How to apply Machine Learning to Android using Fritz.ai

This article describes how to apply Machine Learning to Android using Fritz.ai. Before diving into the details about how to develop a Machine learning Android app, it is useful to describe briefly what is Fritz.ai platform. As you may know, Machine Learning is an interesting topic that is gaining importance and promises to transform several areas including the way we ...

Read More »

Java vs Kotlin for Android Development

Mobile technology is one of the most disruptive innovations in the world today. Google’s Android and Apple’s iOS, are the operating systems used primarily in mobile technology, such as smart-phones and tablets. For almost two decades, Java was the prime language to build Android applications. This language was ruling the world of Android until the birth of a new language Kotlin. A ...

Read More »

Your Guide to Becoming a Better Android App Developer

Did you realize that consumers spend nearly $86 billion on apps each year? If you are an app developer, finding a way to make your programs stand out from the competition should be your main goal. Failing to focus on making your apps functional and engaging can make it difficult to achieve the level of success you are after. While ...

Read More »