锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-Java,J2EE,Weblogic,Oraclehttp://www.8634070.com/zygcs/java椤圭洰闅忕瑪zh-cnTue, 26 Mar 2019 20:15:01 GMTTue, 26 Mar 2019 20:15:01 GMT60 鏀惰棌 JNI涓插彛閫氫俊澶氭枃浠惰皟鐢椂寮傚父http://www.8634070.com/zygcs/archive/2013/03/05/396100.html榫氭娣?/dc:creator>榫氭娣?/author>Tue, 05 Mar 2013 11:26:00 GMThttp://www.8634070.com/zygcs/archive/2013/03/05/396100.htmlhttp://www.8634070.com/zygcs/comments/396100.htmlhttp://www.8634070.com/zygcs/archive/2013/03/05/396100.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/396100.htmlhttp://www.8634070.com/zygcs/services/trackbacks/396100.html闃呰鍏枃

]]>
launcher淇?#37824;?-淇?#37824;launcher鐨勫睆骞曟暟http://www.8634070.com/zygcs/archive/2013/02/25/395699.html榫氭娣?/dc:creator>榫氭娣?/author>Mon, 25 Feb 2013 07:07:00 GMThttp://www.8634070.com/zygcs/archive/2013/02/25/395699.htmlhttp://www.8634070.com/zygcs/comments/395699.htmlhttp://www.8634070.com/zygcs/archive/2013/02/25/395699.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/395699.htmlhttp://www.8634070.com/zygcs/services/trackbacks/395699.html棣?#37711;?#38171;屽湪Launcher.java浠爜涓?#38171;?#32471;?25琛?/span>

  1. static final int SCREEN_COUNT = 5;  
  2. static final int DEFAULT_SCREEN = 2;//绗?#28051;椤垫槸浠?寮濮嬭?#26271;锛?#26473;欓噷?#27128;?#22968;绗?#28051;?#28051;?#26916;?#38344;綔涓洪?#27199;棣?#26916;?nbsp; 

绗?#28051;涓?#37721;傛暟瀹氫?#22794;睆骞?#28051;暟锛?#32471;?#28051;涓?#37721;傛暟?#27128;榛樿鐨?#26851;?#26916;点傚湪杩欓噷锛屼綘鍙?#28000;?#37707;氬嚭鑷繁鐨?#28103;?#37824;广備絾?#27128;锛?#28000;呰繖鐐?#28103;?#37824;?#38171;?#26473;?#26473;?#28051;?#28598;?#38171;屾垜浠湅涓涓媗auncher.xml

  1. <com.android.launcher2.DragLayer  
  2.     xmlns:android="http://schemas.android.com/apk/res/android"  
  3.     xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"  
  4.   
  5.     android:id="@+id/drag_layer"  
  6.     android:layout_width="match_parent"  
  7.     android:layout_height="match_parent">  
  8.   
  9.     <include layout="@layout/all_apps" />  
  10.   
  11.     <!-- The workspace contains 3 screens of cells -->  
  12.     <com.android.launcher2.Workspace  
  13.         android:id="@+id/workspace"  
  14.         android:layout_width="match_parent"  
  15.         android:layout_height="match_parent"  
  16.         android:scrollbars="horizontal"  
  17.         android:fadeScrollbars="true"  
  18.         launcher:defaultScreen="2">  
  19.   
  20.         <include android:id="@+id/cell1" layout="@layout/workspace_screen" />  
  21.         <include android:id="@+id/cell2" layout="@layout/workspace_screen" />  
  22.         <include android:id="@+id/cell3" layout="@layout/workspace_screen" />  
  23.         <include android:id="@+id/cell4" layout="@layout/workspace_screen" />  
  24.         <include android:id="@+id/cell5" layout="@layout/workspace_screen" />  
  25.   
  26.     </com.android.launcher2.Workspace>  

?#22428;浠?#37721;?#28000;湅?#22476; 瀵?#37711;?#27996;?#27996;?#28051;獁orkspace_screen锛屽湪杩欓噷锛?#37721;?#37907;綘涓?#38344;?#28103;?#37824;圭殑鍙傛暟锛?#23075;诲姞鎴栬呭垹闄workspace_screen銆傚湪杩欓噷锛屼綘鍙兘涔熸敞鎰忓埌浜?/span>

  1. launcher:defaultScreen="2">  

?#28266;杩欓?#23677;?#27691;鐨defaultScreen銆?/span>

鍚屾椂锛岃淇?#37824;workspace.java涓?80

  1. mDefaultScreen = a.getInt(R.styleable.Workspace_defaultScreen, 1);  

