我正在尝试使用下一个脚本与Android分享:
Intent sendIntent = new Intent(android.content.Intent.ACTION_SEND);
sendIntent.setType("text/plain");
sendIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, subject + text);
this.cordova.startActivityForResult(this, sendIntent, 0);
此列表安装在Android上的所有应用。
如何定义应用以分享ex:Facebook,Twitter,SMS?我可以定义订单吗?
致以最诚挚的问候,
答案 0 :(得分:0)
有很多插件可用于此。我在https://github.com/phonegap/phonegap-plugins找到了一些东西。
希望这会奏效。但您需要正确执行相应插件的自述文件中提到的步骤。