Java Code Examples for com.sina.weibo.sdk.api.share.IWeiboShareAPI#isWeiboAppInstalled()

The following examples show how to use com.sina.weibo.sdk.api.share.IWeiboShareAPI#isWeiboAppInstalled() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WeiboLoginInstance.java    From ShareUtil with Apache License 2.0 4 votes vote down vote up
@Override
public boolean isInstall(Context context) {
    IWeiboShareAPI shareAPI =
            WeiboShareSDK.createWeiboAPI(context, ShareManager.CONFIG.getWeiboId());
    return shareAPI.isWeiboAppInstalled();
}
 
Example 2
Source File: ShareUtil.java    From ShareUtil with Apache License 2.0 4 votes vote down vote up
@Deprecated
public static boolean isWeiBoInstalled(@NonNull Context context) {
    IWeiboShareAPI shareAPI =
            WeiboShareSDK.createWeiboAPI(context, ShareManager.CONFIG.getWeiboId());
    return shareAPI.isWeiboAppInstalled();
}
 
Example 3
Source File: WeiboLoginInstance.java    From smart-farmer-android with Apache License 2.0 4 votes vote down vote up
@Override
public boolean isInstall(Context context) {
    IWeiboShareAPI shareAPI =
            WeiboShareSDK.createWeiboAPI(context, ShareManager.CONFIG.getWeiboId());
    return shareAPI.isWeiboAppInstalled();
}
 
Example 4
Source File: ShareUtil.java    From smart-farmer-android with Apache License 2.0 4 votes vote down vote up
@Deprecated
public static boolean isWeiBoInstalled(@NonNull Context context) {
    IWeiboShareAPI shareAPI =
            WeiboShareSDK.createWeiboAPI(context, ShareManager.CONFIG.getWeiboId());
    return shareAPI.isWeiboAppInstalled();
}