Intent intent=new Intent();
intent.setClassName("com.fnf.aiui","com.fnf.aiui.AIUIService");
intent.setAction("exit");
getContext().startService(intent);
Intent intent=new Intent();
intent.setClassName("com.fnf.aiui","com.fnf.aiui.AIUIService");
intent.setAction("exit");
getContext().startService(intent);
转载于:https://my.oschina.net/wfy94/blog/2967900