photo share intent in android

前端 未结 3 1714
庸人自扰
庸人自扰 2020-12-12 02:58
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
shareIntent.setType(\"image/*\");

Uri uri = U         


        
3条回答
  •  悲哀的现实
    2020-12-12 03:41

    You can not use Intent to post to Facebook. They have specifically blocked this. You have to either use their SDK or copy it to the clipboard and have the user paste it after the facebook interface opens. I am having this same problem.

提交回复
热议问题