I am trying to start an Android service code and i have commented onStartCommand , so do the service will keep running or it will stop itself in the middle way.
MyCode:
@Override
public int onStartCommand(Intent intent, int flags, int startId)
{
//super.onStartCommand(intent, flags, startId);
return START_STICKY;
}
Please let me know , the possible situation during service running in the system.
0 comments:
Post a Comment