Merge commit 'ab36230278c858a46b798c20c1c262c2763b94a0'
| | |
| | | android:value="1075838976.000000" /> |
| | | <meta-data |
| | | android:name="com.samsung.android.keepalive.density" |
| | | android:value="true" /> |
| | | <meta-data |
| | | android:name="android.notch_support" |
| | | android:value="true" /> |
| | | android:value="true" /> <!-- <meta-data --> |
| | | <!-- android:name="android.notch_support" --> |
| | | <!-- android:value="true" /> --> |
| | | <meta-data |
| | | android:name="notch.config" |
| | | android:value="portrait|landscape" /> |
| | | android:value="none" /> |
| | | <meta-data |
| | | android:name="android.vendor.full_screen" |
| | | android:value="true" /> |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | * å¤é¨å卿 ¹ç®å½å°å |
| | | */ |
| | | public static final int ExteneralStorage = 11; |
| | | |
| | | public static final int CopyOneAsset = 12; |
| | | /** |
| | | * -------------------------------------------------------------------------------------------- |
| | | * 以ä¸ä¸ºåèªé¡¹ç®SDKç¸å
³ |
| | |
| | | }).start(); |
| | | } |
| | | |
| | | public static void copy(Context context, String fileName) |
| | | { |
| | | String _originalPath = "android" + File.separator + fileName; |
| | | String _destPath = context.getExternalFilesDir( |
| | | "").getAbsolutePath() + File.separator + fileName; |
| | | String _destDir = _destPath.substring(0, _destPath.lastIndexOf('/') + 1); |
| | | File _file = new File(_destDir); |
| | | if(!_file.exists()) |
| | | { |
| | | LogUtil.i(TAG,"åç¬æ·è´ => ä¸å卿å®è·¯å¾: " + _destDir + ", è¿éå建..."); |
| | | _file.mkdir(); |
| | | } |
| | | try |
| | | { |
| | | InputStream _is = context.getAssets().open(_originalPath); |
| | | FileOutputStream _fos = new FileOutputStream(new File(_destPath)); |
| | | byte[] _buffer = new byte[1024]; |
| | | int _byteCount; |
| | | while ((_byteCount = _is.read(_buffer)) != -1) |
| | | { |
| | | _fos.write(_buffer, 0, _byteCount); |
| | | } |
| | | _fos.flush(); |
| | | _is.close(); |
| | | _fos.close(); |
| | | LogUtil.i("FileUtil", "åç¬æ·è´ => æä»¶: " + _originalPath + " å·²æ·è´è³: " + _destPath); |
| | | } catch (Exception e) |
| | | { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public static void copy(Context context, String original, String dest) |
| | | { |
| | | try |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity, _json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | * å¤é¨å卿 ¹ç®å½å°å |
| | | */ |
| | | public static final int ExteneralStorage = 11; |
| | | |
| | | public static final int CopyOneAsset = 12; |
| | | /** |
| | | * -------------------------------------------------------------------------------------------- |
| | | * 以ä¸ä¸ºåèªé¡¹ç®SDKç¸å
³ |
| | |
| | | }).start(); |
| | | } |
| | | |
| | | public static void copy(Context context, String fileName) |
| | | { |
| | | String _originalPath = "android" + File.separator + fileName; |
| | | String _destPath = context.getExternalFilesDir( |
| | | "").getAbsolutePath() + File.separator + fileName; |
| | | try |
| | | { |
| | | InputStream _is = context.getAssets().open(_originalPath); |
| | | FileOutputStream _fos = new FileOutputStream(new File(_destPath)); |
| | | byte[] _buffer = new byte[1024]; |
| | | int _byteCount; |
| | | while ((_byteCount = _is.read(_buffer)) != -1) |
| | | { |
| | | _fos.write(_buffer, 0, _byteCount); |
| | | } |
| | | _fos.flush(); |
| | | _is.close(); |
| | | _fos.close(); |
| | | LogUtil.i("FileUtil", "åç¬æ·è´ => æä»¶: " + _originalPath + " å·²æ·è´è³: " + _destPath); |
| | | } catch (Exception e) |
| | | { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public static void copy(Context context, String original, String dest) |
| | | { |
| | | try |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity,_json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | * å¤é¨å卿 ¹ç®å½å°å |
| | | */ |
| | | public static final int ExteneralStorage = 11; |
| | | |
| | | public static final int CopyOneAsset = 12; |
| | | /** |
| | | * -------------------------------------------------------------------------------------------- |
| | | * 以ä¸ä¸ºåèªé¡¹ç®SDKç¸å
³ |
| | |
| | | }).start(); |
| | | } |
| | | |
| | | public static void copy(Context context, String fileName) |
| | | { |
| | | String _originalPath = "android" + File.separator + fileName; |
| | | String _destPath = context.getExternalFilesDir( |
| | | "").getAbsolutePath() + File.separator + fileName; |
| | | try |
| | | { |
| | | InputStream _is = context.getAssets().open(_originalPath); |
| | | FileOutputStream _fos = new FileOutputStream(new File(_destPath)); |
| | | byte[] _buffer = new byte[1024]; |
| | | int _byteCount; |
| | | while ((_byteCount = _is.read(_buffer)) != -1) |
| | | { |
| | | _fos.write(_buffer, 0, _byteCount); |
| | | } |
| | | _fos.flush(); |
| | | _is.close(); |
| | | _fos.close(); |
| | | LogUtil.i("FileUtil", "åç¬æ·è´ => æä»¶: " + _originalPath + " å·²æ·è´è³: " + _destPath); |
| | | } catch (Exception e) |
| | | { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public static void copy(Context context, String original, String dest) |
| | | { |
| | | try |
| | |
| | | case CodeU2A.AssetCopy: |
| | | FileUtil.copyAssets(_activity); |
| | | break; |
| | | case CodeU2A.CopyOneAsset: |
| | | FileUtil.copy(_activity,_json.getString("fileName")); |
| | | break; |
| | | case CodeU2A.BatteryListenStart: |
| | | BatteryUtil.getInstance().start(_activity); |
| | | break; |
| | |
| | | * å¤é¨å卿 ¹ç®å½å°å |
| | | */ |
| | | public static final int ExteneralStorage = 11; |
| | | |
| | | /** |
| | | * æ·è´åä¸Assetæä»¶ |
| | | */ |
| | | public static final int CopyOneAsset = 12; |
| | | /** |
| | | * -------------------------------------------------------------------------------------------- |
| | | * 以ä¸ä¸ºåèªé¡¹ç®SDKç¸å
³ |
| | |
| | | }).start(); |
| | | } |
| | | |
| | | public static void copy(Context context, String fileName) |
| | | { |
| | | String _originalPath = "android" + File.separator + fileName; |
| | | String _destPath = context.getExternalFilesDir( |
| | | "").getAbsolutePath() + File.separator + fileName; |
| | | try |
| | | { |
| | | InputStream _is = context.getAssets().open(_originalPath); |
| | | FileOutputStream _fos = new FileOutputStream(new File(_destPath)); |
| | | byte[] _buffer = new byte[1024]; |
| | | int _byteCount; |
| | | while ((_byteCount = _is.read(_buffer)) != -1) |
| | | { |
| | | _fos.write(_buffer, 0, _byteCount); |
| | | } |
| | | _fos.flush(); |
| | | _is.close(); |
| | | _fos.close(); |
| | | LogUtil.i("FileUtil", "åç¬æ·è´ => æä»¶: " + _originalPath + " å·²æ·è´è³: " + _destPath); |
| | | } catch (Exception e) |
| | | { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | public static void copy(Context context, String original, String dest) |
| | | { |
| | | try |
New file |
| | |
| | | 游æåç§°ï¼å°å¹´å¾¡åè¯ |
| | | Apple IDï¼1440102069 |
| | | å
åï¼com.yaohuan.snyjj |
| | | appidï¼1075 |
| | | SIDï¼59 |
| | | ç§é¥ï¼782c2c4785aa5fe14fa5efb8f2e8a3fa |
| | | |
| | | è¯ä¹¦å¯ç ï¼1 |
| | | |
| | | æ²ç®±æµè¯è´¦å· Yjj20181025@126.com |
| | | æ²ç®±æµè¯è´¦å·å¯ç Yjj20181025 |