我希望我的应用程序可以轻松扩展

Ari*_*ian -6 android bluetooth

如何将下载链接从拥有该用户的用户传送给不拥有该用户的用户?如果他们只有他们的Android手机.蓝牙?我会寄一张联系卡吗?

是否有较少繁琐的配对方式?

Mac*_*rse 5

寻找分享意图.是一个例子:

Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Some text");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Some other text");

startActivity(Intent.createChooser(shareIntent, "Title for chooser"));
Run Code Online (Sandbox Code Playgroud)