About Android One-click Sharing, eager to help!

Source: Internet
Author: User

============ Problem Description ============


Now to do a project, set inside click a button to share, there are three sharing platform, Sina Weibo, and friends Circle

Now the problem is that I want to share the content on three platforms, in the Sina Weibo share is a text narrative and a link to a Web page, and in the circle with Friends is a title plus a text narrative plus a program icon, and then click into the internal page.

Now I'm writing this:
private void Share () {
Final Onekeyshare OKs = new Onekeyshare ();
Oks.setnotification (r.drawable.ic_launcher,aboutactivity.this.getstring (r.string.app_name));
Oks.settitle ("Share");
Oks.settext ("I am at @ ... Found a lot of life surprises, recommend you also to try "+" http://www.baidu.cn ");
Oks.setsilent (FALSE);
Make the edit page appear as dialog mode
Oks.setdialogmode ();
SSO mode can be disabled when auto-authorization
Oks.disablessowhenauthorize ();
Oks.show (Aboutactivity.this);
}
But its effect is three sharing is the same content, what should I do

============ Solution 1============


How do you differentiate between these three shared.

============ Solution 2============


You debug, see if the Click event pair executes to a place where it leads to shared content.

============ Solution 3============


Weibo can use this onekeyshare, and the circle of friends to write their own, according to the example of the open platform to write, very simple.

About Android One-click Sharing, eager to help!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.