I have a service that works in the same process.
<service android:name=".service.GlassService" android:exported="true" android:label="@string/app_name" />
I start the service using startService ().
startService(new Intent(this, GlassService.class));
When I scroll and exit the application, the service lives on . When I kill it from DDMS, the service reboots , calling the service with START_STICKY and START_NOT_STICKY does not matter.
The only way to stop the service is when I explicitly call stopService () or stopItself () or by omitting startService ().
This does not apply to other Android devices. Is this behavior typical of Google Glass?
android google-glass google-gdk
jellyfication
source share