Home » Android » Android Core » Page 2

Android Core

ListView using SQflite in Flutter – Todo Application

In this tutorial, we’ll take a look at how to create a ListView using Sqflite in Flutter. In the previous article on Sqflite in Flutter, we saw how to build a simple todo application using Sqflite. Since then, I’ve gotten a lot of requests to create an article on how to build a listview using Sqflite. So, in this tutorial, ...

Read More »

Double back button press to exit in React Native

In this quick tutorial, we’ll be taking a look at how to implement double back press to exit, in React Native. This is quite common functionality where apps require the user to press the back button twice (in Android) to exit the app. And this is also fairly straightforward to understand.  We’ll make the use of BackHandler provided by React ...

Read More »

Paging Library 3 and Content Provider

I needed to display the contents of a Android content provider in a recyclerview with pagination. I also wanted to try out version 3 of the Android Paging Library (which is currently in 3.0.0.alpha2 release), but most of the sources of documentation and tutorials are targeted at accessing either a network (e.g. Retrofit) or a database. So I wrote a ...

Read More »

Is AspectJ Still Useful for Android? Part 2

In the first part of this post, I showed some ways that AspectJ would be useful in android development when it comes to testing. This final part demonstrates one way of incorporating AspectJ, and how I manage to make the aspect weaving somewhat configurable in the build process. Android + AspectJ A search on the internet will show that there are various ...

Read More »

Using SQLite in Flutter – Tutorial

In this tutorial, we’ll take a look at using sqlite in flutter. SQLite is a SQL engine used in mobile devices and some computers. We can use it to persist data for our app. Persistent storage can be useful for caching network calls while fresh data is loaded and for offline apps. SQLite in flutter can be used to persist ...

Read More »

Is AspectJ Still Useful for Android? Part 1

For Java projects I sometimes use AspectJ for various tasks, but for Android projects I initially decided against using it. There were various reasons for that: The structure of an Android project, and its build process, was already a lot more complicated and slower than for generic Java projects.For Android development, only compile time weaving is supported for AspectJ, which ...

Read More »

How Android Studio 3.5 Improves Android App Development

In this post, we feature a comprehensive article about how Android Studio 3.5 Improves Android App Development. Android Studio has been one of the most popular tools for an Android development environment for years now, starting not long after its 2014 release. It’s seen used both on the desk of individual developers and in the offices of an Android app ...

Read More »