
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)) įilterByPackageName(context, intent, "com. UrlEncode(shareUrl), urlEncode(mediaUrl), urlEncode(description)) String description = "Pinterest sharing using Android intents" ?url=http%3A%2F%2F&media=http%3A%2F%%2F7027%2F6851755809_df5b2051c9_z.jpgĪnd for smoother user experience, set the intent to open directly in Pinterest app, if installed.Ī complete example: String shareUrl = "" The Pinterest SDK is a single JAR file you can. (I've earlier used a very similar approach for sharing to Twitter.) The following code snippets show how to implement a basic Pinterest Pin.


I found a way to share to Pinterest with plain Android intents (without using the Pinterest SDK), with help from Pin It button developer docs.īasically you just open an URL like this with Intent.ACTION_VIEW the official Pinterest app kindly supports these URLs. As with Messages by Google, part of the appeal of Pulse SMS is that it can take your SMS out of the confines of your smartphone and let you access it on the web.