鍜宺es/xml?#26499;浠?#28051;璬efault_workspace鍋氬嚭鐩稿簲鐨?#28103;?#37824;广?#26473;?#37837;峰氨鍩烘湰涓?#37721;?#28000;?#27996;?#37510;?/span>



]]>
android jni涔婥 鍜?C++ 鍑芥暟瀹炵幇鐨勬瘮杈?/title><link>http://www.8634070.com/zygcs/archive/2013/01/30/394953.html</link><dc:creator>榫氭娣?/dc:creator><author>榫氭娣?/author><pubDate>Wed, 30 Jan 2013 10:44:00 GMT</pubDate><guid>http://www.8634070.com/zygcs/archive/2013/01/30/394953.html</guid><wfw:comment>http://www.8634070.com/zygcs/comments/394953.html</wfw:comment><comments>http://www.8634070.com/zygcs/archive/2013/01/30/394953.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/zygcs/comments/commentRss/394953.html</wfw:commentRss><trackback:ping>http://www.8634070.com/zygcs/services/trackbacks/394953.html</trackback:ping><description><![CDATA[<p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong>浠爜锛?/strong></p><ol style="margin: 0px 0px 0px 35px; padding: 0px; list-style-position: initial; list-style-image: initial; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; "><strong> <span style="text-decoration: underline; ">jclass test_class = env->GetObjectClass(obj);</span></strong></p></li><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; "><strong><span style="text-decoration: underline; "> jfieldID id_num = env->GetFieldID(test_class, "num", "I");</span></strong></p></li></ol><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong>缂?#29831;?#38335;?#29831;?#37819;愮锛?/strong></p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">/home/miyuehu/work/WebJsTest/jni/jnitest.c:22: <strong>error: request for member 'GetObjectClass' in something not a structure or union<br /></strong>/home/miyuehu/work/WebJsTest/jni/jnitest.c:23: <strong>error: request for member 'GetFieldID' in something not a structure or union</strong></p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "> </p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong>?#25950;鎰?#38171;歫ni.h澶存枃浠?#28051;?#28725;逛簬***.c  &  ***.cpp閲?#37922;?#28051;嶅悓鐨勫?#27691;</strong></p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong><br />jclass (JNICALL *GetObjectClass)   (JNIEnv *env, jobject obj);</strong></p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong>jclass GetObjectClass(jobject obj) {<br />        return functions->GetObjectClass(this,obj);<br />    }</strong></p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "> </p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><strong>瀵逛簬***.c</strong></p><ol style="margin: 0px 0px 0px 35px; padding: 0px; list-style-position: initial; list-style-image: initial; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; ">jclass test_class = (*env)->GetObjectClass(env, obj);</p></li><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; ">jfieldID id_num = (*env)->GetFieldID(env, test_class, "num", "I");</p></li></ol><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "> </p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "> </p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">瀵逛簬<strong> ***.cpp</strong></p><ol style="margin: 0px 0px 0px 35px; padding: 0px; list-style-position: initial; list-style-image: initial; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; ">jclass test_class = env->GetObjectClass(obj); </p></li><li style="margin: 0px; padding: 0px; "><p style="margin: 0px; padding: 0px; ">jfieldID id_num = env->GetFieldID(test_class, "num", "I"); </p></li></ol><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; "> </p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">?#28266; C 涓?#38171;?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">JNI 鍑芥暟?#30367;鐢?#37922;?#8220;(*env)->”?#32148;?#22688;缂锛岀洰鐨勬槸涓?#27996;?#37721;栧嚭鍑芥暟鎸囬拡鎵寮?#37922;?#37928;勫?#37510;?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">?#28266; C++ 涓?#38171;?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">JNIEnv 绫绘嫢鏈?#28598;?#37918;?#37713;芥暟鎸囬拡?#29025;鎵?#37928;勫?#21616;仈鎴愬憳鍑芥暟銆?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">涓?#38344;?#28751;?#29831;?#37828;?#26473;?#28051;?#32513;嗗鐨勫寮?#38171;?#37711;?#28051;?#38171;?#26473;?#28051;?#29723;?#28000;爜璁?#38338;?#37722;?#28051;鍑芥暟锛屼絾姣忕璇言?#20824;鏈夊?#21230;嚜鐨?#29831;?#23049;?#37510;?/p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">C 璇?#23049;?#38171;歫size len = (*env)->GetArrayLength(env,array);</p><p style="margin: 0px; padding: 0px; color: #454545; font-family: Tahoma, Helvetica, Arial, STHeiti; background-color: #ffffff; ">C++ 璇?#23049;?#38171;歫size len =env->GetArrayLength(array);</p><img src ="http://www.8634070.com/zygcs/aggbug/394953.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/zygcs/" target="_blank">榫氭娣?/a> 2013-01-30 18:44 <a href="http://www.8634070.com/zygcs/archive/2013/01/30/394953.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>ANR瓒呮椂?#26882;闂?#37928;勫?#27691; .http://www.8634070.com/zygcs/archive/2012/11/27/392094.html榫氭娣?/dc:creator>榫氭娣?/author>Tue, 27 Nov 2012 13:15:00 GMThttp://www.8634070.com/zygcs/archive/2012/11/27/392094.htmlhttp://www.8634070.com/zygcs/comments/392094.htmlhttp://www.8634070.com/zygcs/archive/2012/11/27/392094.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/392094.htmlhttp://www.8634070.com/zygcs/services/trackbacks/392094.htmlANR瓒呮椂?#26882;闂?#37928;勫?#27691;

android\frameworks\base\services\java\com\android\server\am\ActivityManagerService.java

1.       broadcast瓒呮椂?#26882;闂?#28051;?/span>10绉?/span>

static final int BROADCAST_TIMEOUT = 10*1000;

