Android 启动服务,怎么在服务启动成功后,执行指定的代码?各位有什么好的意见?
Intent intent = new Intent(context, MyService.class); startService(intent);
有段代码需要在启动服务启动完成后执行,怎么实现?
Android 启动服务,怎么在服务启动成功后,执行指定的代码?各位有什么好的意见?
Intent intent = new Intent(context, MyService.class); startService(intent);
有段代码需要在启动服务启动完成后执行,怎么实现?