Send Text Tag to Instagram using my Android app

前端 未结 3 1586
名媛妹妹
名媛妹妹 2021-01-05 14:39

My app takes pictures and sends it to Instagram, Facebook, and twitter but I need to share the text \"#myappname\" with the picture on Instagram.

Here\'s the code I

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-05 15:28

    If you're looking to interact with they're API's directly there is a lot of stuff you need to do that I'm not familiar with. However, if you want to share to any app on the device that accepts an image and text you can just run startActivity(); while passing in a proper Intent.

    If you have time, I suggest you read the following Android Developer Blog post: Share With Intents

    Or, have a look at the following quesiton on SO: flickr, tumblr , instagram share intent in android

    Hopefully that is what you're trying to achieve.

提交回复
热议问题