Android programming

Java — posts in this category.

Android programming

RecyclerView only show one element

There is not listview in more modern Android SDK. The replacement of this is RecyclerView, that is more flexible, you can set the layout manager, such as…

Read more
Android programming

Android Orm - Room

There are a lot of ORM for Android. Previously, I have used Ormlite. That is quite good. I got a new personal project of Android App. This is a good to look…

Read more
Android programming

[Android] OCR with Google ML Kit

Recently, I am playing with OCR with Google ML Kit. A few years ago, I wish OCR in my mobile app, I want to extra some text from the images. That was very very…

Read more
Android programming

Using mocking GPS app to test app

In your development option, you pick an app to mock your GPS location. I used this way to pretend I was in Hong Kong to test some apps for my clients in Hong…

Read more
Android programming

Android Studio is updated to 1.4

Last night, I upgraded my android studio from 1.2 to 1.4. I have used android studio for more than a year. In old time, that was still in beta. Every upgrades,…

Read more
Android programming

Set the Empty view of ListView

I found ListView control in Android is very easy to use, that is very good. Even there is a method to set the empty view, it will display it when the list…

Read more