2.       绉?/span>

    static final int KEY_DISPATCHING_TIMEOUT = 5*1000;



]]>
Android缂栫涔嬭鍐砤ndroid-support-v4鎵撳寘闂?#26864;?/title><link>http://www.8634070.com/zygcs/archive/2012/10/13/389516.html</link><dc:creator>榫氭娣?/dc:creator><author>榫氭娣?/author><pubDate>Sat, 13 Oct 2012 11:06:00 GMT</pubDate><guid>http://www.8634070.com/zygcs/archive/2012/10/13/389516.html</guid><wfw:comment>http://www.8634070.com/zygcs/comments/389516.html</wfw:comment><comments>http://www.8634070.com/zygcs/archive/2012/10/13/389516.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/zygcs/comments/commentRss/389516.html</wfw:commentRss><trackback:ping>http://www.8634070.com/zygcs/services/trackbacks/389516.html</trackback:ping><description><![CDATA[<p>濡傛?#28355;伐绋?#23534;?#37711;?#27996;咥ndroid-support-v4鐨刯ar绫诲簱锛岄偅涔堝湪宸?#32459;?#37813;撳寘娣?#23075;嗘椂锛屽氨浼氬嚭鐜版姤閿?#37819;愮銆備?#23338;鎻愮?#36720;綘锛歒ou may need to specify additional library jars (using '-libraryjars')銆?/p> <p>杩欓噷鍏堢粰?#22189;瑙?#37712;?#37826;?#22935;?#38171;岀?#23941;悗?#22428;浠?#37712;嶆潵瑙?#38322;婂?#20633;綍澶?#37918;?#32491;讳技鎯呭喌锛?/p> <p>?#28266;proguard.cfg?#22135;鐨勫悗闈?#38171;?#23075;诲姞濡?#28051;嬪?#21613;锛?/p> <p>1.-libraryjars /android-support-v4.jar  <br />2.-dontwarn android.support.v4.**  <br />3.-keep class android.support.v4.** { *; }  4.-keep public class * extends android.support.v4.**  5.-keep public class * extends android.app.Fragment  鐒?#37722;庝綘鍐?#37813;撳寘?#28229;?#28229;锛屽簲璇?#37721;?#28000;?#23005;父鐢?#37812;恆pk瀹夎?#21613;寘浜?#37510;?/p> <p>鎵撳?#21613;?#27946;敊锛?br />鎯呭喌涓锛?br /> "绫? can't find referenced class 绫?" 瀛?#38344;?#28051;?#37928;?#37808;忔濆氨?#27128;绫?鎵?#28051;嶅埌绫?鐨?#23534;?#37922;?#38171;?#28729;冧?#27692;缓璁綘锛?You may need to specify additional library jars (using '-libraryjars').";<br />闇瑕?#28003;?#37922;?libraryjars?#23006;涓?#26916;圭洰涓?#28003;?#37922;埌鐨?#32471;?#28051;?#37826;?#25652;撳氨OK浜?#37510;?br />渚嬪锛?libraryjars /android-support-v4.jar<br />?#25950;鎰?#38171;?#26473;欓噷寮?#37922;?#37826;?#23534;忔槸?#32139;鍓嶅伐绋?#37928;?#37837;圭洰?#32141;锛?#28052;?#37721;?#28000;?#38320;嶇疆鍏?#28000;栫洰?#32141;锛?#38171;?#28052;熷氨?#27128;璇?#38171;屼綘瑕佹妸绗?#28051;?#37826;筳ar鏀?#37714;板綋?#22688;?#27952;?#32141;涓?#38171;屽惁鍒欏氨?#32048;璀憡璇存壘涓嶅埌jar?#26499;浠?#38171;?/p> <p>鎯呭喌浜?#38171;?br />渚嬪锛?can't find superclass or interface android.os.Parcelable$ClassLoaderCreator锛岀?#26495;埌杩?#37837;?#37928;勬?#21613;喌锛?#37721;?#28000;?#28003;?#37922;?dontwarn com.xx.yy.**锛?#28051;嶅閿?#29831;?#37819;愬嚭璀憡銆?br />?#25950;鎰?#38171;氫娇鐢?#26473;?#28051;?#37826;?#23534;忕殑璇?#38171;岃?#20346;淇?#38007;繁?#30149;鏈?#37922;埌杩?#28051;?#25652;噷闈?#37928;?#32491;?#38171;?#37722;?#37714;欏氨浼氭姏ClassNotFoundException锛?/p> <p>鎯呭喌涓?#38171;?br />?#28266;宸?#32459;?#28051;?#32429;?#28729;?#37922;埌浜?#29831;?#32491;?#38171;?#38322;?#37922;?#28051;?#38344;?#37826;?#23534;?#26473;樻槸涓?#29723;?#37510;?#26473;?#28051;椂鍊欏氨瑕?#37712;嶅?#28850;姞涓椤?#38171;?keep class com.xx.yy.** { *;}锛?#29825;綋?#22688;绫?#28051;?#23075;?#23075;?#37510;?/p> <p>灏忕粨锛?br />瀵逛簬寮?#37922;?#32471;?#28051;?#37826;瑰寘鐨勬?#21613;喌锛?#37721;?#28000;?#38322;?#37922;?#28051;?#38344;?#37826;?#23534;?#38316;?#37711;?#37813;撳?#21613;?#27946;敊锛?br />-libraryjars /aaa.jar<br />-dontwarn com.xx.yy.**<br />-keep class com.xx.yy.** { *;}</p> <p>鏈鍚?#37813;撳寘鎴愬锛?#26473;樿?#20344;湪鏈?#28699;?#28051;?#29882;戣窇锛岀湅?#28229;鏈夋病鏈?#38338;?#26864;?#37510;?br /></p><br /><br />鍘熸枃閾炬帴锛?a href="http://www.linuxidc.com/Linux/2012-07/66798.htm">http://www.linuxidc.com/Linux/2012-07/66798.htm</a><img src ="http://www.8634070.com/zygcs/aggbug/389516.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/zygcs/" target="_blank">榫氭娣?/a> 2012-10-13 19:06 <a href="http://www.8634070.com/zygcs/archive/2012/10/13/389516.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>android Memory Management, OutOfMemoryError Notehttp://www.8634070.com/zygcs/archive/2012/09/29/388847.html榫氭娣?/dc:creator>榫氭娣?/author>Sat, 29 Sep 2012 07:53:00 GMThttp://www.8634070.com/zygcs/archive/2012/09/29/388847.htmlhttp://www.8634070.com/zygcs/comments/388847.htmlhttp://www.8634070.com/zygcs/archive/2012/09/29/388847.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/388847.htmlhttp://www.8634070.com/zygcs/services/trackbacks/388847.html1銆

 

 銆銆Android妗嗘灦寮?#37714;?#23011;?#28051;?#26473;?#32459;?#37928;?4 MB鍐呭瓨闄愬埗銆傚湪涓浜?#37827;?#37928;勮澶?#38171;屽?#20634;湪G1锛?#38340;愬埗涓?6 MB 鏇?#28003;?#38171;屾洿閲?#29781;?#37928;勬槸锛?#37922;?#28003;嶅浘浣?#37922;?#37928;勫?#21613;瓨闄愬埗銆?#28598;?#37918;嗗?#24807;?#24533;?#21227;簲鐢?#32459;嬪簭锛屽畠?#27128;寰?#28729;?#37828;?#26440;?#37714;版闄愬埗锛?#39582;惰?#23792;緱涓OOM 寮傚父姝?#27996;?鐨勮?#22249;锛E / dalvikvm鍫?#38171;?2517锛?#38171;?048576瀛楄妭澶?#38318;?#37714;?#38320;?#26473;?#28051;?杩囩涓?#26473;?#28598;?#37928;E / GraphicsJNI锛?2517锛?#38171;?VM灏?#28051;嶄細璁垜浠?#37714;?#38320;?048576瀛楄妭 / AndroidRuntime锛?2517锛?#38171;?#37711;?#38338;VM / dalvikvm锛?2517锛?#38171;?#28051;婚ID = 1锛氱嚎绋?#37832;?#37817;曡幏鐨?#23534;傚父閫?#22189;锛?#38342;嗗洟= 0x4001d7f0 锛?E / AndroidRuntime锛?2517锛?#38171;?#38007;?#37723;?#23534;傚父锛?#28051;?#29781;?鐢?#28699;? AndroidRuntime锛?2517锛?#38171;歫ava.lang.OutOfMemoryError锛氫?#23941;浘鐨?#28598;?#28751;?#29906;呰繃VM鐨勯?#21229; 锛?#26473;?#28051;?#38340;愬埗?#27128;浣?#23536;?#32450;昏氨 銆?#29825;?#28598;?#38171;屽512MB鐨勭墿鐞哛AM鐨凬exus涔?#28051;锛?#29825;剧疆姣?#28051;?#26473;?#32459;?#37928;勫墠鍙版?#35826;姩鍙?#37832;?锛?#37928;RAM鐨勫?#21613;瓨闄愬埗?#27128;涓涓?#37808;氳鐨勯敊璇?銆備絾鏃?#29825;?#28641;備綍锛屼簨鎯呮槸濡備綍鍜屾垜浠?#37922;熸-鍗?#37813;?#37714;板?#20633;綍瑙?#37712;?#28729;?#37510;?/font>

