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() . These examples are extracted from open source projects. 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 Project: ShareUtil   File: WeiboLoginInstance.java    License: 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 Project: ShareUtil   File: ShareUtil.java    License: 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
@Override
public boolean isInstall(Context context) {
    IWeiboShareAPI shareAPI =
            WeiboShareSDK.createWeiboAPI(context, ShareManager.CONFIG.getWeiboId());
    return shareAPI.isWeiboAppInstalled();
}
 
Example 4
Source Project: smart-farmer-android   File: ShareUtil.java    License: 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();
}