Update documentation for the android task

This commit is contained in:
Andrei Bechet 2015-06-26 10:33:56 +02:00
parent 13643cd6f0
commit 193bfdbd88

View file

@ -12,7 +12,7 @@ GeofenceAppTest.shouldReceiveTheLatestLocation()
## Bind to a remote service to be able to display notifications
Use the [AIDL](http://developer.android.com/guide/components/aidl.html) to allow interprocess communication between your app and another service which will allow you to display notifications. The AIDL you will use is *HeadUnit.aidl*. You are on the client side. You will need to bind to the service using a [ServiceConnection](http://developer.android.com/reference/android/content/ServiceConnection.html) object (like [here](http://developer.android.com/guide/components/aidl.html#Expose)).
Use the [AIDL](http://developer.android.com/guide/components/aidl.html) to allow interprocess communication between your app and another service which will allow you to display notifications. The AIDL you will use is *HeadUnit.aidl*. You are on the client side. You will need to bind to the service using an intent and a [ServiceConnection](http://developer.android.com/reference/android/content/ServiceConnection.html) object (see [here](http://developer.android.com/guide/components/aidl.html#Expose)).
```java
Intent headUnitServiceIntent = new Intent(HeadUnit.class.getName());