Share a picture on Google+ with Android -


i can share text in google+ when want add picture text, got message ;

you can post media items stored in device.

here code:

uri uri = uri.parse("android.resource://com.smurf.fapiao/" + r.drawable.myimage);        // launch google+ share dialog attribution app.      intent shareintent = new plusshare.builder(getactivity())         .settype("image/png").setstream(uri)         .settext(getstring(r.string.social_googleplus_text) + " http://www.wangwanglotto.com")         .getintent();      startactivityforresult(shareintent, 0); 

do have idea ? tried put file in raw or assets folder, still message.

thanks in advance


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -