Intent makes the Android’s heart bitting

Intent can be something like "I want to search a contact register" or "Open this web site" or "Show me the purchase confirmation screen". It can be a specific or generic  description of what you want done. Intent makes the Android's heart bitting One of advantages of intent is the capacity of call and use … Continue lendo Intent makes the Android’s heart bitting

Should I keep the database connection opened?

If you are trying to find the best way to work with SQLite connection on Android, asking yourself things like "Should I keep one single connetion opened or open and close everytime that I use the database?" "If I use a single connection, how and when to close? Do I need to close it?", keep … Continue lendo Should I keep the database connection opened?

SearchView and the Activity Lifecycle

I was reading a good post written by Luis G. Valle about SearchViews and he explains two lifecycle ways: Default: searchable activity receives a call to onCreate with an ACTION_SEARCH intent. This will create two instances of your searchable activity (one on top of the other). If you set android:launchMode to singleTop: searchable activity receives … Continue lendo SearchView and the Activity Lifecycle

When should I use Android Service?

To rank higher the process which is hosting my application Because a process running a service is ranked higher than a process with background activities, an activity that initiates a long-running operation might do well to start a service for that operation, rather than simply create a worker thread. An activity can be stopped or destroyed, … Continue lendo When should I use Android Service?