You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
宿主在PluginManager.getInstance().isConnected()之后查询插件,
然后PluginManager.getInstance().installPackage(),
之后要启动插件的service, 此时service没被启动,
Intent it = new Intent();
it.setClassName("com.example.test2", "com.example.test2.Test2Service");
mContext.startService(it);
再重复上面操作, 可以启动插件service
The text was updated successfully, but these errors were encountered:
newstart201212
changed the title
加载了droidPlugin的宿主,在启动一个未安装的插件的service(声明exported=true)时, 首次启动失败
加载了droidPlugin的宿主,在启动一个未安装的插件的service时, 首次启动失败
Oct 15, 2015
宿主里启动未安装的插件service(AndroidManifest里声明exported=true), 没反应.
第2次以后才可以启动.
具体过程:
然后PluginManager.getInstance().installPackage(),
之后要启动插件的service, 此时service没被启动,
Intent it = new Intent();
it.setClassName("com.example.test2", "com.example.test2.Test2Service");
mContext.startService(it);
The text was updated successfully, but these errors were encountered: