private void getHardwareInfo(JSONArray args, final CallbackContext callbackContext) {
String uuid = Settings.Secure.getString(this.cordova.getActivity().getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
JSONObject j = new JSONObject();
try {
j.put("uuid", uuid);
j.put("platform", this.getPlatform());
j.put("tz", this.getTimeZoneID());
j.put("tz_offset", this.getTimeZoneOffset());
j.put("os_version", this.getOSVersion());
j.put("sdk_version", this.getSDKVersion());
} catch(JSONException ex) {}
final PluginResult result = new PluginResult(PluginResult.Status.OK, j);
callbackContext.sendPluginResult(result);
}
IonicDeeplink.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:ionic-plugin-deeplinks
作者:
评论列表
文章目录