Android Open Source - Location Share BothShare






Project Summary

Android app, we can share the Text/Photo/Location to both Weibo and Weixin friedn circule. Use OAuth2 for authization.

Web Site / Source Repository

BothShare is hosted in the following web site
https://github.com/allencharp/BothShare

If you think the Android project BothShare listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of BothShare.

ItemValue
Java File Count42
Supported screen sizes[mdpi, ldpi, xxhdpi, hdpi, xhdpi]
Target SDK Version17
Minimum SDK Version14
Activity Count2
jar files usedandroid-support-v4.jar
weibosdkcore.jar
weibosdkcore.jar
Required Permissionsandroid.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE




Resource Files

There are 14 image files in BothShare. The names of the image files are listed as follows.

ic_com_sina_weibo_sdk_button_blue_focused.9.png
ic_com_sina_weibo_sdk_button_blue_normal.9.png
ic_com_sina_weibo_sdk_button_blue_pressed.9.png
ic_com_sina_weibo_sdk_button_grey_focused.9.png
ic_com_sina_weibo_sdk_button_grey_normal.9.png
ic_com_sina_weibo_sdk_button_grey_pressed.9.png
ic_com_sina_weibo_sdk_login_button_with_frame_logo_focused.png
ic_com_sina_weibo_sdk_login_button_with_frame_logo_normal.png
ic_com_sina_weibo_sdk_login_button_with_frame_logo_pressed.png
ic_com_sina_weibo_sdk_login_with_account_text_focused.png
ic_com_sina_weibo_sdk_login_with_account_text_normal.png
ic_com_sina_weibo_sdk_login_with_account_text_pressed.png
ic_com_sina_weibo_sdk_login_with_text.png
ic_com_sina_weibo_sdk_logo.png

The following screenshort is generated from the image listed above.

null




Java Source Files

BothShare has the following Java source files.

com.example.bothshare.BindingActivity.java
com.example.bothshare.MainActivity.java
com.example.listener.LocationRequestLisener.java
com.example.listener.PublishClickListener.java
com.example.listener.SelectedImageLongClickListener.java
com.example.listener.SendRequestListener.java
com.example.listener.SinaWeiboAuthListener.java
com.example.listener.WeiboBindButtonListener.java
com.example.listener.WeiboGetImageButtonListener.java
com.example.listener.WeiboPublishButtonListener.java
com.example.persistent.AccessTokenKeeper.java
com.example.persistent.Constant.java
com.example.util.LocationManager.java
com.example.util.LocationManagerUtil.java
com.sina.weibo.sdk.codestyle.CodingRuler.java
com.sina.weibo.sdk.codestyle.SampleCode.java
com.sina.weibo.sdk.exception.WeiboHttpException.java
com.sina.weibo.sdk.net.AsyncWeiboRunner.java
com.sina.weibo.sdk.net.HttpManager.java
com.sina.weibo.sdk.net.NetStateManager.java
com.sina.weibo.sdk.net.RequestListener.java
com.sina.weibo.sdk.openapi.AbsOpenAPI.java
com.sina.weibo.sdk.openapi.InviteAPI.java
com.sina.weibo.sdk.openapi.LogoutAPI.java
com.sina.weibo.sdk.openapi.legacy.AccountAPI.java
com.sina.weibo.sdk.openapi.legacy.ActivityInvokeAPI.java
com.sina.weibo.sdk.openapi.legacy.CommentsAPI.java
com.sina.weibo.sdk.openapi.legacy.CommonAPI.java
com.sina.weibo.sdk.openapi.legacy.FavoritesAPI.java
com.sina.weibo.sdk.openapi.legacy.FriendshipsAPI.java
com.sina.weibo.sdk.openapi.legacy.PlaceAPI.java
com.sina.weibo.sdk.openapi.legacy.RegisterAPI.java
com.sina.weibo.sdk.openapi.legacy.SearchAPI.java
com.sina.weibo.sdk.openapi.legacy.ShortUrlAPI.java
com.sina.weibo.sdk.openapi.legacy.StatusesAPI.java
com.sina.weibo.sdk.openapi.legacy.SuggestionsAPI.java
com.sina.weibo.sdk.openapi.legacy.TagsAPI.java
com.sina.weibo.sdk.openapi.legacy.TrendsAPI.java
com.sina.weibo.sdk.openapi.legacy.UsersAPI.java
com.sina.weibo.sdk.openapi.legacy.WeiboAPI.java
com.sina.weibo.sdk.widget.LoginButton.java
com.sina.weibo.sdk.widget.LoginoutButton.java