Android one-click Sharing does not use any third-party sdk

Source: Internet
Author: User

There is a built-in one-click sharing feature in android, but it will find all apps with sharing. If we only need some common sharing apps, what should we do?

See me below (automatic adaptation of landscape and landscape ):

Next, let's look at my call (images and text sharing are supported. images can be network images and local sdcard paths ):

1 AndroidShare as = new AndroidShare (2 MainActivity. this, 3 "Haha --- ultra-convenient sharing !!! From allen ", 4" http://www.fjsen.com/images/attachement/jpg/site2/20100701/001aa02d373c0d96c27324.jpg "); 5 as. show ();

Is it very convenient? You can download and use it directly !!!

Dash me !!!

 

Related Article

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.