杩?#26473;滆?#21616;繃闄愬埗鐨勫?#21613;瓨鍒?#38320;?#37826;?#23534;?#37832;?#28051;?#32457;?锛?/font>

銆銆涓绉?#37826;?#23049;曟槸浠庢湰鏈?#28000;爜鍒?#38320;嶅?#21613;瓨 銆備娇鐢NDK锛堟湰鍦?#23534;鍙?#23480;?#37711;峰寘锛夊拰JNI锛屽畠鍙兘浠嶤绾?#38171;?#28641;?#37928;malloc / free鎴?#37826;板缓/?#22457;闄?#38171;夊垎閰嶅?#21613;瓨锛?#26473;?#37837;?#37928;勫垎閰嶆槸涓?#29825;?#37711;?#28725;?4 MB鐨勯?#24876;埗 銆?#26473;欐槸鐪?#37928;?#38171;?#28000;庢湰鏈?#28000;爜鍒?#38320;嶅?#21613;?#27195;槸涓?#28000;Java鏂逛究锛屼絾瀹?#37721;?#28000;?#29722;?#37922;潵瀛樺偍?#28266;RAM涓?#37928;勬暟鎹?#38171;堝嵆浣垮?#24807;?#24532;暟鎹?#38171;?#37928;?#28051;浜?#28598;?#38322;戦 銆?/font>

銆銆鍙?#28051;绉?#37826;?#23534;?#38171;?span style="color: #3366ff">鍏?#28051;?#37928;勪綔鍝?#28000;?#37721;婂?#24807;?#24533;殑锛屾槸浣?#37922;OpenGL鐨勭?#22317;悊-绾圭?#21975;?#21613;瓨涓?#29825;?#37711;?#38340;愬埗 锛岃?#20345;煡?#28229;?#20557;鐨勫簲鐢?#32459;嬪?#24533;瀹?#37714;?#38320;?#28598;氬皯鍐呭瓨鍙?#28000;?#28003;?#37922;?span style="color: #3366ff">android.os.Debug.getNativeHeapAllocatedSize锛?锛?/span>锛?#37721;?#28000;?#28003;?#37922;?#28051;?#38344;?#28000;嬬鐨?#28051;?#32457;?#37814;鏈?#37928;凬exus涔?#28051;锛屾垜鍙?#28000;?#26462;绘澗鍦?#28051;?#28051;涓?#37719;?#28051;鐨勫墠鍙?#26473;?#32459;嬪垎閰?00MB - 10鍊?#28000;?#28051;?#37928;?#27035;樿24 MB鐨勯?#24876;埗 锛?#28000;?#28051;?#38344;潵?#28229;浣?#37922;navtive浠爜鍒?#38320;嶅?#21613;?#27195;槸涓嶅湪24MB鐨勯?#24876;埗鍐?#37928;?/span>锛?#23534;鏀?#37928;GL鐨勮川鍦?#28052;熸槸浣?#37922;navtive浠爜鍒?#38320;嶅?#21613;瓨鐨?#38171;?銆?/font>

銆姣?#28051;?android 骞?#37721;板?#21613;瓨闄愬埗涓?#28051;鏍?#38171;?#28000;?#37832;寮濮?#37928;?16M ?#22476; 24M锛?#28000;?#37721;?#37722;庢潵鐨?32M锛?4M锛屾垨璁?#28000;?#37722;?#28028;氭洿澶?#37510;?/p>

銆銆?#20549;濡備綍?#24143;鍙栧崟涓?app 鍐呭瓨闄愬埗澶?#28751;忓锛?/p>

銆銆class : ActivityManager

ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
activityManager.getMemoryClass();

銆銆?#32139;鐒?#38171;孉ctivityManager 涓嶅?#26334;崟闄?#28051;庢锛?#29825;?#28598;氬 android 绋嬪?#24533;鐞?#37928;勫伐鍏?#38171;岄兘?#28533;婧?#28051;庢锛屾?#26668;?#28000;?#26473;欓噷杩?#29723;屾墿?#30541;銆?/span> 

 


android涓嶅悓璁?#28598;?#37719;?#28051;?#26473;?#32459;?#37721;?#37922;?#37712;呭?#27195;槸涓?#28051;鏍?#37928;?#38171;?#37721;?#28000;煡?#28229;/system/build.prop?#26499;浠?#37510;?/span>

dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m 

heapsize鍙傛暟琛?#32448;哄崟涓?#26473;?#32459;?#37721;?#37922;?#37928;勬渶澶?#37712;呭瓨锛屼絾濡傛?#28355;瓨?#28266;濡?#28051;?#37721;傛暟锛?/p>

