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.
我有一个安卓程序。我想向网站发送请求,之后我需要服务器运行命令而不使用浏览器。
这可能吗?例如,在某些时候,我的代码是这样的:
Intent intent1 = new Intent(Intent.ACTION_VIEW,Uri.parse("http://xxxxxxx);
这当然会打开浏览器。如何避免这种情况?