private NotificationManager mNM;
@Override
- public void onCreate() {
+ public void onCreate() {
// Create a reference to the NotificationManager so that we can update our notifcation text later
mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
}
@Override
- public int onStartCommand(Intent intent, int flags, int startId) {
+ public int onStartCommand(Intent intent, int flags, int startId) {
Log.i("TelemetryService", "Received start id " + startId + ": " + intent);
CharSequence text = getText(R.string.telemetry_service_started);
}
@Override
- public void onDestroy() {
+ public void onDestroy() {
// Demote us from the foreground, and cancel the persistent notification.
}
@Override
- public IBinder onBind(Intent intent) {
+ public IBinder onBind(Intent intent) {
return mBinder;
}