Working with Android TextView

Everything related to TextView customization in Android SDK Spannable TextView: A spannable TextView can be used in Android to highlight a particular portion of text with a different color, style, size, and/or click event in a single TextView widget. Consider that you have defined a TextView as follows:

Then you can apply different highlighting […]

Working with Location(GPS) in Android

Android Location APIs are used in a wide variety of apps for different purposes such as finding user location, notifying when a user has left a general area (Geofencing), and help interpret user activity (walking, running, driving, etc). However, Android Location APIs are not the only means of acquiring user location. The following will give […]

Show Current Location in a Google Map for Android

Here is a full Activity class that places a Marker at the current location, and also moves the camera to the current position. There are a few things going on in sequence here: Check Location permission Once Location permission is granted, call setMyLocationEnabled(), build the GoogleApiClient, and connect it Once the GoogleApiClient is connected, request […]