From 0589972ab4c1fcd360d1d134bc013646157df620 Mon Sep 17 00:00:00 2001 From: qinjiaming_branch <450015824@qq.com> Date: Fri, 26 Aug 2016 11:00:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A5=E9=87=8D=E4=BB=A3=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ~$$顺序图.~vsdx | Bin 4096 -> 0 bytes .../bin/classes/com/stone/util/Util$1.class | Bin 1038 -> 1038 bytes .../bin/classes/com/stone/util/Util.class | Bin 20502 -> 20596 bytes 代码/在这里3.0/src/com/stone/util/Util.java | 36 ++++++++++-------- 4 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 ~$$顺序图.~vsdx diff --git a/~$$顺序图.~vsdx b/~$$顺序图.~vsdx deleted file mode 100644 index 9756b0fc3baa043c529b0064d04b4a9ca54becd8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmeHJ%}T>S5T3ODpomlu58|N@U|vB4>8&)yLyrZ~f`yuZKM`-fijUxvsBfUJA(-|1 zWP{t%th>=mYNl*x#(XJvEM;ff!7X4$&c!glFI;q8bbRq$eER5A z8UHWOpS{3F_rv#WU%dqEDTi7)l@W68O2){-*k)X?){;iRzQex6b0|=o5-;J6gOtcE zaJh$2ZorM@6tXi&+-MK@#HBx1eC~HsyZ^>_!<*IG(D>}duK0}As&+&h68E3?0@i2U z6TZT-@Q({QLB^jW?^y-@HPA-onL*NNWt~|1+gf89-)c5@5%uqlPey_FOC{{M0) z#a6$;&uiVBO@B4N*b(S8J|_M`2^vi6j9b>?#b&kPJ>{;>?7_UF+7W zwA$7RZlJYjYZcLkD6XwVtJd1qR&8r*t%}yFwVTzV{D0@ZHrx@%S@VxdS&CDWklXe6EpL=vk5;f|n}GMI*}tXaBoWuUD+9Gom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%*+)R9yn$!JQCWsQ`PM9>{MHx}9ta{OISD2w8hcE|xR^+r=4suSr$ zccb^X(@{rFm#e0ZOo~4d@1K!vtOCPULrX+IQVz+We&W9DL$VA_1IUA1k{k?T%`hN- zKO_j;#~Tb{-7p|t8w!M6P#X+l!!RJ;9SkDVV{9_ca6nAOxBPJ(Qu~rorX6CRq343- zm~p0YmNP>t=rYG$($BdLm;yVo8H1Fu#qi;KEApNb)dFKHOlYg&H`?(}!~F+|OvmCp z{C4jLMgY{k$JlNJ(cfu=jdKu&e1@k83}_VZ-FSZwPx8J4@4N8+5uWg_b^t#9{2!fu BP=Wve diff --git a/代码/在这里3.0/src/com/stone/util/Util.java b/代码/在这里3.0/src/com/stone/util/Util.java index 854f733..bb6f120 100644 --- a/代码/在这里3.0/src/com/stone/util/Util.java +++ b/代码/在这里3.0/src/com/stone/util/Util.java @@ -117,8 +117,9 @@ private static final String TAG = "SDK_Sample.Util"; * @return byte[] */ public static byte[] hexStringToBytes(String hexString) { + byte[] nullreplace=null; if (hexString == null || "".equals(hexString)) { - return null; + return nullreplace; } hexString = hexString.toUpperCase(); int length = hexString.length() / 2; @@ -373,15 +374,19 @@ private static final String TAG = "SDK_Sample.Util"; Bitmap bitmap = BitmapFactory.decodeStream(stream , null, opts); return bitmap; } catch (OutOfMemoryError e) { + Logger logger = Logger.getLogger("lavasoft"); + logger.log(Level.SEVERE, "sthwrong", e); return null; } catch (Exception e) { + Logger logger = Logger.getLogger("lavasoft"); + logger.log(Level.SEVERE, "sthwrong", e); return null; } } private static final int MAX_DECODE_PICTURE_SIZE = 1920 * 1440; public static Bitmap extractThumbNail(final String path, final int height, final int width, final boolean crop) { - Assert.assertTrue(path != null && !path.equals("") && height > 0 && width > 0); + Assert.assertTrue(path != null && !"".equals(path) && height > 0 && width > 0); BitmapFactory.Options options = new BitmapFactory.Options(); @@ -392,7 +397,6 @@ private static final String TAG = "SDK_Sample.Util"; tmp.recycle(); tmp = null; } - Log.d(TAG, "extractThumbNail: round=" + width + "x" + height + ", crop=" + crop); final double beY = options.outHeight * 1.0 / height; final double beX = options.outWidth * 1.0 / width; @@ -453,6 +457,8 @@ private static final String TAG = "SDK_Sample.Util"; } catch (final OutOfMemoryError e) { Log.e(TAG, "decode bitmap failed: " + e.getMessage()); + Logger logger = Logger.getLogger("lavasoft"); + logger.log(Level.SEVERE, "sthwrong", e); options = null; } @@ -461,7 +467,8 @@ private static final String TAG = "SDK_Sample.Util"; public static final void showResultDialog(Context context, String msg, String title) { - if(msg == null) return; + if(msg == null) + return; String rmsg = msg.replace(",", "\n"); Log.d("Util", rmsg); new AlertDialog.Builder(context).setTitle(title).setMessage(rmsg) @@ -480,17 +487,13 @@ private static final String TAG = "SDK_Sample.Util"; mProgressDialog = ProgressDialog.show(context, title, message); } - public static AlertDialog showConfirmCancelDialog(Context context, - String title, String message, - DialogInterface.OnClickListener posListener) { - AlertDialog dlg = new AlertDialog.Builder(context).setMessage(message) - .setPositiveButton("确认", posListener) - .setNegativeButton("取消", null).create(); + public static AlertDialog showConfirmCancelDialog(Context context,String message,DialogInterface.OnClickListener posListener) + { + AlertDialog dlg = new AlertDialog.Builder(context).setMessage(message).setPositiveButton("确认", posListener).setNegativeButton("取消", null).create(); dlg.setCanceledOnTouchOutside(false); dlg.show(); return dlg; } - public static final void dismissDialog() { if (mProgressDialog != null) { mProgressDialog.dismiss(); @@ -518,7 +521,6 @@ private static final String TAG = "SDK_Sample.Util"; activity.runOnUiThread(new Runnable() { @Override public void run() { - // TODO Auto-generated method stub if (mToast != null) { mToast.cancel(); mToast = null; @@ -565,10 +567,12 @@ private static final String TAG = "SDK_Sample.Util"; Log.v(TAG, "image download finished." + imageUri); } catch (OutOfMemoryError e) { - e.printStackTrace(); + Logger logger = Logger.getLogger("lavasoft"); + logger.log(Level.SEVERE, "sthwrong", e); bitmap = null; } catch (IOException e) { - e.printStackTrace(); + Logger logger = Logger.getLogger("lavasoft"); + logger.log(Level.SEVERE, "sthwrong", e); Log.v(TAG, "getbitmap bmp fail---"); bitmap = null; } @@ -585,8 +589,8 @@ private static final String TAG = "SDK_Sample.Util"; // =兼容android 5.0 // ========== - public static String ACTION_OPEN_DOCUMENT = "android.intent.action.OPEN_DOCUMENT"; - public static int Build_VERSION_KITKAT = 19; + public static final String ACTION_OPEN_DOCUMENT = "android.intent.action.OPEN_DOCUMENT"; + public static final int Build_VERSION_KITKAT = 19; public static String getPath(final Context context, final Uri uri) { final boolean isKitKat = Build.VERSION.SDK_INT >= 19;