dalvik.vm.heapgrowthlimit=48m琛?#32448;哄崟涓?#26473;?#32459;嬪?#21613;?#27199;闄愬畾?#28266;48m,鍗?#32459;嬪簭杩?#29723;?#26473;囩涓?#28729;?#38340;?#37721;兘浣?#37922;?8m鍐呭瓨

android涓?#37928;勫簲鐢槸java锛屽綋鐒堕渶瑕佽?#27693;?#29112;満锛岃宎ndroid涓?#37928;勫簲鐢槸甯?#37832;夌嫭绔嬭?#27693;?#29112;満鐨?#38171;?/span>涔熷氨?#27128;姣?#23534;涓涓簲鐢氨浼氭墦寮涓涓嫭绔?#37928;勮?#27693;?#29112;満銆?#26473;?#37837;?#29825;?#29825;?#37928;勫?#29111;洜?#27128;鍙?#28000;?#38316;?#37711;嶈?#27693;?#29112;満宕?#23143;?#28725;?#38007;?#37825;?#28051;?#32495;?#32513;熷穿婧?#38171;屼絾浠?#28000;峰氨?#27128;闇瑕佹洿澶氬?#21613;瓨銆?span>浠?#28051;?#26473;?#27996;?#29825;?#29825;?#32429;?#28103;?#27996;哸ndroid鐨?#32459;?#28729;氭?#38171;屾?#29238;鎯呭喌涓?#37832;澶氬崟涓?#32459;嬪?#24531;穿婧?#38171;屼絾鏁?#28051;?#32495;?#32513;?#28051;?#28028;氬穿婧?#38171;?#28052;熸案杩滄病鏈夊?#21613;瓨涓?#29906;?#37928;勬?#24878;?#21700;嚭?#24135;銆?/span>


銆?#28266;Android涓?#38171;?#28051;涓狿rocess 鍙兘浣?#37922;?6M鍐呭瓨锛?#38171;?#38171;?#38171;岃?#20345;槸瓒呰繃浜?#26473;?#28051;?#38340;愬畾?#27688;?#32048;璺冲嚭杩?#28051;?#23534;傚父

銆銆For Android specific we should use the 'recycle' method rather than 'gc', because 'recycle' will free the memory at the same time, but calling 'gc' doesn't guaranty to run and free the memory for same time(if it is not too critical, we should not call gc in our code) and results can very every time.
One more thing using 'recycle' is faster than the 'gc' and it improves the performance.

鍗?#38171;?span style="font-family: 瀹?#28003;? color: #ff0000">bitmap.recycle();

銆銆biamap=null;

鏁堟?#28358;?#20344;浜?/p>

銆銆biamap=null;

銆銆system.gc();

閫?#26473;DDMS涓?#37928;Heap閫?#26916;瑰鐩戣?#21975;?#21613;瓨鎯呭喌锛?/p>

1.Heap瑙嗗浘涓?#38318;?#37832;?#28051;涓猅ype鍙?#37707;data object锛屽?#34411;暟鎹?#28725;硅薄锛?#28052;熷氨?#27128;?#22428;浠?#37928;?#32459;嬪簭涓?#28598;?#38322;忓瓨?#28266;鐨?#32491;?#32491;诲瀷鐨勫?#30789;薄銆?/p>

2.?#28266;data object涓琛?#28051;?#37832;?#28051;鍒楁槸“Total Size”锛?#37711;跺煎氨?#27128;?#32139;?#22688;杩?#32459;?#28051;?#37813;鏈塉ava?#26271;鎹?#28725;硅薄鐨勫?#21613;?#27195;?#38322;?#37510;?/p>

濡傛灉浠爜涓?#28699;樺湪?#30149;鏈?#38322;?#37824;?#28725;硅薄寮?#37922;?#37928;勬?#21613;喌锛屽垯data object鐨凾otal Size鍊煎湪姣忔GC鍚?#28051;?#28028;氭湁鏄?#37828;?#37928;勫洖钀?#38171;?#38341;忕潃?#25655;?#32148;娆暟鐨勫澶歍otal Size鐨勫间細瓒婃潵瓒?#28598;?#38171;?br />  鐩?#37714;板埌杈?#28051;涓?#28051;婇檺鍚?#28725;?#38007;?#26473;?#32459;嬭?#29608;ill鎺?#37510;?/p>

2銆銆浠?#28598;?#37714;?#38316;囧埌鐨勬?#21613;喌锛?#37721;戠幇gridview鐨刧etview涓?#28003;?#37922;?/span>

澶嶅埗浠爜
銆銆銆銆@Override
        public View getView(int position, View convertView, ViewGroup parent) {
            final View GridItem = mInflater.inflate(R.layout.store_catg_item,null, false);
銆銆銆銆銆銆銆TextView text = (TextView) GridItem.findViewById(R.id.store_catg_item_text);
            ImageView cover = (ImageView) GridItem.findViewById(R.id.store_catg_item_cover);
            Bitmap coverimg = ImageUtilities.getCachedCover(magaList
                    .get(position).id+ReaderConfigures.THUMB_SUFFIX_PLANE);
            String title;
            if(isCatg){
                title= magaList.get(position).category;
                text.setText(title.toUpperCase());
            }else{
                title= magaList.get(position).pubname;
                text.setVisibility(View.INVISIBLE);
            }
            GridItem.setTag(title);
            cover.setImageBitmap(coverimg);
            return GridItem;
        }
澶嶅埗浠爜

 

