Notes on Android projects


lomeal is the main interface package. other packages are the library to support lomeal.


package api encapsulates apis allows app talking to the server.

factory package use factory design pattern to generate new classes

gson package contains database apis using gson

model package contains the data base models. data are exchanged by gson.  use annotation @DatabaseField @SerializedName and keyword transient to talk to database. gson it’s like hibernate. object-to database. no need write direct sql as it’s hard to maintain.

service package contain two main servcies. direct service and service runs in one process and multiple threads

ulti package contains utility suppport classes




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s