0
我想通过我的Android应用程序分享我的应用程序图像和应用程序标题到instagram。通过Android应用程序分享图片和标题到Instagram
我用下面的代码为同一
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("image/*");
shareIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
shareIntent.putExtra(Intent.EXTRA_STREAM, getImageUri(SearchCategory.this, imagebitmap));
shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
shareIntent.putExtra(Intent.EXTRA_TEXT, "YOUR TEXT TO SHARE IN INSTAGRAM");
shareIntent.putExtra(Intent.EXTRA_TITLE, "YOUR TEXT HERE");
shareIntent.setPackage("com.instagram.android");
startActivity(shareIntent);
但是,这是行不通的。
The instagram application version is
7.11.0。
请帮助相同。
请清楚的问题,后期日志或这事。 –
我只能发送图像,但主题,文本和标题不存在,在instagram中我只能看到图像。 – AmeeJoshi
http://stackoverflow.com/questions/16864138/how-to-send-a-photo-to-instagram-using-my-android-app –