婊?#37716;椂鍐呭瓨?#32048;涓?#37826;?#23057;?#38171;?#37929;村埌OutOfMemory锛屼娇鐢Holder鍚?#28186;?#28051;嶄細鍙?#37922;?#29831;?#29831;峰喌锛?#37711;?#28003;撳?#29111;洜鏈?#28000;旂粏?#29025;鎵?#38171;屾爣璁?#28051;涓?#37510;?/p>

 1.瀵逛簬?#29238;瑙?#23534;鍙戣呰岃闇瑕?#27996;嗚 Java鐨勫洓绉?#23534;?#37922;?#37826;?#23534;?#38171;屾瘮濡?#23534;?#23534;?#37922;?#38171;岃蒋寮?#37922;?#38171;?#23534;?#23534;?#37922;?#28000;?#37721;婅櫄寮?#37922;?#37510;?#28051;浜?#28598;嶆?#20633;簺鐨?#32459;嬪?#24531;湪闀?#37832;?#26473;?#29723;屽緢鍙兘?#22189;?#24135;绫讳技OutOfMemoryError鐨?#23534;傚父銆?br />
2.骞?#28051;?#29781;?#26473;?#28598;?#37928;勬寚鏈gc锛?#28051;?#37922;?#37928;勫?#30789;薄鍙?#28000;?#37828;剧鐨勮?#21095;疆涓虹锛屾瘮濡obj=null锛宩ava鐨刧c浣?#37922;?#37928;勬槸涓涓?#37832;夊?#25117;浘锛屽垽鏂?#28051;涓?#28725;硅薄?#27128;鍚?#37832;?#37825;堢湅鐨勬槸鍏?#28000;?#37928;勫?#30789;薄?#20824;?#22476;杈?#26473;?#28051;?#28725;硅薄鐨?#26916;?#37904;?#38171;屾?#22794;?#25117;浘鐨?#37929;?#28725;逛簬閾?#29723;?#37510;?#27996;?#37721;?#37837;潵璇?#23534;閿?#27128;鍙?#37807;宠岀煡銆?br />
3.Android涓烘瘡涓?#32459;嬪?#24531;垎閰?#37928;勫鍐呭瓨鍙?#28000;?#38315;?#26473;Runtime绫?#37928;totalMemory() freeMemory() 涓?#28051;?#37826;?#23049;曡幏鍙VM鐨?#28051;浜?#37712;呭瓨?#20426;鎭?#38171;?/p>

Runtime.getRuntime().freeMemory();

Formatter.formatFileSize(BaseActivity.baseContext,Runtime.getRuntime().freeMemory()));//鏍?#23534;忓?#26668;?#25779;嚭

瀵逛簬绯?#32513;heap鍐呭?#27199;幏鍙?#38171;?#37721;?#28000;?#38315;?#26473;Dalvik.VMRuntime绫?#37928;刧etMinimumHeapSize() 鏂?#23049;曡幏鍙?#37832;灏?#37721;?#37922;?#37739;嗗?#21613;瓨锛屽?#23678;椂鏄剧?#27946;噴鏀?#26462;?#23534;?#37922;?#37721;?#28000;皟鐢?#29831;?#32491;?#37928;刧cSoftReferences() 鏂?#23049;?#38171;岃幏鍙?#37831;?#28598;?#37928;勮繍琛屽?#21613;瓨銆?br />
4.瀵逛簬澶氱嚎绋?#37928;?#28598;?#37918;?#38171;屽?#20635;灉骞?#37721;?#37928;勭嚎绋嬪緢澶?#38171;屽?#23678;椂鏈夐?#25120;箒鐨勫垱寤?#37724;?#38322;?#37824;?#38171;?#37721;?#28000;?#38315;?#26473;concurrent绫?#37928;勭嚎绋嬫瑙?#37712;崇嚎绋嬪垱寤?#37928;?#37825;堢?#22249;?#22549;銆?br />
5. 涓?#29781;佸湪寰?#37916;?#28051;?#37714;?#23524;?#26473;?#28598;?#37928;勬湰鍦?#37721;?#38322;?#37510;?/p>

3.

銆銆The default heap size of android3.0 is 48M.Large background pictrue,button icon and the other pictrues used as ui all consume memory,and even if you have entered another activity,the resource of the previous activity still be keeped.So you had better not use the big pictrue in UI.

銆銆?#28266;onDestroy涓細鐢?(BitmapDrawable)mBtn.getBackground()).setCallback(null)娓?#37918;嗚?#23678;櫙?#27992;銆?#37816;夐鐞嗘潵璇村?#21095;?#22250;?#21228;?#24876;簲璇?#23480;?#32513;忔竻鐞嗘浜?#37928;?#37510;?#28000;旂粏?#28229;Bitmap鐨勬簮浠爜锛屽畠鍏?#28729;?#29863;?#37928;勪綔鐢槸閿姣乯ava瀵硅薄BitmapDrawable锛岃?span style="color: #3366ff">android涓?#27996;?#37819;愰珮鏁堢巼锛孊itmap鐪熸鐨勪?#23941;?#28844;暟鎹槸?#28266;ndk涓?#37922;c鍐?#37928;?#38171;屾墍浠?#37922;setCallback?#27128;涓嶈兘閿姣?#28003;嶅?#28844;暟鎹?#37928;?/span>锛屽簲璇皟鐢Bitmap鐨剅ecycle()?#28533;娓?#37918;嗗?#21613;瓨銆?/span>?#28266;onDestroy?#23006;涓?span style="color: #3366ff">((BitmapDrawable)mBtn.getBackground()).getBitmap().recycle()锛?#26473;?#37837;?#29882;?#28051;嬫潵锛屽?#21613;瓨鎯呭喌寰?#37918;?#37807;?#38171;?#28051;嶇?#28266;鍝?#28051;猘ctivity涓?#38171;屼娇鐢?#37928;勮?#21228;簮浠?#28000;呮槸?#32139;?#22688;activity鐢埌鐨?#38171;屽氨涓嶄細?#34180;涔嬪?#23941;?#29256;渶鍚?#28051;涓猘ctivity鐨勬椂鍊?#38171;屾墍鏈?#28052;嬪墠浣?#37922;?#37928;勮?#21228;簮?#20824;?#30126;绉湪鍐呭瓨涓?#37510;?/span>

