Hibernate and Firebird – Support for Temporary Tables

I had problems to use Hibernate(JPA) to work with Firebird a while ago. Every connection opened was not being closed, I couldn't ever think to use a pool of connection in my web service and the temporary tables was being created next to other tables. In this post, I will focus on the problem with … Continue lendo Hibernate and Firebird – Support for Temporary Tables

Fast Step-by-Step to Get Location

Configuration Add Gradle dependency: https://gist.github.com/tassioauad/6806c683661bf3286569202a99e28915 Add permission on AndroidManifest.xml https://gist.github.com/tassioauad/e12cb1ad5720ac7019e3b12b6c682d5a More about ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION. Using the GoogleApiClient At first, we need to instanciate the GoogleApiClient, because throught this instance we can access any service from Google Services, like the Location Service. It is a client for ALL services of the Google Service API (Location, … Continue lendo Fast Step-by-Step to Get Location

Tip about the Handling Configuration Changes in a Relationship between Activities and Fragments

I've sometimes posted about configuration changes, screen rotations and etc, but now I will write about a mistake that I made at the beginning when this handling involves Activity and Fragments. Let's take as example a simple Activity with a Fragment. We have to handle the configuration changes of the activity and the fragment and … Continue lendo Tip about the Handling Configuration Changes in a Relationship between Activities and Fragments

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