1. Go to shareSDK’s official website, enter the development documentation, and download the SDK file. (share)

1.1 Decompress the zip package to obtain two folders. Go to the first file for Android folder.Select the JAR file in figure 1.1, double-click the file, and configure the third-party platform you need (click OK to get the sample folder).After selecting all four folders and copying them into the project, it is time to configure the Android manifest file.

2. Configure the Android manifest file. Address: wiki.mob.com/Android_%E5… 1. Add permissions

2, Add activity information if you integrate wechat, Wechat, Sina Weibo alipay also need to add the following callback activity processing; After configuring the above steps, you need to change the shareSDK in assets-> shares. XML file under the project and the key and secret values that you want to use for third-party sharing platform respectively. The values downloaded from share's official website are share's own information.Copy the code

3. Add sharing code

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — – (rules for sharing for the login below) — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

.