I use to work on a multi language (English, Malay, Chinese) Android mobile app previously, which required to keep the value in database. There is no perfect solution to design a database to support this.
Extends from my previous part 1 article of Chinese Locale in Android, I accidentally found out that the minimum resources needed:
en
zh-rCN
zh-rTW
When we talk about Chinese language globally, there are three major categories:
<%@ page contentType="text/html; charset=UTF-8" %><%@ page pageEncoding="UTF-8" %><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">…
Instead of using the well known Butter Knife, this time I try to use Android Data Binding Library on my existing open source project, the steps are quite simple.
Step 1:
The spinner object on android development really give me a big headache. First I face the OnItemSelectedListener event handler gets called every time it been set. And then I face the same event handler gets called when a spinner selection is changed programmatically.Finally I manage…
Extends from my previous post Retrofit 2 + AutoValueGson, I’m trying to add a database for the project. I choose to use ContentProvider due to the benefit of ContentObserver, with the help of SQLDelight to generate all the necessary fields in Java model.
I guess somebody already know this, but I think there are somebody who didn’t know it as well, so, I just put it up here.Next time when you having development in Netbeans, try to write comments using its Auto Comments feature.
Just try to use Google AutoValue on one of my existing open source project, the steps are basically as below.
Before Apply: A simple UserBean with GitHubService.
UserBean
GitHubService
public interface GitHubService { String BASE_URL =…
When I’m working on a regional mobile app recently, I start to notice an useful usage of interface when combine with Gradle Build Variants in Android Studio.
interface
Firstly, I put an interface in the main project.
These were the top 10 stories published by FabioHub; you can also dive into yearly archives: 2007, 2008, 2011, 2012, 2016, 2017, and 2018.