For example:
Public class Calls extends Service {
public void onCreate(开发者_如何转开发) { //call myMethod here by alarmManager }myMethod()
{}
}I'm not sure if I missing something, but why you just do this?
public class Calls extends Service {
public void onCreate() {
myMethod();
}
myMethod() {
}
}
精彩评论