2
在我的应用程序中有一个服务类,需要从该服务类调用活动类,但每次调用活动类时都会显示一条消息,指示应用程序 没有回应,下面是我的代码..如何调用服务类中的活动类
public class MyAlarmService_Movie extends Service {
@Override
public void onCreate() {
super.onStart(intent, startId);
Intent in=new Intent().setClass(MyAlarmService.this,Reminder.class);
startActivity(in);
}
}
谢谢你的解决方案.. – user595226 2011-02-16 13:58:03