Android Service: Interprocess Communication With AIDL

Android Service: Interprocess Communication With AIDL
Android services are designed for many permutations and combinations. You can use them for long running operations, you can use them for long running network operations, you can use them for never ending operations in a separate process. One of these many permutations and combinations is Android service interprocess communication through the usage of AIDL. ...

Bound Service Example In Android

Bound Service Example In Android
In my previous tutorials I have been talking about Services in Android, showcasing basic functions of a service. This tutorial also shows Android service class, but it revolves around a specific feature of this class i.e binding of service to an activity. It also briefly explains the features associated with Android bind service type. Although ...

Android Foreground Service Example 1

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 4

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 2

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 ...
Our Latest Android app for IITF 2014 Event is Now Available at Google Play StoreDownload Now