Android Foreground Service Example

Android Foreground Service Example
Android guidelines suggest that a long running operation should be performed in a service. As that long running operation may not require a UI and Android Services do not provide a UI. But what if that long running operation requires a UI or maybe just two or three pre-defined inputs. The first solution that comes ...

Android Service and BroadcastReceiver Example

Android Service and BroadcastReceiver Example
A very useful and important concept of Android is services, I was going through Truiton, and saw I have nothing on Android Services. So I decided, to write some interesting stuff that one can do with Android services. First off lets start with some basic intro to services. Android Services Introduction There are times when ...

Android onSignalStrengthsChanged – LTE Strength Measurement

Android onSignalStrengthsChanged - LTE Strength Measurement
In this tutorial I would show how to measure the signal strengths in Android. Since Android is a mobile operating system, therefore measuring signal strengths from device itself would be a very easy task. Android onSignalStrengthsChanged is a method in Android PhoneStateListener class which observes the changes in telephony states of a device. In my previous ...

Android onDataConnectionStateChanged – Detect Network Type

Android onDataConnectionStateChanged - Detect Network Type
While playing with network and phone states in android there could always be a situation where one would like to detect the network type and monitor the changes of data connection state. Both of these situations can be taken care off, with the help of Android PhoneStateListener onDataConnectionStateChanged method. As I mentioned in my previous ...

Android PhoneStateListener Example

Android PhoneStateListener Example
While searching through some documentation I found an interesting class of android through which we can listen to some basic network related events, called Android PhoneStateListener which lead to this tutorial Android PhoneStateListener Example. Another class which needs an introduction is TelephonyManager, as this is the class which uses the Android PhoneStateListener to listen telephony ...

Google I/O 2014 Official Android App Review

Google I/O 2014 Official Android App Review
The latest buzz around the geek world apart from FIFA 14 world cup is the Google I/O 14. As you may know Google I/O is the annual developers conference held in San Fransisco, California. This dev con is being held on 25-26 June,14. To engage more attendees around the world Google has released an official ...

Android Speech Recognition Without Dialog In A Custom Activity 3

Android Speech Recognition Without Dialog In A Custom Activity
A very interesting feature introduced in android is speech recognition. Many apps like Google Now, Chrome browser app, Google Maps app use speech recognition for their text input. Most of the apps use the standard easy way to get the voice inputs i.e. startActivityForResult by a RecognizerIntent. This would launch a dialog on top of ...

Android SimpleCursorTreeAdapter with CursorLoader for ExpandableListView

Android SimpleCursorTreeAdapter with CursorLoader for ExpandableListView
Recently I learned a new concept, Android SimpleCursorTreeAdapters. As its name describes, its from Android SimpleCursorAdaper family. The only difference here is that Android SimpleCursorTreeAdapter is an adapter for ExpandableListView widget. In Android, SimpleCursorTreeAdapters are used in situations where one has to populate an expandable list view through a ContentProvider where the data to be ...

Android Device Administrator Example 2

Android Device Administrator Example
Building an enterprise level app for android could have never been easier. With this Android Device Administrator Example, I would explain how to detect active Android device policy managers. As I explained in my previous tutorial about Android DevicePolicyManager that Android has an inbuilt framework to implement device administration policies. With help of these policies ...

Android DevicePolicyManager Example 2

Android DevicePolicyManager Example
Its always good to learn new things in the area of your interest. Recently while mucking around Android I came across the Android DevicePolicyManager class. After making a few searches here and there I found out its a very powerful concept of android and could make a device really secure. One should never underestimate Android, ...
Our Latest Android app for IITF 2013 Event is Now Available at Google Play StoreDownload Now