| | |
| | | import android.support.v4.content.PermissionChecker; |
| | | import android.widget.Toast; |
| | | |
| | | import com.reyun.tracking.sdk.Tracking; |
| | | import com.unity3d.player.UnityPlayer; |
| | | |
| | | import org.json.JSONObject; |
| | |
| | | |
| | | public static int getMetaInt(Activity activity, String key) |
| | | { |
| | | LogUtil.i(TAG, "将要获取的MetaKey: " + key); |
| | | PackageManager _pkgMgr = activity.getPackageManager(); |
| | | ApplicationInfo _appInfo; |
| | | try |
| | |
| | | return -1; |
| | | } |
| | | |
| | | public static boolean isEmpty(String s) { |
| | | if (null == s) |
| | | return true; |
| | | if (s.length() == 0) |
| | | return true; |
| | | if (s.trim().length() == 0) |
| | | return true; |
| | | return false; |
| | | } |
| | | } |