銆銆?#32126;鏂?#37928;勯棶棰?#37721;堝嚭?#24135;浜?#38171;屽綋杩?#37733;?#28052;嬪墠鐨activity?#26882;锛屼?#27692;嚭?#24135;“try to use a recycled bitmap"鐨?#23534;傚父銆?#26473;?#37930;熸槸鎸?#27996;嗚?#23014;璧?#27996;?#37921;晩锛屽?#21613;?#20910;偅涓?#23052;?#28051;?#37510;?#37510;?#37510;傛病鍔?#23049;?#38171;岀户缁?#37714;嗘銆傜湅?#28533;?#27128;鍚庡姞涓妑ecycle寮曡捣鐨?#38171;?浣嶅浘鑲畾?#28266;鍐呭瓨涓?#37832;?#23534;?#37922;?#38171;屽湪杩?#37733;?#28052;嬪墠鐨activity?#26882;锛屽洜涓?#28003;嶅?#28844;暟鎹?#37711;?#28729;?#23480;?#32513;?#29722;?#38335;姣?#27996;?#38171;屾墍浠墠閫?#37812;愮洰?#22688;鐨勬?#21613;?#28857;傚湪?#28229;浜唖etBackgroundResource鐨勬?#24878;爜浠?#37722;?#38171;屾亶鐒?#28598;?#37806;?#38171;宎ndroid瀵逛簬鐩存帴閫?#26473;囪?#21228;簮id杞?#37711;?#37928;勮?#21228;簮鍏?#28729;炴槸鍋氫簡cache鐨勪簡锛?#26473;?#37837;?#28051;嬫鍐?#38343;瑕佹璧勬簮鐨勬椂鍊?#37929;存帴浠cache涓?#23536;埌锛?#26473;?#28052;熸槸涓?#37825;堢?#22250;?#38095;?#37510;備絾杩?#37837;?#37707;氫篃閫?#37812;?#27996;?#37922;?#26473;?#37928;勮?#21228;簮?#20824;浼氬湪鍐呭瓨涓?#38171;?#26473;?#37837;?#37928;勮璁?#28051;嶆槸寰?#38315;傚悎浣?#37922;?#27996;嗗緢澶?#28598;?#37733;剧?#22250;?#21228;簮鐨勫簲鐢?#38171;?#26473;?#37837;风疮绉?#28051;嬫潵?#31794;鐢?#37928;勫?#21613;瓨板兼槸寰堥珮鐨?#37510;傜湅浜唖dk鍚?#38171;屾垜鐢?#38171;?/p>

Bitmap bm = BitmapFactory.decodeResource(this.getResources(), R.drawable.splash);
BitmapDrawable bd = new BitmapDrawable(this.getResources(), bm);

mBtn.setBackgroundDrawable(bd);

?#28533;浠?#37831;縨Btn.setBackgroundResource(R.drawable.splash)銆?/p>

閿姣?#37928;勬椂鍊?#28003;?#37922;?#38171;?/p>

BitmapDrawable bd 锛?(BitmapDrawable)mBtn.getBackground();

mBtn.setBackgroundResource(0);//鍒?#36423;?#27996;嗘妸鑳屾櫙璁?#28051;null锛岄伩鍏峯nDraw鍒?#37826;拌?#23678;櫙?#26882;鍊欏嚭?#24135;used a recycled bitmap閿?#29831;?/p>

bd.setCallback(null);
bd.getBitmap().recycle();

杩?#37837;疯皟鏁?#37722;?#38171;岄伩鍏?#27996;嗗湪?#31794;鐢噷缂撳瓨鎵鏈?#37928;勮?#21228;簮锛岃妭鐪?#27996;?#28729;濊吹鐨勫?#21613;瓨锛岃?#37711;?#28729;?#26473;?#37837;?#28052;?#28051;嶄細閫?#37812;?#28598;?#28598;?#37825;堢?#22252;棶棰?#38171;屾?#26336;閲?#37826;拌浇鍏?#29863;勬簮?#27128;闈炲父蹇?#38315;?#38171;?#28051;?#28028;氬?#35268;兘閫?#37812;愬緢涓?#38322;?#37928;勫?#21342;搷锛屽湪xoom?#22135;?#22428;?#30149;鏈?#37808;?#37721;?#37714;板拰涔嬪墠鏈?#28000;涔堝尯鍒?#37510;?/p>

鎬?#28052;?#38171;屽湪android涓?#28003;?#37922;?#28598;?#38322;?#28003;嶅?#28844;槸涓瘮杈冪?#28060;鐨勪簨锛屽?#21613;瓨闄愬埗鐨勫瓨?#28266;瀵瑰簲鐢槸涓?#23536;?#28598;?#37928;勭?#22549;銆備絾涓?#37922;?#37733;犲?#24228;?#24402;锛?#37711;?#28729;?#23534;?#37828;庣櫧浜?#28729;冮噷闈?#37928;勬満鍒?#38171;屽簲鐢?#37721;?#28000;?#32464;?#37934;?#26473;?#27996;?#38340;愬埗鐨?#37510;?#26473;?#37721;槸鍏?#28051;?#37928;?#28051;绉?#28598;?#37918;?#37826;?#23049;?#38171;?#26473;?#37721;?#28000;?#38000;?#38095;BitmapFactory.Options鐨刬nSampleSize?#28533;鍑忓皯鍐呭瓨鍗?#37922;?#37510;?/p>

娴?#29785;?#28598;浘鐨勫簲鐢?#38171;?#37721;?#28000;?#28003;?#37922;JNI鐨?#37826;?#23049;曞姞杞?#37733;剧墖



