在安卓官方网站看到这段话:
However, you can arrange for different components in your application to run in separate processes, and you can create additional threads for any process
问:也就是说应用程序里每个组件都可以作为独立的进程来运行?
在安卓官方网站看到这段话:
However, you can arrange for different components in your application to run in separate processes, and you can create additional threads for any process
问:也就是说应用程序里每个组件都可以作为独立的进程来运行?
3 回答849 阅读✓ 已解决
2 回答2.1k 阅读
2 回答958 阅读✓ 已解决
1 回答746 阅读✓ 已解决
2 回答851 阅读
2 回答793 阅读
1 回答725 阅读
在AndroidManifest.xml里声明组件的时候,加上process标签并提供进程名,这样就可以把这个组件放在另外的进程启动了