Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在应用程序切换到另一个任务(例如 PhotoChooserTask 或 ShareStatusTask)时保持 Internet 连接处于活动状态?我已经看到了后台代理,但它们不能满足我的需求。
不。启动任务与启动另一个应用程序几乎相同:您自己的应用程序被关闭并停止运行。因此,不可能保持打开现有的网络连接,也不能进行任何类型的后台处理。