寮?#37922;?

]]>
淇?#37824;android4.0 Launcher2 妗?#38344;?#37928;勫?#26945;暟锛?#29723;屾暟http://www.8634070.com/zygcs/archive/2012/09/25/388538.html榫氭娣?/dc:creator>榫氭娣?/author>Tue, 25 Sep 2012 13:14:00 GMThttp://www.8634070.com/zygcs/archive/2012/09/25/388538.htmlhttp://www.8634070.com/zygcs/comments/388538.htmlhttp://www.8634070.com/zygcs/archive/2012/09/25/388538.html#Feedback2http://www.8634070.com/zygcs/comments/commentRss/388538.htmlhttp://www.8634070.com/zygcs/services/trackbacks/388538.html
浠?#28598;?#38343;瑕佺粰瀹?#37812;?#28103;?#37824;?#22935;?#38344;?#37928;勫浘鏍?#37818;?#37714;?#37826;?#23049;?#38171;岀涓婃浜嗗澶氳祫鏂?#38171;岄兘?#27128;戠?#22317;殑?#30149;鐢?#37928;?#38171;屽閬?#28051;寰嬪埌澶勬?#21230;鐨?#37510;?br />鍙?#28610;?#38010;?#37904;圭鍔涚湅?#28229;android婧?#28000;爜锛?br />

  packages/apps/Launcher2/src/com/android/launcher2/Workspace.java

    private static final int DEFAULT_CELL_COUNT_X = 6;  //   鍒楁暟
    private static final int DEFAULT_CELL_COUNT_Y = 4;  //      琛屾暟

淇?#37824;DEFAULT_CELL_COUNT_X锛孌EFAULT_CELL_COUNT_Y 鍗?#37721;?#37510;?img src ="http://www.8634070.com/zygcs/aggbug/388538.html" width = "1" height = "1" />

]]>
ubuntu10.04 浣?#37922;?QThttp://www.8634070.com/zygcs/archive/2012/09/17/387879.html榫氭娣?/dc:creator>榫氭娣?/author>Mon, 17 Sep 2012 03:44:00 GMThttp://www.8634070.com/zygcs/archive/2012/09/17/387879.htmlhttp://www.8634070.com/zygcs/comments/387879.htmlhttp://www.8634070.com/zygcs/archive/2012/09/17/387879.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/387879.htmlhttp://www.8634070.com/zygcs/services/trackbacks/387879.html
sudo aptitude install libqt3-headers libqt3-mt-dev libqt3-compat-headers  libqt3-mt




]]>
ubuntu 鎭?#28598;gnome-panelhttp://www.8634070.com/zygcs/archive/2012/08/04/384753.html榫氭娣?/dc:creator>榫氭娣?/author>Sat, 04 Aug 2012 03:59:00 GMThttp://www.8634070.com/zygcs/archive/2012/08/04/384753.htmlhttp://www.8634070.com/zygcs/comments/384753.htmlhttp://www.8634070.com/zygcs/archive/2012/08/04/384753.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/384753.htmlhttp://www.8634070.com/zygcs/services/trackbacks/384753.html 

Ubuntu閲嶅惎panel 鐨勫姙娉?

璧?#26851;?#26473;?#37711;?#32513;堢锛?渚?#23046;?#26440;?#37711;?#28000;?#28051;?#37721;?#28000;?
1銆乬conftool --recursive-unset /apps/panel
2銆乺m -rf ~/.gconf/apps/panel
3銆乸kill gnome-panel

鎭?#28598;?#37824;堕泦缁忕?#27992;鏍?br />vi /etc/NetworkManager/nm-system-settings.conf
鎵?#37714;板涓?#29723;?#38171;?br />managed=false
骞?#37813;?#37824;?#28051;?#38171;?br />managed=true


 



]]>
webview 鎶android.database.sqlite.SQLiteCantOpenDatabaseExceptionhttp://www.8634070.com/zygcs/archive/2012/07/02/382023.html榫氭娣?/dc:creator>榫氭娣?/author>Mon, 02 Jul 2012 12:11:00 GMThttp://www.8634070.com/zygcs/archive/2012/07/02/382023.htmlhttp://www.8634070.com/zygcs/comments/382023.htmlhttp://www.8634070.com/zygcs/archive/2012/07/02/382023.html#Feedback0http://www.8634070.com/zygcs/comments/commentRss/382023.htmlhttp://www.8634070.com/zygcs/services/trackbacks/382023.html
07-02 19:47:38.950: E/SQLiteDatabase(969): Failed to open the database. closing it.
07-02 19:47:38.950: E/SQLiteDatabase(969): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:962)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1043)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1036)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:778)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:215)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.webkit.WebViewDatabase.initDatabase(WebViewDatabase.java:223)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.webkit.WebViewDatabase.init(WebViewDatabase.java:209)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.webkit.WebViewDatabase.access$000(WebViewDatabase.java:38)
07-02 19:47:38.950: E/SQLiteDatabase(969):  at android.webkit.WebViewDatabase$1.run(WebViewDatabase.java:190)
07-02 19:47:38.950: W/dalvikvm(969): threadid=12: thread exiting with uncaught exception (group=0x409e01f8)
07-02 19:47:38.970: E/AndroidRuntime(969): FATAL EXCEPTION: Thread-103
07-02 19:47:38.970: E/AndroidRuntime(969): java.lang.NullPointerException
07-02 19:47:38.970: E/AndroidRuntime(969):  at android.webkit.WebViewDatabase.initDatabase(WebViewDatabase.java:231)
07-02 19:47:38.970: E/AndroidRuntime(969):  at android.webkit.WebViewDatabase.init(WebViewDatabase.java:209)
07-02 19:47:38.970: E/AndroidRuntime(969):  at android.webkit.WebViewDatabase.access$000(WebViewDatabase.java:38)
07-02 19:47:38.970: E/AndroidRuntime(969):  at android.webkit.WebViewDatabase$1.run(WebViewDatabase.java:190)
07-02 19:47:38.970: W/ActivityManager(144):   Force finishing activity com.jw.Advertisement/.ADVActivity

鎯?#27996;嗗緢涔?#28051;嶇煡閬撴槸鍝噷鐨勯棶棰?#37510;?br />鍚庢潵?#22968;鍘熸潵鐨APK?#22457;闄?#38171;?閲?#37826;板?#22798;APK 锛屽眳鐒跺浜?#37510;?img src ="http://www.8634070.com/zygcs/aggbug/382023.html" width = "1" height = "1" />

]]>
˫ɫֱ
<div id="k0jz6"><tr id="k0jz6"></tr></div>
    <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
    <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
    <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
      <div id="k0jz6"></div>

      <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
        <div id="k0jz6"><tr id="k0jz6"></tr></div>
          <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
          <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
          <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
            <div id="k0jz6"></div>

            <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>