Android 的monkey测试及排错步骤
1. 环境准备:
0002 1。开启eclipse,并显示到Logcat界面;
0003 2。开启模拟器;
0004 3。进入shell,准备Monkey测试;
0005 4。准备两把屏幕尺子(方便找到测试时找到的点及一些动作的变化);
0006
0007 2。 开始测试:
0008 1。在shell中输入命令(以测试com.hskj.memo为例):monkey -p com.hskj.memo -s 100 -v
-v -v 500
0009 (测试com.hskj.memo包,以seed为100的随机排序<设置seed方便下次进行同样事件的测试,不
过要求测试的起始位置相同,比如起始位置为桌面或者为某一个Activity的某一个状态>,测试结果为第
三级别的显示,即为最详细的显示)
0010 2。查看结果并将结果保存(包括Monkey的输出结果及eclipse里面的输出结果):
0011 3。分析结果(找出并标识出重要信息):
0012
0013
0014
0015
0016 //-------------monkey的输出结果---------------------
-----
0017
0018 # monkey -p com.hskj.memo -s 100 -v -v -v 500
0019 :Monkey: seed=100 count=500
0020 :AllowPackage: com.hskj.memo
0021 :IncludeCategory: android.intent.category.LAUNCHER
0022 :IncludeCategory: android.intent.category.MONKEY
0023 // Selecting main activities from category android.intent.category.LAUNCHER
0024 // – NOT USING main activity com.android.settings.Settings (from package
com.android.settings)
0025 // – NOT USING main activity com.android.contacts.DialtactsActivity (from package
com.android.contacts)
0026 // – NOT USING main activity com.android.contacts.ContactsListActivity (from package
com.android.contacts)
0027 // – NOT USING main activity com.hskj.iphonemms.ui.ConversationList (from package
com.hskj.iphonemms)
0028 // – NOT USING main activity com.android.calendar.LaunchActivity (from package
com.android.calendar)
0029 // – NOT USING main activity com.android.deskclock.DeskClockGroupActivity (from
package com.android.deskclock)
0030 // – NOT USING main activity com.android.systemupdater.SystemUpdate (from package
com.android.systemupdater)
0031 // – NOT USING main activity com.android.camera.Camera (from package
com.android.camera)
0032 // – NOT USING main activity com.android.browser.BrowserActivity (from package
com.android.browser)
0033 // – NOT USING main activity com.android.music.MusicBrowserActivity (from package
com.android.music)
0034 // – NOT USING main activity com.android.email.activity.Welcome (from package
com.android.email)
0035 // – NOT USING main activity com.hskj.iphonecamera.GalleryPicker (from package
com.hskj.iphonegallery)
0036 // + Using main activity com.hskj.memo.ui.MemoMain (from package com.hskj.memo)
0037 // – NOT USING main activity com.android.term.Term (from package com.android.term)
0038 // – NOT USING main activity com.android.development.Development (from package
com.android.development)
0039 // – NOT USING main activity com.hskj.iphone.voicememor.VoiceRecordActivity (from
package com.hskj.iphone.voicememor)
0040 // – NOT USING main activity com.hskj.iphonecalculator.Calculator (from package
com.hskj.iphonecalculator)
0041 // Selecting main activities from category android.intent.category.MONKEY
0042 // – NOT USING main activity com.android.settings.ManageApplications (from package
com.android.settings)
0043 // – NOT USING main activity com.android.settings.RunningServices (from package
com.android.settings)
0044 // – NOT USING main activity com.hskj.iphonehome.Launcher (from package
com.hskj.iphonehome)
0045 // – NOT USING main activity com.android.launcher.Launcher (from package
com.android.launcher)
0046 // – NOT USING main activity com.android.googlesearch.GoogleSearch (from package
com.android.googlesearch)
0047 // Seeded: 100
0048 // Event percentages:
0049 // 0: 15.0%
0050 // 1: 10.0%
0051 // 2: 15.0%
0052 // 3: 25.0%
0053 // 4: 15.0%
0054 // 5: 2.0%
0055 // 6: 2.0%
0056 // 7: 1.0%
0057 // 8: 15.0%
0058 :Switch:
#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFl
ags=0×10000000;component=com.hskj.memo/.ui.MemoMain;end
0059 // Allowing start of Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] cmp=com.hskj.memo/.ui.MemoMain } in package com.hskj.memo
0060 Sleeping for 0 milliseconds
0061 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0062 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0063 Sleeping for 0 milliseconds
0064 :Sending Pointer ACTION_DOWN x=1.0 y=377.0
0065 :Sending Pointer ACTION_UP x=1.0 y=377.0
0066 Sleeping for 0 milliseconds
0067 :Sending Pointer ACTION_DOWN x=104.0 y=178.0
0068 :Sending Pointer ACTION_UP x=104.0 y=178.0
0069 Sleeping for 0 milliseconds
0070 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0071 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0072 // activityResuming(com.hskj.iphonehome)
0073 // Rejecting resume of package com.hskj.iphonehome
0074 // Allowing start of Intent { act=android.intent.action.EDIT
dat=content://com.hskj.provider.memo/memo/2 cmp=com.hskj.memo/.ui.MemoEdit } in package
com.hskj.memo
0075 Sleeping for 0 milliseconds
0076 :SendKey (ACTION_DOWN): 23 // KEYCODE_DPAD_CENTER
0077 :SendKey (ACTION_UP): 23 // KEYCODE_DPAD_CENTER
0078 Sleeping for 0 milliseconds
0079 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0080 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0081 Sleeping for 0 milliseconds
0082 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0083 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0084 Sleeping for 0 milliseconds
0085 :Sending Pointer ACTION_DOWN x=249.0 y=141.0
0086 :Sending Pointer ACTION_MOVE x=258.0 y=139.0
0087 :Sending Pointer ACTION_MOVE x=261.0 y=138.0
0088 :Sending Pointer ACTION_MOVE x=260.0 y=138.0
0089 :Sending Pointer ACTION_MOVE x=264.0 y=134.0
0090 :Sending Pointer ACTION_MOVE x=269.0 y=128.0
0091 :Sending Pointer ACTION_MOVE x=266.0 y=136.0
0092 :Sending Pointer ACTION_MOVE x=274.0 y=136.0
0093 :Sending Pointer ACTION_MOVE x=275.0 y=132.0
0094 :Sending Pointer ACTION_UP x=275.0 y=132.0
0095 Sleeping for 0 milliseconds
0096 :SendKey (ACTION_DOWN): 28 // KEYCODE_CLEAR
0097 :SendKey (ACTION_UP): 28 // KEYCODE_CLEAR
0098 Sleeping for 0 milliseconds
0099 :SendKey (ACTION_DOWN): 7 // KEYCODE_0
0100 :SendKey (ACTION_UP): 7 // KEYCODE_0
0101 Sleeping for 0 milliseconds
0102
0103
0104 //---------------一般由此处开始分析(即跳转到发生错误的那个Activity前的
一个Activity的最后一个动作)-----------------
0105
0106
0107 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0108 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0109 Sleeping for 0 milliseconds
0110 :Switch:
#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFl
ags=0×10000000;component=com.hskj.memo/.ui.MemoMain;end
0111 // Allowing start of Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] cmp=com.hskj.memo/.ui.MemoMain } in package com.hskj.memo
0112 Sleeping for 0 milliseconds
0113 :Sending Pointer ACTION_MOVE x=-4.0 y=-5.0
0114 :Sending Pointer ACTION_MOVE x=2.0 y=1.0
0115 :Sending Pointer ACTION_MOVE x=-2.0 y=-2.0
0116 :Sending Pointer ACTION_MOVE x=3.0 y=0.0
0117 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0118 :Sending Pointer ACTION_MOVE x=4.0 y=2.0
0119 :Sending Pointer ACTION_MOVE x=1.0 y=2.0
0120 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0121 :Sending Pointer ACTION_MOVE x=2.0 y=3.0
0122 :Sending Pointer ACTION_MOVE x=-1.0 y=4.0
0123 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0124 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0125 Sleeping for 0 milliseconds
0126 :SendKey (ACTION_DOWN): 5 // KEYCODE_CALL
0127 :SendKey (ACTION_UP): 5 // KEYCODE_CALL
0128 Sleeping for 0 milliseconds
0129 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0130 // Rejecting start of Intent { act=android.intent.action.CALL_BUTTON
cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
0131 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0132 Sleeping for 0 milliseconds
0133 :Sending Pointer ACTION_DOWN x=281.0 y=162.0
0134 :Sending Pointer ACTION_UP x=281.0 y=162.0
0135 Sleeping for 0 milliseconds
0136 :SendKey (ACTION_DOWN): 78 // KEYCODE_NUM
0137 :SendKey (ACTION_UP): 78 // KEYCODE_NUM
0138 Sleeping for 0 milliseconds
0139 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0140 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0141 Sleeping for 0 milliseconds
0142 :SendKey (ACTION_DOWN): 22 // KEYCODE_DPAD_RIGHT
0143 :SendKey (ACTION_UP): 22 // KEYCODE_DPAD_RIGHT
0144 Sleeping for 0 milliseconds
0145 :SendKey (ACTION_DOWN): 7 // KEYCODE_0
0146 :SendKey (ACTION_UP): 7 // KEYCODE_0
0147 Sleeping for 0 milliseconds
0148 :Sending Pointer ACTION_DOWN x=306.0 y=55.0
0149 :Sending Pointer ACTION_UP x=306.0 y=55.0
0150 Sleeping for 0 milliseconds
0151 :SendKey (ACTION_DOWN): 60 // KEYCODE_SHIFT_RIGHT
0152 :SendKey (ACTION_UP): 60 // KEYCODE_SHIFT_RIGHT
0153 Sleeping for 0 milliseconds
0154 :Sending Pointer ACTION_MOVE x=-4.0 y=2.0
0155 :Sending Pointer ACTION_MOVE x=1.0 y=1.0
0156 :Sending Pointer ACTION_MOVE x=4.0 y=4.0
0157 :Sending Pointer ACTION_MOVE x=-1.0 y=0.0
0158 :Sending Pointer ACTION_MOVE x=-3.0 y=-1.0
0159 :Sending Pointer ACTION_MOVE x=-3.0 y=0.0
0160 :Sending Pointer ACTION_MOVE x=-2.0 y=4.0
0161 :Sending Pointer ACTION_MOVE x=-4.0 y=-2.0
0162 :Sending Pointer ACTION_MOVE x=4.0 y=-5.0
0163 :Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
0164 :SendKey (ACTION_DOWN): 22 // KEYCODE_DPAD_RIGHT
0165 :SendKey (ACTION_UP): 22 // KEYCODE_DPAD_RIGHT
0166 Sleeping for 0 milliseconds
0167 :Sending Pointer ACTION_MOVE x=2.0 y=-5.0
0168 :Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
0169 :Sending Pointer ACTION_MOVE x=-2.0 y=-4.0
0170 :Sending Pointer ACTION_MOVE x=-1.0 y=-4.0
0171 :Sending Pointer ACTION_MOVE x=2.0 y=-1.0
0172 :Sending Pointer ACTION_MOVE x=-3.0 y=0.0
0173 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0174 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0175 :Sending Pointer ACTION_MOVE x=3.0 y=-4.0
0176 :Sending Pointer ACTION_MOVE x=-4.0 y=4.0
0177 :SendKey (ACTION_DOWN): 21 // KEYCODE_DPAD_LEFT
0178 :SendKey (ACTION_UP): 21 // KEYCODE_DPAD_LEFT
0179 Sleeping for 0 milliseconds
0180 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0181 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0182 Sleeping for 0 milliseconds
0183 :Sending Pointer ACTION_DOWN x=99.0 y=260.0
0184 :Sending Pointer ACTION_UP x=99.0 y=260.0
0185 Sleeping for 0 milliseconds
0186 :Sending Pointer ACTION_DOWN x=12.0 y=179.0
0187 :Sending Pointer ACTION_UP x=12.0 y=179.0
0188
0189
0190 //—————–重点:出错错误信息(往上查找出现错误前执行的事件,一般从出现错误的
Activity之前的一个Activity的最后一个动作查找)—————–
0191
0192
0193 // CRASH: com.hskj.memo (pid 430)
0194 // Short Msg: No Activity found to handle Intent { act=android.intent.action.SENDTO
dat=mailto: (has extras) }
0195 // Long Msg: android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
0196 // Build Label: android:cyanogen/cyanogen/generic/:2.1-
update1/ECLAIR/eng.root.20101029.152625:eng/test-keys
0197 // Build Changelist: -1
0198 // Build Time: 1288337269
0199 // ID:
0200 // Tag: AndroidRuntime
0201 // android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0202 // at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
0203 // at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
0204 // at android.app.Activity.startActivityForResult(Activity.java:2749)
0205 // at android.app.Activity.startActivity(Activity.java:2855)
0206 // at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
0207 // at android.view.View.performClick(View.java:2364)
0208 // at android.view.View.onTouchEvent(View.java:4198)
0209 // at android.widget.TextView.onTouchEvent(TextView.java:6543)
0210 // at android.view.View.dispatchTouchEvent(View.java:3728)
0211 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0212 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0213 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0214 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0215 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0216 // at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent
(PhoneWindow.java:1659)
0217 // at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1107)
0218 // at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
0219 // at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent
(IphoneMenuBottomPopActivity.java:104)
0220 // at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent
(PhoneWindow.java:1643)
0221 // at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
0222 // at android.os.Handler.dispatchMessage(Handler.java:99)
0223 // at android.os.Looper.loop(Looper.java:123)
0224 // at android.app.ActivityThread.main(ActivityThread.java:4363)
0225 // at java.lang.reflect.Method.invokeNative(Method.java:-2)
0226 // at java.lang.reflect.Method.invoke(Method.java:521)
0227 // at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
0228 // at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
0229 // at dalvik.system.NativeStart.main(NativeStart.java:-2)
0230
0231 ** Monkey aborted due to error.
0232 Events injected: 92
0233
ropped: keys=0 pointers=1 trackballs=0 flips=0
0234 ## Network stats: elapsed time=15962ms (15962ms mobile, 0ms wifi, 0ms not connected)
0235 ** System appears to have crashed at event 92 of 500 using seed 100
0236 #
0237
0238
0239 //------------------eclipse中LogCat的输出结果------------
-----------------------
0240
0241
0242 11-04 02:03:51.544: DEBUG/dalvikvm(314): GC freed 4448 objects / 297008 bytes in 80ms
0243 11-04 02:03:51.544: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be
discarded):
0244 11-04 02:03:51.544: INFO/dalvikvm(314): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.SQLiteCursor@43a326f8 on panel that has not been deactivated
or closed
0245 11-04 02:03:51.554: INFO/dalvikvm(314): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
0246 11-04 02:03:51.554: INFO/dalvikvm(314): at dalvik.system.NativeStart.run(Native
Method)
0247 11-04 02:03:57.534: DEBUG/dalvikvm(314): GC freed 18199 objects / 925728 bytes in 85ms
0248 11-04 02:04:01.983: DEBUG/dalvikvm(314): GC freed 13953 objects / 660984 bytes in 82ms
0249 11-04 02:04:04.993: DEBUG/libEGL(423): Setting TLS: 0xafe43b74 to 0xac70a2ec
0250 11-04 02:04:05.554: DEBUG/AndroidRuntime(423): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
0251 11-04 02:04:05.564: DEBUG/AndroidRuntime(423): CheckJNI is ON
0252 11-04 02:04:06.284: DEBUG/AndroidRuntime(423): — registering native functions —
0253 11-04 02:04:06.804: DEBUG/dalvikvm(314): GC freed 12275 objects / 582016 bytes in 148ms
0254 11-04 02:04:06.963: DEBUG/ddm-heap(423): Got feature list request
0255 11-04 02:04:09.433: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10000000
cmp=com.hskj.memo/.ui.MemoMain }
0256 11-04 02:04:09.574: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
0257 11-04 02:04:09.574: DEBUG/LifeCryle(314): Launcher onPause!
0258 11-04 02:04:10.228: INFO/ActivityManager(117): Start proc com.hskj.memo for activity
com.hskj.memo/.ui.MemoMain: pid=430 uid=10019 gids={}
0259 11-04 02:04:10.924: DEBUG/ddm-heap(430): Got feature list request
0260 11-04 02:04:12.914: INFO/ActivityThread(430): Publishing provider
com.hskj.provider.memo: com.hskj.memo.provider.MemoProvider
0261 11-04 02:04:13.403: DEBUG/MemoListView(430): MemoListView(Context context, AttributeSet
attrs) mMaximumVelocity:4000
0262 11-04 02:04:13.654: DEBUG/mListView.getChildCount()(430): mListView.getChildCount()=0
0263 11-04 02:04:14.014: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0264 11-04 02:04:14.033: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_DOWN:
0265 11-04 02:04:14.103: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
0266 11-04 02:04:14.123: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
0267 11-04 02:04:14.153: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
0268 11-04 02:04:14.173: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
0269 11-04 02:04:14.193: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
0270 11-04 02:04:14.363: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoMain: 4769 ms (total 4769 ms)
0271 11-04 02:04:14.373: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
0272 11-04 02:04:14.383: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
Math.abs(velocityX):0—Math.abs(velocityY):0
0273 11-04 02:04:14.434: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_DOWN:
0274 11-04 02:04:14.794: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
0275 11-04 02:04:14.803: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
Math.abs(velocityX):0—Math.abs(velocityY):0
0276 11-04 02:04:15.243: WARN/KeyCharacterMap(314): No keyboard for id 0
0277 11-04 02:04:15.253: WARN/KeyCharacterMap(314): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0278 11-04 02:04:15.253: DEBUG/IphoneLauncher(314): onKeyDown!
0279 11-04 02:04:15.403: DEBUG/LifeCryle(314): Launcher onStop!
0280 11-04 02:04:15.504: DEBUG/MemoProvider(430): getType uri =
content://com.hskj.provider.memo/memo/2, match =2
0281 11-04 02:04:15.514: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.EDIT dat=content://com.hskj.provider.memo/memo/2
cmp=com.hskj.memo/.ui.MemoEdit }
0282 11-04 02:04:15.544: WARN/KeyCharacterMap(430): No keyboard for id 0
0283 11-04 02:04:15.553: WARN/KeyCharacterMap(430): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0284 11-04 02:04:15.734: DEBUG/dalvikvm(430): GC freed 2584 objects / 153536 bytes in 93ms
0285 11-04 02:04:15.834: DEBUG/LifeCryle(314): Launcher onDestroy!
0286 11-04 02:04:15.904: DEBUG/IphoneEditText(430): onSelectionChanged
0287 11-04 02:04:15.924: DEBUG/IphoneHomeLoaders(314): aborting loaders
0288 11-04 02:04:16.133: DEBUG/IphoneEditText(430): beforeTextChanged cancelShow()
0289 11-04 02:04:16.143: DEBUG/IphoneEditText(430): beforeTextChanged start: 0after:
39count: 0
0290 11-04 02:04:16.143: DEBUG/IphoneEditText(430): onSelectionChanged
0291 11-04 02:04:16.143: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 0selEnd: 0
0292 11-04 02:04:16.263: DEBUG/IphoneEditText(430): onSelectionChanged
0293 11-04 02:04:16.263: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd:
22
0294 11-04 02:04:16.263: WARN/KeyCharacterMap(430): No keyboard for id 0
0295 11-04 02:04:16.273: WARN/KeyCharacterMap(430): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0296 11-04 02:04:16.464: DEBUG/IphoneEditText(430): onWindowFocusChanged
0297 11-04 02:04:16.484: DEBUG/PinyinIME(171): onFinishInput.
0298 11-04 02:04:16.484: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0299 11-04 02:04:16.644: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0300 11-04 02:04:16.854: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoEdit: 1272 ms (total 1272 ms)
0301 11-04 02:04:16.934: DEBUG/IphoneEditText(430): onSelectionChanged
0302 11-04 02:04:16.943: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
0303 11-04 02:04:16.943: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
0304 11-04 02:04:16.978: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd:
26
0305 11-04 02:04:17.464: DEBUG/IphoneEditText(430): onSelectionChanged
0306 11-04 02:04:17.464: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd:
29
0307 11-04 02:04:17.664: DEBUG/IphoneEditText(430): onTouchEvent x = 249, y = 39
0308 11-04 02:04:17.664: DEBUG/IphoneEditText(430): action = 0
0309 11-04 02:04:17.674: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
0310 11-04 02:04:17.693: DEBUG/IphoneEditText(430): onTouchEvent x = 258, y = 37
0311 11-04 02:04:17.693: DEBUG/IphoneEditText(430): action = 2
0312 11-04 02:04:17.724: DEBUG/IphoneEditText(430): onTouchEvent x = 261, y = 36
0313 11-04 02:04:17.734: DEBUG/IphoneEditText(430): action = 2
0314 11-04 02:04:17.754: DEBUG/IphoneEditText(430): onTouchEvent x = 260, y = 36
0315 11-04 02:04:17.754: DEBUG/IphoneEditText(430): action = 2
0316 11-04 02:04:17.774: DEBUG/IphoneEditText(430): onTouchEvent x = 264, y = 32
0317 11-04 02:04:17.784: DEBUG/IphoneEditText(430): action = 2
0318 11-04 02:04:17.804: DEBUG/IphoneEditText(430): onTouchEvent x = 269, y = 26
0319 11-04 02:04:17.814: DEBUG/IphoneEditText(430): action = 2
0320 11-04 02:04:17.834: DEBUG/IphoneEditText(430): onTouchEvent x = 266, y = 34
0321 11-04 02:04:17.834: DEBUG/IphoneEditText(430): action = 2
0322 11-04 02:04:17.864: DEBUG/IphoneEditText(430): onTouchEvent x = 274, y = 34
0323 11-04 02:04:17.864: DEBUG/IphoneEditText(430): action = 2
0324 11-04 02:04:17.893: DEBUG/IphoneEditText(430): onTouchEvent x = 275, y = 30
0325 11-04 02:04:17.893: DEBUG/IphoneEditText(430): action = 2
0326 11-04 02:04:17.914: DEBUG/IphoneEditText(430): onTouchEvent x = 275, y = 30
0327 11-04 02:04:17.923: DEBUG/IphoneEditText(430): action = 1
0328 11-04 02:04:17.923: DEBUG/IphoneEditText(430): onSelectionChanged
0329 11-04 02:04:17.934: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd:
26
0330 11-04 02:04:17.944: DEBUG/IphoneEditText(430): onSelectionChanged
0331 11-04 02:04:17.953: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd:
29
0332 11-04 02:04:17.974: DEBUG/IphoneEditText(430): onSelectionChanged
0333 11-04 02:04:17.983: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd:
26
0334 11-04 02:04:18.103: DEBUG/IphoneEditText(430): beforeTextChanged cancelShow()
0335 11-04 02:04:18.103: DEBUG/IphoneEditText(430): beforeTextChanged start: 26after:
1count: 0
0336 11-04 02:04:18.103: DEBUG/MemoEdit(430): EdtContentTextWatcher.onTextChanged() str:5+=
szdmj udfodePPL K
0337 11-04 02:04:18.103: DEBUG/MemoEdit(430): [L00
0338 11-04 02:04:18.103: DEBUG/MemoEdit(430): WX ---s.length:40---split array
count:3
0339 11-04 02:04:18.133: DEBUG/MemoEdit(430): edtContentTextWatcher.onTextChanged savaMemo()
0340 11-04 02:04:18.193: DEBUG/MemoEdit(430): savaMemo nextMemoId = 3
0341 11-04 02:04:18.263: DEBUG/MemoMainListAdapter(430): onContentChanged
0342 11-04 02:04:18.273: DEBUG/MemoMain(430): OnContentChangedListener.onContentChanged()
0343 11-04 02:04:18.293: DEBUG/IphoneEditText(430): onSelectionChanged
0344 11-04 02:04:18.293: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd:
32
0345 11-04 02:04:18.313: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10000000
cmp=com.hskj.memo/.ui.MemoMain }
0346 11-04 02:04:18.574: DEBUG/IphoneEditText(430): onSelectionChanged
0347 11-04 02:04:18.584: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd:
27
0348 11-04 02:04:18.594: DEBUG/IphoneEditText(430): onSelectionChanged
0349 11-04 02:04:18.604: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 4selEnd: 4
0350 11-04 02:04:18.754: DEBUG/PinyinIME(171): onFinishInputView.
0351 11-04 02:04:18.754: DEBUG/PinyinIME(171): onFinishInput.
0352 11-04 02:04:18.754: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0353 11-04 02:04:18.764: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0354 11-04 02:04:19.234: DEBUG/IphoneEditText(430): onSelectionChanged
0355 11-04 02:04:19.243: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd:
22
0356 11-04 02:04:19.257: DEBUG/IphoneEditText(430): onSelectionChanged
0357 11-04 02:04:19.263: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd:
27
0358 11-04 02:04:19.273: DEBUG/PinyinIME(171): onFinishInputView.
0359 11-04 02:04:19.273: DEBUG/PinyinIME(171): onFinishInput.
0360 11-04 02:04:19.273: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0361 11-04 02:04:19.283: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0362 11-04 02:04:19.434: DEBUG/IphoneEditText(430): onSelectionChanged
0363 11-04 02:04:19.470: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 28selEnd:
28
0364 11-04 02:04:19.473: DEBUG/IphoneEditText(430): onSelectionChanged
0365 11-04 02:04:19.473: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd:
29
0366 11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged
0367 11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 30selEnd:
30
0368 11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged
0369 11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 31selEnd:
31
0370 11-04 02:04:19.604: DEBUG/PinyinIME(171): onFinishInputView.
0371 11-04 02:04:19.604: DEBUG/PinyinIME(171): onFinishInput.
0372 11-04 02:04:19.614: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0373 11-04 02:04:19.624: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0374 11-04 02:04:20.063: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.CALL_BUTTON flg=0×10000000
cmp=com.android.contacts/.DialtactsActivity }
0375 11-04 02:04:20.163: DEBUG/IphoneEditText(430): onTouchEvent x = 281, y = 255
0376 11-04 02:04:20.173: DEBUG/IphoneEditText(430): action = 0
0377 11-04 02:04:20.183: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
0378 11-04 02:04:20.213: DEBUG/IphoneEditText(430): onTouchEvent x = 281, y = 255
0379 11-04 02:04:20.223: DEBUG/IphoneEditText(430): action = 1
0380 11-04 02:04:20.233: DEBUG/IphoneMenuPopupWindow(430): popWindowWidth:120
0381 11-04 02:04:20.233: DEBUG/IphoneMenuPopupWindow(430): popWindowHeight:59
0382 11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): before fixed x:281
0383 11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): after fixed x:200
0384 11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): before fixed y:162
0385 11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): after fixed y:98
0386 11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): setArrowMenuBackground:
0387 11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset:81
0388 11-04 02:04:20.283: DEBUG/IphoneMenuPopupWindow(430): when i = 0
hadFindArrowMenuPosition = false
0389 11-04 02:04:20.283: DEBUG/IphoneMenuPopupWindow(430): childWidth = 63
0390 11-04 02:04:20.293: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset – childWidth =
18
0391 11-04 02:04:20.313: DEBUG/IphoneMenuPopupWindow(430): when i = 1
hadFindArrowMenuPosition = false
0392 11-04 02:04:20.313: DEBUG/IphoneMenuPopupWindow(430): childWidth = 63
0393 11-04 02:04:20.323: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset – childWidth =
-45
0394 11-04 02:04:20.323: DEBUG/IphoneMenuPopupWindow(430): i == menuCount- 1
0395 11-04 02:04:20.353: DEBUG/IphoneEditText(430): onSelectionChanged
0396 11-04 02:04:20.363: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd:
22
0397 11-04 02:04:20.373: DEBUG/PinyinIME(171): onFinishInputView.
0398 11-04 02:04:20.373: DEBUG/PinyinIME(171): onFinishInput.
0399 11-04 02:04:20.373: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0400 11-04 02:04:20.383: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0401 11-04 02:04:21.003: DEBUG/IphoneEditText(430): onSelectionChanged
0402 11-04 02:04:21.013: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 40selEnd:
40
0403 11-04 02:04:21.193: DEBUG/PinyinIME(171): onFinishInputView.
0404 11-04 02:04:21.193: DEBUG/PinyinIME(171): onFinishInput.
0405 11-04 02:04:21.193: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0406 11-04 02:04:21.223: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0407 11-04 02:04:21.604: DEBUG/IphoneMenuPopupWindow(430): updateIphoneMenuPopupWindow
dismiss:
0408 11-04 02:04:21.614: DEBUG/IphoneEditText(430): onTouchEvent x = 306, y = 148
0409 11-04 02:04:21.614: DEBUG/IphoneEditText(430): action = 0
0410 11-04 02:04:21.614: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
0411 11-04 02:04:21.643: DEBUG/IphoneEditText(430): onTouchEvent x = 306, y = 148
0412 11-04 02:04:21.643: DEBUG/IphoneEditText(430): action = 1
0413 11-04 02:04:21.654: DEBUG/IphoneEditText(430): onSelectionChanged
0414 11-04 02:04:21.654: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd:
22
0415 11-04 02:04:21.664: DEBUG/PinyinIME(171): onFinishInputView.
0416 11-04 02:04:21.664: DEBUG/PinyinIME(171): onFinishInput.
0417 11-04 02:04:21.674: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0418 11-04 02:04:21.684: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0419 11-04 02:04:22.243: DEBUG/IphoneEditText(430): onSelectionChanged
0420 11-04 02:04:22.268: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 21selEnd:
21
0421 11-04 02:04:22.303: DEBUG/IphoneEditText(430): onSelectionChanged
0422 11-04 02:04:22.303: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 20selEnd:
20
0423 11-04 02:04:22.313: DEBUG/IphoneEditText(430): onSelectionChanged
0424 11-04 02:04:22.313: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 19selEnd:
19
0425 11-04 02:04:22.323: DEBUG/IphoneEditText(430): onSelectionChanged
0426 11-04 02:04:22.333: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 18selEnd:
18
0427 11-04 02:04:22.393: DEBUG/IphoneEditText(430): onSelectionChanged
0428 11-04 02:04:22.393: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd:
27
0429 11-04 02:04:22.443: DEBUG/IphoneEditText(430): onSelectionChanged
0430 11-04 02:04:22.443: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd:
32
0431 11-04 02:04:22.534: DEBUG/PinyinIME(171): onFinishInputView.
0432 11-04 02:04:22.534: DEBUG/PinyinIME(171): onFinishInput.
0433 11-04 02:04:22.534: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0434 11-04 02:04:22.544: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0435 11-04 02:04:23.153: DEBUG/IphoneEditText(430): onSelectionChanged
0436 11-04 02:04:23.153: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 40selEnd:
40
0437 11-04 02:04:23.163: DEBUG/IphoneEditText(430): onSelectionChanged
0438 11-04 02:04:23.163: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd:
27
0439 11-04 02:04:23.173: DEBUG/IphoneEditText(430): onSelectionChanged
0440 11-04 02:04:23.183: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 4selEnd: 4
0441 11-04 02:04:23.298: DEBUG/PinyinIME(171): onFinishInputView.
0442 11-04 02:04:23.303: DEBUG/PinyinIME(171): onFinishInput.
0443 11-04 02:04:23.303: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0444 11-04 02:04:23.323: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0445 11-04 02:04:24.373: DEBUG/IphoneEditText(430): onSelectionChanged
0446 11-04 02:04:24.383: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd:
22
0447 11-04 02:04:24.393: DEBUG/IphoneEditText(430): onSelectionChanged
0448 11-04 02:04:24.408: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd:
27
0449 11-04 02:04:24.413: DEBUG/IphoneEditText(430): onSelectionChanged
0450 11-04 02:04:24.423: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd:
32
0451 11-04 02:04:24.433: DEBUG/PinyinIME(171): onFinishInputView.
0452 11-04 02:04:24.433: DEBUG/PinyinIME(171): onFinishInput.
0453 11-04 02:04:24.433: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0454 11-04 02:04:24.443: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0455 11-04 02:04:24.924: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0456 11-04 02:04:24.944: DEBUG/AndroidRuntime(430): Shutting down VM
0457 11-04 02:04:24.953: WARN/dalvikvm(430): threadid=3: thread exiting with uncaught
exception (group=0x4001b188)
0458
0459
0460 //---------------此处发生错误---------------------
0461
0462 11-04 02:04:24.953: ERROR/AndroidRuntime(430): Uncaught handler: thread main exiting
due to uncaught exception
0463 11-04 02:04:24.973: ERROR/AndroidRuntime(430):
android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0464 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
0465 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
0466 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.app.Activity.startActivityForResult(Activity.java:2749)
0467 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.app.Activity.startActivity(Activity.java:2855)
0468 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
0469 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at android.view.View.performClick
(View.java:2364)
0470 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at android.view.View.onTouchEvent
(View.java:4198)
0471 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.widget.TextView.onTouchEvent(TextView.java:6543)
0472 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.View.dispatchTouchEvent(View.java:3728)
0473 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0474 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0475 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0476 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0477 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0478 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent
(PhoneWindow.java:1659)
0479 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
0480 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
0481 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent
(IphoneMenuBottomPopActivity.java:104)
0482 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent
(PhoneWindow.java:1643)
0483 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
0484 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
android.os.Handler.dispatchMessage(Handler.java:99)
0485 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at android.os.Looper.loop
(Looper.java:123)
0486 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at android.app.ActivityThread.main
(ActivityThread.java:4363)
0487 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
java.lang.reflect.Method.invokeNative(Native Method)
0488 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at java.lang.reflect.Method.invoke
(Method.java:521)
0489 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
0490 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
0491 11-04 02:04:24.973: ERROR/AndroidRuntime(430): at dalvik.system.NativeStart.main
(Native Method)
0492 11-04 02:04:24.993: INFO/Process(117): Sending signal. PID: 430 SIG: 3
0493 11-04 02:04:24.993: INFO/dalvikvm(430): threadid=7: reacting to signal 3
0494 11-04 02:04:25.023: INFO/dalvikvm(430): Wrote stack trace to ‘/data/anr/traces.txt’
0495 11-04 02:04:25.083: ERROR/ActivityThread(117): Failed to find provider info for
android.server.checkin
0496 11-04 02:04:25.083: ERROR/Checkin(117): Error reporting crash
0497 11-04 02:04:25.283: DEBUG/dalvikvm(117): GC freed 18475 objects / 904864 bytes in 131ms
0498 11-04 02:04:25.343: WARN/WindowManager(117): No window to dispatch pointer action 1
0499 11-04 02:04:25.494: INFO/AndroidRuntime(423): AndroidRuntime onExit calling exit(92)
0500 11-04 02:04:26.043: DEBUG/dalvikvm(314): GC freed 3499 objects / 171848 bytes in 432ms
0501
0502
0503
0504 3。 Monkey测试出现错误后一般查错步骤:
0505 1。找到是哪个monkey的哪个动作出的错:
0506 1。查看monkey出错前的一些事件动作,并手动执行该动作。
0507 2。若还不能找出,可以使用命令monkey -p com.hskj.memo -s 100 -v -v -v –throttle
2000 500
0508
0509 ///--------------Monkey中输出的信息----------------
0510 # monkey -p com.hskj.memo -s 100 -v -v -v –throttle 3000 500
0511 :Monkey: seed=100 count=500
0512 :AllowPackage: com.hskj.memo
0513 :IncludeCategory: android.intent.category.LAUNCHER
0514 :IncludeCategory: android.intent.category.MONKEY
0515 // Selecting main activities from category android.intent.category.LAUNCHER
0516 // – NOT USING main activity com.android.settings.Settings (from package
com.android.settings)
0517 // – NOT USING main activity com.android.contacts.DialtactsActivity (from package
com.android.contacts)
0518 // – NOT USING main activity com.android.contacts.ContactsListActivity (from package
com.android.contacts)
0519 // – NOT USING main activity com.hskj.iphonemms.ui.ConversationList (from package
com.hskj.iphonemms)
0520 // – NOT USING main activity com.android.calendar.LaunchActivity (from package
com.android.calendar)
0521 // – NOT USING main activity com.android.deskclock.DeskClockGroupActivity (from
package com.android.deskclock)
0522 // – NOT USING main activity com.android.systemupdater.SystemUpdate (from package
com.android.systemupdater)
0523 // – NOT USING main activity com.android.camera.Camera (from package
com.android.camera)
0524 // – NOT USING main activity com.android.browser.BrowserActivity (from package
com.android.browser)
0525 // – NOT USING main activity com.android.music.MusicBrowserActivity (from package
com.android.music)
0526 // – NOT USING main activity com.android.email.activity.Welcome (from package
com.android.email)
0527 // – NOT USING main activity com.hskj.iphonecamera.GalleryPicker (from package
com.hskj.iphonegallery)
0528 // + Using main activity com.hskj.memo.ui.MemoMain (from package com.hskj.memo)
0529 // – NOT USING main activity com.android.term.Term (from package com.android.term)
0530 // – NOT USING main activity com.android.development.Development (from package
com.android.development)
0531 // – NOT USING main activity com.hskj.iphone.voicememor.VoiceRecordActivity (from
package com.hskj.iphone.voicememor)
0532 // – NOT USING main activity com.hskj.iphonecalculator.Calculator (from package
com.hskj.iphonecalculator)
0533 // Selecting main activities from category android.intent.category.MONKEY
0534 // – NOT USING main activity com.android.settings.ManageApplications (from package
com.android.settings)
0535 // – NOT USING main activity com.android.settings.RunningServices (from package
com.android.settings)
0536 // – NOT USING main activity com.hskj.iphonehome.Launcher (from package
com.hskj.iphonehome)
0537 // – NOT USING main activity com.android.launcher.Launcher (from package
com.android.launcher)
0538 // – NOT USING main activity com.android.googlesearch.GoogleSearch (from package
com.android.googlesearch)
0539 // Seeded: 100
0540 // Event percentages:
0541 // 0: 15.0%
0542 // 1: 10.0%
0543 // 2: 15.0%
0544 // 3: 25.0%
0545 // 4: 15.0%
0546 // 5: 2.0%
0547 // 6: 2.0%
0548 // 7: 1.0%
0549 // 8: 15.0%
0550 :Switch:
#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFl
ags=0×10000000;component=com.hskj.memo/.ui.MemoMain;end
0551 // Allowing start of Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] cmp=com.hskj.memo/.ui.MemoMain } in package com.hskj.memo
0552 Sleeping for 3000 milliseconds
0553 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0554 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0555 Sleeping for 3000 milliseconds //----------此时每经过一个
动作就会有3秒钟的停顿--------------
0556 :Sending Pointer ACTION_DOWN x=1.0 y=377.0
0557 :Sending Pointer ACTION_UP x=1.0 y=377.0
0558 Sleeping for 3000 milliseconds
0559 :Sending Pointer ACTION_DOWN x=104.0 y=178.0
0560 :Sending Pointer ACTION_UP x=104.0 y=178.0
0561 Sleeping for 3000 milliseconds
0562 // activityResuming(com.hskj.iphonehome)
0563 // Rejecting resume of package com.hskj.iphonehome
0564 // Allowing start of Intent { act=android.intent.action.EDIT
dat=content://com.hskj.provider.memo/memo/3 cmp=com.hskj.memo/.ui.MemoEdit } in package
com.hskj.memo
0565 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0566 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0567 Sleeping for 3000 milliseconds
0568 :SendKey (ACTION_DOWN): 23 // KEYCODE_DPAD_CENTER
0569 :SendKey (ACTION_UP): 23 // KEYCODE_DPAD_CENTER
0570 Sleeping for 3000 milliseconds
0571 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0572 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0573 Sleeping for 3000 milliseconds
0574 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0575 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0576 Sleeping for 3000 milliseconds
0577 :Sending Pointer ACTION_DOWN x=249.0 y=141.0
0578 :Sending Pointer ACTION_MOVE x=258.0 y=139.0
0579 :Sending Pointer ACTION_MOVE x=261.0 y=138.0
0580 :Sending Pointer ACTION_MOVE x=260.0 y=138.0
0581 :Sending Pointer ACTION_MOVE x=264.0 y=134.0
0582 :Sending Pointer ACTION_MOVE x=269.0 y=128.0
0583 :Sending Pointer ACTION_MOVE x=266.0 y=136.0
0584 :Sending Pointer ACTION_MOVE x=274.0 y=136.0
0585 :Sending Pointer ACTION_MOVE x=275.0 y=132.0
0586 :Sending Pointer ACTION_UP x=275.0 y=132.0
0587 Sleeping for 3000 milliseconds
0588 :SendKey (ACTION_DOWN): 28 // KEYCODE_CLEAR
0589 :SendKey (ACTION_UP): 28 // KEYCODE_CLEAR
0590 Sleeping for 3000 milliseconds
0591 :SendKey (ACTION_DOWN): 7 // KEYCODE_0
0592 :SendKey (ACTION_UP): 7 // KEYCODE_0
0593 Sleeping for 3000 milliseconds
0594 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0595 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0596 Sleeping for 3000 milliseconds
0597 :Switch:
#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFl
ags=0×10000000;component=com.hskj.memo/.ui.MemoMain;end
0598 // Allowing start of Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] cmp=com.hskj.memo/.ui.MemoMain } in package com.hskj.memo
0599 Sleeping for 3000 milliseconds
0600 :Sending Pointer ACTION_MOVE x=-4.0 y=-5.0
0601 :Sending Pointer ACTION_MOVE x=2.0 y=1.0
0602 :Sending Pointer ACTION_MOVE x=-2.0 y=-2.0
0603 :Sending Pointer ACTION_MOVE x=3.0 y=0.0
0604 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0605 :Sending Pointer ACTION_MOVE x=4.0 y=2.0
0606 :Sending Pointer ACTION_MOVE x=1.0 y=2.0
0607 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0608 :Sending Pointer ACTION_MOVE x=2.0 y=3.0
0609 :Sending Pointer ACTION_MOVE x=-1.0 y=4.0
0610 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0611 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0612 Sleeping for 3000 milliseconds
0613 :SendKey (ACTION_DOWN): 5 // KEYCODE_CALL
0614 :SendKey (ACTION_UP): 5 // KEYCODE_CALL
0615 // Rejecting start of Intent { act=android.intent.action.CALL_BUTTON
cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
0616 Sleeping for 3000 milliseconds
0617 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0618 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0619 Sleeping for 3000 milliseconds
0620 :Sending Pointer ACTION_DOWN x=281.0 y=162.0
0621 :Sending Pointer ACTION_UP x=281.0 y=162.0
0622 Sleeping for 3000 milliseconds
0623 :SendKey (ACTION_DOWN): 78 // KEYCODE_NUM
0624 :SendKey (ACTION_UP): 78 // KEYCODE_NUM
0625 Sleeping for 3000 milliseconds
0626 :SendKey (ACTION_DOWN): 20 // KEYCODE_DPAD_DOWN
0627 :SendKey (ACTION_UP): 20 // KEYCODE_DPAD_DOWN
0628 Sleeping for 3000 milliseconds
0629 :SendKey (ACTION_DOWN): 22 // KEYCODE_DPAD_RIGHT
0630 :SendKey (ACTION_UP): 22 // KEYCODE_DPAD_RIGHT
0631 Sleeping for 3000 milliseconds
0632 :SendKey (ACTION_DOWN): 7 // KEYCODE_0
0633 :SendKey (ACTION_UP): 7 // KEYCODE_0
0634 Sleeping for 3000 milliseconds
0635 :Sending Pointer ACTION_DOWN x=306.0 y=55.0
0636 :Sending Pointer ACTION_UP x=306.0 y=55.0
0637 Sleeping for 3000 milliseconds
0638 :SendKey (ACTION_DOWN): 60 // KEYCODE_SHIFT_RIGHT
0639 :SendKey (ACTION_UP): 60 // KEYCODE_SHIFT_RIGHT
0640 Sleeping for 3000 milliseconds
0641 :Sending Pointer ACTION_MOVE x=-4.0 y=2.0
0642 :Sending Pointer ACTION_MOVE x=1.0 y=1.0
0643 :Sending Pointer ACTION_MOVE x=4.0 y=4.0
0644 :Sending Pointer ACTION_MOVE x=-1.0 y=0.0
0645 :Sending Pointer ACTION_MOVE x=-3.0 y=-1.0
0646 :Sending Pointer ACTION_MOVE x=-3.0 y=0.0
0647 :Sending Pointer ACTION_MOVE x=-2.0 y=4.0
0648 :Sending Pointer ACTION_MOVE x=-4.0 y=-2.0
0649 :Sending Pointer ACTION_MOVE x=4.0 y=-5.0
0650 :Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
0651 :SendKey (ACTION_DOWN): 22 // KEYCODE_DPAD_RIGHT
0652 :SendKey (ACTION_UP): 22 // KEYCODE_DPAD_RIGHT
0653 Sleeping for 3000 milliseconds
0654 :Sending Pointer ACTION_MOVE x=2.0 y=-5.0
0655 :Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
0656 :Sending Pointer ACTION_MOVE x=-2.0 y=-4.0
0657 :Sending Pointer ACTION_MOVE x=-1.0 y=-4.0
0658 :Sending Pointer ACTION_MOVE x=2.0 y=-1.0
0659 :Sending Pointer ACTION_MOVE x=-3.0 y=0.0
0660 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0661 :Sending Pointer ACTION_MOVE x=4.0 y=1.0
0662 :Sending Pointer ACTION_MOVE x=3.0 y=-4.0
0663 :Sending Pointer ACTION_MOVE x=-4.0 y=4.0
0664 :SendKey (ACTION_DOWN): 21 // KEYCODE_DPAD_LEFT
0665 :SendKey (ACTION_UP): 21 // KEYCODE_DPAD_LEFT
0666 Sleeping for 3000 milliseconds
0667 :SendKey (ACTION_DOWN): 82 // KEYCODE_MENU
0668 :SendKey (ACTION_UP): 82 // KEYCODE_MENU
0669 Sleeping for 3000 milliseconds
0670 :Sending Pointer ACTION_DOWN x=99.0 y=260.0
0671 :Sending Pointer ACTION_UP x=99.0 y=260.0
0672 Sleeping for 3000 milliseconds
0673 // CRASH: com.hskj.memo (pid 441)
0674 // Short Msg: No Activity found to handle Intent { act=android.intent.action.SENDTO
dat=mailto: (has extras) }
0675 // Long Msg: android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
0676 // Build Label: android:cyanogen/cyanogen/generic/:2.1-
update1/ECLAIR/eng.root.20101029.152625:eng/test-keys
0677 // Build Changelist: -1
0678 // Build Time: 1288337269
0679 // ID:
0680 // Tag: AndroidRuntime
0681 // android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0682 // at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
0683 // at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
0684 // at android.app.Activity.startActivityForResult(Activity.java:2749)
0685 // at android.app.Activity.startActivity(Activity.java:2855)
0686 // at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
0687 // at android.view.View.performClick(View.java:2364)
0688 // at android.view.View.onTouchEvent(View.java:4198)
0689 // at android.widget.TextView.onTouchEvent(TextView.java:6543)
0690 // at android.view.View.dispatchTouchEvent(View.java:3728)
0691 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0692 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0693 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0694 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0695 // at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0696 // at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent
(PhoneWindow.java:1659)
0697 // at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1107)
0698 // at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
0699 // at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent
(IphoneMenuBottomPopActivity.java:104)
0700 // at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent
(PhoneWindow.java:1643)
0701 // at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
0702 // at android.os.Handler.dispatchMessage(Handler.java:99)
0703 // at android.os.Looper.loop(Looper.java:123)
0704 // at android.app.ActivityThread.main(ActivityThread.java:4363)
0705 // at java.lang.reflect.Method.invokeNative(Method.java:-2)
0706 // at java.lang.reflect.Method.invoke(Method.java:521)
0707 // at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
0708 // at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
0709 // at dalvik.system.NativeStart.main(NativeStart.java:-2)
0710
0711 ** Monkey aborted due to error.
0712 Events injected: 90
0713
ropped: keys=0 pointers=0 trackballs=0 flips=0
0714 ## Network stats: elapsed time=87504ms (87504ms mobile, 0ms wifi, 0ms not connected)
0715 ** System appears to have crashed at event 90 of 500 using seed 100
0716 #
0717
0718
0719 //-----------------eclipse中的LogCat的输出信息------------
----------
0720
0721 11-04 02:44:38.494: DEBUG/libEGL(451): Setting TLS: 0xafe43b74 to 0xac70a2ec
0722 11-04 02:44:38.693: DEBUG/AndroidRuntime(451): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
0723 11-04 02:44:38.693: DEBUG/AndroidRuntime(451): CheckJNI is ON
0724 11-04 02:44:38.913: DEBUG/AndroidRuntime(451): — registering native functions —
0725 11-04 02:44:39.244: DEBUG/ddm-heap(451): Got feature list request
0726 11-04 02:44:40.943: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10000000
cmp=com.hskj.memo/.ui.MemoMain }
0727 11-04 02:44:40.963: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
0728 11-04 02:44:40.963: DEBUG/LifeCryle(314): Launcher onPause!
0729 11-04 02:44:41.114: DEBUG/MemoListView(441): MemoListView(Context context, AttributeSet
attrs) mMaximumVelocity:4000
0730 11-04 02:44:41.244: DEBUG/mListView.getChildCount()(441): mListView.getChildCount()=0
0731 11-04 02:44:41.474: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0732 11-04 02:44:41.574: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
0733 11-04 02:44:41.593: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
0734 11-04 02:44:41.643: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
0735 11-04 02:44:41.663: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
0736 11-04 02:44:41.683: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
0737 11-04 02:44:41.793: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoMain: 824 ms (total 824 ms)
0738 11-04 02:44:41.823: DEBUG/LifeCryle(314): Launcher onStop!
0739 11-04 02:44:41.843: DEBUG/LifeCryle(314): Launcher onDestroy!
0740 11-04 02:44:41.843: DEBUG/IphoneHomeLoaders(314): aborting loaders
0741 11-04 02:44:44.083: WARN/KeyCharacterMap(441): No keyboard for id 0
0742 11-04 02:44:44.083: WARN/KeyCharacterMap(441): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0743 11-04 02:44:46.963: DEBUG/dalvikvm(314): GC freed 1549 objects / 89656 bytes in 140ms
0744 11-04 02:44:47.003: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be
discarded):
0745 11-04 02:44:47.013: INFO/dalvikvm(314): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.SQLiteCursor@43a0e918 on panel that has not been deactivated
or closed
0746 11-04 02:44:47.013: INFO/dalvikvm(314): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
0747 11-04 02:44:47.013: INFO/dalvikvm(314): at dalvik.system.NativeStart.run(Native
Method)
0748 11-04 02:44:47.174: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_DOWN:
0749 11-04 02:44:47.214: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
0750 11-04 02:44:47.214: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
Math.abs(velocityX):0—Math.abs(velocityY):0
0751 11-04 02:44:50.234: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_DOWN:
0752 11-04 02:44:50.304: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
0753 11-04 02:44:50.314: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
Math.abs(velocityX):0—Math.abs(velocityY):0
0754 11-04 02:44:50.883: DEBUG/MemoProvider(441): getType uri =
content://com.hskj.provider.memo/memo/3, match =2
0755 11-04 02:44:50.903: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.EDIT dat=content://com.hskj.provider.memo/memo/3
cmp=com.hskj.memo/.ui.MemoEdit }
0756 11-04 02:44:51.094: DEBUG/dalvikvm(441): GC freed 1717 objects / 82024 bytes in 63ms
0757 11-04 02:44:51.134: INFO/dalvikvm(441): Uncaught exception thrown by finalizer (will be
discarded):
0758 11-04 02:44:51.144: INFO/dalvikvm(441): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.SQLiteCursor@439b2be8 on memos that has not been deactivated
or closed
0759 11-04 02:44:51.144: INFO/dalvikvm(441): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
0760 11-04 02:44:51.144: INFO/dalvikvm(441): at dalvik.system.NativeStart.run(Native
Method)
0761 11-04 02:44:51.274: DEBUG/IphoneEditText(441): onSelectionChanged
0762 11-04 02:44:51.444: DEBUG/IphoneEditText(441): beforeTextChanged cancelShow()
0763 11-04 02:44:51.444: DEBUG/IphoneEditText(441): beforeTextChanged start: 0after: 3count:
0
0764 11-04 02:44:51.454: DEBUG/IphoneEditText(441): onSelectionChanged
0765 11-04 02:44:51.454: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 0selEnd: 0
0766 11-04 02:44:51.524: DEBUG/IphoneEditText(441): onSelectionChanged
0767 11-04 02:44:51.534: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 3selEnd: 3
0768 11-04 02:44:51.544: DEBUG/IphoneEditText(441): onWindowFocusChanged
0769 11-04 02:44:51.564: DEBUG/PinyinIME(171): onFinishInput.
0770 11-04 02:44:51.564: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0771 11-04 02:44:51.866: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoEdit: 922 ms (total 922 ms)
0772 11-04 02:44:53.344: WARN/KeyCharacterMap(441): No keyboard for id 0
0773 11-04 02:44:53.344: WARN/KeyCharacterMap(441): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0774 11-04 02:44:56.574: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0775 11-04 02:44:56.594: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
0776 11-04 02:44:56.594: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
0777 11-04 02:44:59.813: DEBUG/PinyinIME(171): onFinishInputView.
0778 11-04 02:44:59.813: DEBUG/PinyinIME(171): onFinishInput.
0779 11-04 02:44:59.813: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0780 11-04 02:44:59.823: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0781 11-04 02:45:05.883: DEBUG/IphoneEditText(441): onTouchEvent x = 249, y = 234
0782 11-04 02:45:05.883: DEBUG/IphoneEditText(441): action = 0
0783 11-04 02:45:05.893: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
0784 11-04 02:45:05.983: DEBUG/IphoneEditText(441): onTouchEvent x = 258, y = 232
0785 11-04 02:45:05.993: DEBUG/IphoneEditText(441): action = 2
0786 11-04 02:45:06.013: DEBUG/IphoneEditText(441): onTouchEvent x = 261, y = 231
0787 11-04 02:45:06.033: DEBUG/IphoneEditText(441): action = 2
0788 11-04 02:45:06.053: DEBUG/IphoneEditText(441): onTouchEvent x = 260, y = 231
0789 11-04 02:45:06.053: DEBUG/IphoneEditText(441): action = 2
0790 11-04 02:45:06.074: DEBUG/IphoneEditText(441): onTouchEvent x = 264, y = 227
0791 11-04 02:45:06.074: DEBUG/IphoneEditText(441): action = 2
0792 11-04 02:45:06.104: DEBUG/IphoneEditText(441): onTouchEvent x = 269, y = 221
0793 11-04 02:45:06.104: DEBUG/IphoneEditText(441): action = 2
0794 11-04 02:45:06.134: DEBUG/IphoneEditText(441): onTouchEvent x = 266, y = 229
0795 11-04 02:45:06.144: DEBUG/IphoneEditText(441): action = 2
0796 11-04 02:45:06.164: DEBUG/IphoneEditText(441): onTouchEvent x = 274, y = 229
0797 11-04 02:45:06.164: DEBUG/IphoneEditText(441): action = 2
0798 11-04 02:45:06.204: DEBUG/IphoneEditText(441): onTouchEvent x = 275, y = 225
0799 11-04 02:45:06.215: DEBUG/IphoneEditText(441): action = 2
0800 11-04 02:45:06.224: DEBUG/IphoneEditText(441): onTouchEvent x = 275, y = 225
0801 11-04 02:45:06.234: DEBUG/IphoneEditText(441): action = 1
0802 11-04 02:45:06.244: DEBUG/PinyinIME(171): onFinishInputView.
0803 11-04 02:45:06.244: DEBUG/PinyinIME(171): onFinishInput.
0804 11-04 02:45:06.244: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0805 11-04 02:45:06.254: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0806 11-04 02:45:12.404: DEBUG/IphoneEditText(441): beforeTextChanged cancelShow()
0807 11-04 02:45:12.414: DEBUG/IphoneEditText(441): beforeTextChanged start: 3after: 1count:
0
0808 11-04 02:45:12.424: DEBUG/MemoEdit(441): EdtContentTextWatcher.onTextChanged()
str:9a00—s.length:4—split array count:1
0809 11-04 02:45:12.464: DEBUG/MemoEdit(441): edtContentTextWatcher.onTextChanged savaMemo()
0810 11-04 02:45:12.504: DEBUG/MemoEdit(441): savaMemo nextMemoId = 2
0811 11-04 02:45:12.524: DEBUG/MemoMainListAdapter(441): onContentChanged
0812 11-04 02:45:12.524: DEBUG/MemoMain(441): OnContentChangedListener.onContentChanged()
0813 11-04 02:45:15.514: DEBUG/PinyinIME(171): onFinishInputView.
0814 11-04 02:45:15.514: DEBUG/PinyinIME(171): onFinishInput.
0815 11-04 02:45:15.514: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0816 11-04 02:45:15.524: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0817 11-04 02:45:18.484: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10000000
cmp=com.hskj.memo/.ui.MemoMain }
0818 11-04 02:45:21.793: DEBUG/PinyinIME(171): onFinishInputView.
0819 11-04 02:45:21.793: DEBUG/PinyinIME(171): onFinishInput.
0820 11-04 02:45:21.793: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0821 11-04 02:45:21.813: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0822 11-04 02:45:22.033: DEBUG/PinyinIME(171): onFinishInputView.
0823 11-04 02:45:22.033: DEBUG/PinyinIME(171): onFinishInput.
0824 11-04 02:45:22.033: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0825 11-04 02:45:22.043: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0826 11-04 02:45:22.813: DEBUG/PinyinIME(171): onFinishInputView.
0827 11-04 02:45:22.813: DEBUG/PinyinIME(171): onFinishInput.
0828 11-04 02:45:22.813: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0829 11-04 02:45:22.833: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0830 11-04 02:45:23.023: DEBUG/PinyinIME(171): onFinishInputView.
0831 11-04 02:45:23.023: DEBUG/PinyinIME(171): onFinishInput.
0832 11-04 02:45:23.023: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0833 11-04 02:45:23.033: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0834 11-04 02:45:26.294: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.CALL_BUTTON flg=0×10000000
cmp=com.android.contacts/.DialtactsActivity }
0835 11-04 02:45:32.524: DEBUG/IphoneEditText(441): onTouchEvent x = 281, y = 255
0836 11-04 02:45:32.535: DEBUG/IphoneEditText(441): action = 0
0837 11-04 02:45:32.535: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
0838 11-04 02:45:32.603: DEBUG/IphoneEditText(441): onTouchEvent x = 281, y = 255
0839 11-04 02:45:32.603: DEBUG/IphoneEditText(441): action = 1
0840 11-04 02:45:32.623: DEBUG/IphoneMenuPopupWindow(441): popWindowWidth:120
0841 11-04 02:45:32.623: DEBUG/IphoneMenuPopupWindow(441): popWindowHeight:59
0842 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): before fixed x:281
0843 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): after fixed x:200
0844 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): before fixed y:162
0845 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): after fixed y:98
0846 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): setArrowMenuBackground:
0847 11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset:81
0848 11-04 02:45:32.663: DEBUG/IphoneMenuPopupWindow(441): when i = 0
hadFindArrowMenuPosition = false
0849 11-04 02:45:32.673: DEBUG/IphoneMenuPopupWindow(441): childWidth = 63
0850 11-04 02:45:32.673: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset – childWidth =
18
0851 11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): when i = 1
hadFindArrowMenuPosition = false
0852 11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): childWidth = 63
0853 11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset – childWidth =
-45
0854 11-04 02:45:32.713: DEBUG/IphoneMenuPopupWindow(441): i == menuCount- 1
0855 11-04 02:45:32.753: DEBUG/PinyinIME(171): onFinishInputView.
0856 11-04 02:45:32.753: DEBUG/PinyinIME(171): onFinishInput.
0857 11-04 02:45:32.753: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0858 11-04 02:45:32.763: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0859 11-04 02:45:41.903: DEBUG/PinyinIME(171): onFinishInputView.
0860 11-04 02:45:41.903: DEBUG/PinyinIME(171): onFinishInput.
0861 11-04 02:45:41.903: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0862 11-04 02:45:41.913: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0863 11-04 02:45:47.993: DEBUG/IphoneMenuPopupWindow(441): updateIphoneMenuPopupWindow
dismiss:
0864 11-04 02:45:48.003: DEBUG/IphoneEditText(441): onTouchEvent x = 306, y = 148
0865 11-04 02:45:48.003: DEBUG/IphoneEditText(441): action = 0
0866 11-04 02:45:48.003: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
0867 11-04 02:45:48.074: DEBUG/IphoneEditText(441): onTouchEvent x = 306, y = 148
0868 11-04 02:45:48.084: DEBUG/IphoneEditText(441): action = 1
0869 11-04 02:45:48.114: DEBUG/PinyinIME(171): onFinishInputView.
0870 11-04 02:45:48.114: DEBUG/PinyinIME(171): onFinishInput.
0871 11-04 02:45:48.114: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
0872 11-04 02:45:48.134: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
0873 11-04 02:45:54.214: DEBUG/IphoneEditText(441): onSelectionChanged
0874 11-04 02:45:54.234: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 3selEnd: 3
0875 11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged
0876 11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 2selEnd: 2
0877 11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged
0878 11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 1selEnd: 1
0879 11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged
0880 11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 0selEnd: 0
0881 11-04 02:45:54.474: DEBUG/PinyinIME(171): onFinishInputView.
0882 11-04 02:45:54.474: DEBUG/PinyinIME(171): onFinishInput.
0883 11-04 02:45:54.474: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0884 11-04 02:45:54.494: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0885 11-04 02:45:55.064: DEBUG/IphoneEditText(441): onSelectionChanged
0886 11-04 02:45:55.064: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 4selEnd: 4
0887 11-04 02:45:55.124: DEBUG/PinyinIME(171): onFinishInputView.
0888 11-04 02:45:55.124: DEBUG/PinyinIME(171): onFinishInput.
0889 11-04 02:45:55.124: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0890 11-04 02:45:55.134: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0891 11-04 02:45:55.404: DEBUG/PinyinIME(171): onFinishInputView.
0892 11-04 02:45:55.404: DEBUG/PinyinIME(171): onFinishInput.
0893 11-04 02:45:55.414: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0894 11-04 02:45:55.434: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0895 11-04 02:45:59.114: DEBUG/PinyinIME(171): onFinishInputView.
0896 11-04 02:45:59.114: DEBUG/PinyinIME(171): onFinishInput.
0897 11-04 02:45:59.114: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0898 11-04 02:45:59.134: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0899 11-04 02:46:05.434: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0900 11-04 02:46:05.454: DEBUG/AndroidRuntime(441): Shutting down VM
0901 11-04 02:46:05.464: WARN/dalvikvm(441): threadid=3: thread exiting with uncaught
exception (group=0x4001b188)
0902 11-04 02:46:05.464: ERROR/AndroidRuntime(441): Uncaught handler: thread main exiting
due to uncaught exception
0903 11-04 02:46:05.503: ERROR/AndroidRuntime(441):
android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
0904 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
0905 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
0906 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.app.Activity.startActivityForResult(Activity.java:2749)
0907 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.app.Activity.startActivity(Activity.java:2855)
0908 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
0909 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at android.view.View.performClick
(View.java:2364)
0910 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at android.view.View.onTouchEvent
(View.java:4198)
0911 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.widget.TextView.onTouchEvent(TextView.java:6543)
0912 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.View.dispatchTouchEvent(View.java:3728)
0913 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0914 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0915 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0916 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0917 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
0918 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent
(PhoneWindow.java:1659)
0919 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
0920 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
0921 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent
(IphoneMenuBottomPopActivity.java:104)
0922 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent
(PhoneWindow.java:1643)
0923 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
0924 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
android.os.Handler.dispatchMessage(Handler.java:99)
0925 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at android.os.Looper.loop
(Looper.java:123)
0926 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at android.app.ActivityThread.main
(ActivityThread.java:4363)
0927 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
java.lang.reflect.Method.invokeNative(Native Method)
0928 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at java.lang.reflect.Method.invoke
(Method.java:521)
0929 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
0930 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
0931 11-04 02:46:05.503: ERROR/AndroidRuntime(441): at dalvik.system.NativeStart.main
(Native Method)
0932 11-04 02:46:05.683: DEBUG/dalvikvm(117): GC freed 16118 objects / 775112 bytes in 160ms
0933 11-04 02:46:05.683: INFO/Process(117): Sending signal. PID: 441 SIG: 3
0934 11-04 02:46:05.693: INFO/dalvikvm(441): threadid=7: reacting to signal 3
0935 11-04 02:46:05.703: INFO/dalvikvm(441): Wrote stack trace to ‘/data/anr/traces.txt’
0936 11-04 02:46:05.833: ERROR/ActivityThread(117): Failed to find provider info for
android.server.checkin
0937 11-04 02:46:05.843: ERROR/Checkin(117): Error reporting crash
0938 11-04 02:46:08.554: INFO/AndroidRuntime(451): AndroidRuntime onExit calling exit(90)
0939 11-04 02:47:09.823: WARN/KeyCharacterMap(117): No keyboard for id 0
0940 11-04 02:47:09.823: WARN/KeyCharacterMap(117): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0941 11-04 02:47:11.964: INFO/Process(441): Sending signal. PID: 441 SIG: 9
0942 11-04 02:47:11.994: INFO/ActivityManager(117): Process com.hskj.memo (pid 441) has
died.
0943 11-04 02:47:11.994: INFO/WindowManager(117): WIN DEATH: Window{43a8bb50
com.hskj.memo/com.hskj.memo.ui.MemoEdit paused=false}
0944 11-04 02:47:12.214: INFO/ActivityManager(117): Start proc com.hskj.memo for activity
com.hskj.memo/.ui.MemoMain: pid=459 uid=10019 gids={}
0945 11-04 02:47:12.663: DEBUG/ddm-heap(459): Got feature list request
0946 11-04 02:47:12.783: INFO/UsageStats(117): Unexpected resume of com.hskj.memo while
already resumed in com.hskj.memo
0947 11-04 02:47:12.934: INFO/ActivityThread(459): Publishing provider
com.hskj.provider.memo: com.hskj.memo.provider.MemoProvider
0948 11-04 02:47:13.374: DEBUG/MemoListView(459): MemoListView(Context context, AttributeSet
attrs) mMaximumVelocity:4000
0949 11-04 02:47:13.473: DEBUG/mListView.getChildCount()(459): mListView.getChildCount()=0
0950 11-04 02:47:13.693: WARN/InputManagerService(117): Got RemoteException sending
setActive(false) notification to pid 441 uid 10019
0951 11-04 02:47:13.733: DEBUG/PinyinIME(171): onFinishInputView.
0952 11-04 02:47:13.733: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0953 11-04 02:47:13.743: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
0954 11-04 02:47:13.823: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0955 11-04 02:47:13.893: DEBUG/PinyinIME(171): onFinishInputView.
0956 11-04 02:47:13.903: DEBUG/ViewFlipper(171): updateRunning() mVisible=false,
mStarted=false, mUserPresent=true, mRunning=false
0957 11-04 02:47:13.903: DEBUG/ViewFlipper(171): updateRunning() mVisible=false,
mStarted=false, mUserPresent=true, mRunning=false
0958 11-04 02:47:13.928: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0959 11-04 02:47:14.023: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0960 11-04 02:47:14.104: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0961 11-04 02:47:14.154: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0962 11-04 02:47:14.354: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoMain: 2336 ms (total 2336 ms)
0963 11-04 02:47:14.703: WARN/KeyCharacterMap(459): No keyboard for id 0
0964 11-04 02:47:14.713: WARN/KeyCharacterMap(459): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
0965 11-04 02:47:14.803: DEBUG/LifeCryle(314): Launcher onCreate!
0966 11-04 02:47:14.863: DEBUG/IphoneHomeLoaders(314): loading user items
0967 11-04 02:47:14.863: DEBUG/IphoneHomeLoaders(314): –> items loaded, return
0968 11-04 02:47:14.873: DEBUG/IphoneHomeLoaders(314): ——> starting bindDesktopItems!
0969 11-04 02:47:14.873: DEBUG/IphoneHomeLoaders(314): ——> new DesktopBinder!
0970 11-04 02:47:14.873: DEBUG/IphoneLauncher(314): ——> binding 18 items
0971 11-04 02:47:14.883: DEBUG/IphoneLauncher(314): ——> start binding items
0972 11-04 02:47:14.893: DEBUG/LifeCryle(314): Launcher onStart!
0973 11-04 02:47:14.893: DEBUG/LifeCryle(314): Launcher onRestoreInstanceState!
0974 11-04 02:47:14.903: DEBUG/LifeCryle(314): Launcher onResume!
0975 11-04 02:47:14.913: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
0976 11-04 02:47:15.044: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
0977 11-04 02:47:15.164: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
0978 11-04 02:47:15.174: WARN/InputManagerService(117): Starting input on non-focused client
com.android.internal.view.IInputMethodClient$Stub$Proxy@43885628 (uid=10019 pid=459)
0979 11-04 02:47:15.234: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
0980 11-04 02:47:15.324: DEBUG/IphoneLauncher(314): ——> start binding drawer
0981 11-04 02:47:15.803: INFO/ActivityManager(117): Displayed activity
com.hskj.iphonehome/.Launcher: 1022 ms (total 1022 ms)
0982 11-04 02:47:16.014: DEBUG/IphoneLauncher(314): onClick v =
com.hskj.iphonehome.IphoneBubbleTextView@43a2c058
0983 11-04 02:47:16.034: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10200000
cmp=com.android.browser/.BrowserActivity }
0984 11-04 02:47:16.244: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
0985 11-04 02:47:16.254: DEBUG/LifeCryle(314): Launcher onPause!
0986 11-04 02:47:16.324: INFO/ActivityManager(117): Start proc com.android.browser for
activity com.android.browser/.BrowserActivity: pid=469 uid=10011 gids={3003, 1015}
0987 11-04 02:47:16.573: DEBUG/ddm-heap(469): Got feature list request
0988 11-04 02:47:16.793: DEBUG/installd(85): DexInv: — BEGIN ‘/system/app/Browser.apk’ —
0989 11-04 02:47:18.254: DEBUG/IphoneLauncher(314): onClick v =
com.hskj.iphonehome.IphoneBubbleTextView@43a3df78
0990 11-04 02:47:18.783: DEBUG/dalvikvm(475): DexOpt: load 418ms, verify 952ms, opt 24ms
0991 11-04 02:47:18.803: DEBUG/installd(85): DexInv: — END ‘/system/app/Browser.apk’
(success) —
0992 11-04 02:47:18.883: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0×10200000
cmp=com.hskj.memo/.ui.MemoMain }
0993 11-04 02:47:19.224: INFO/ActivityThread(469): Publishing provider browser:
com.android.browser.BrowserProvider
0994 11-04 02:47:19.394: WARN/ActivityManager(117): Activity pause timeout for
HistoryRecord{43a673e8 com.android.browser/.BrowserActivity}
0995 11-04 02:47:19.523: DEBUG/MemoListView(459): MemoListView(Context context, AttributeSet
attrs) mMaximumVelocity:4000
0996 11-04 02:47:19.713: DEBUG/mListView.getChildCount()(459): mListView.getChildCount()=0
0997 11-04 02:47:19.843: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0998 11-04 02:47:19.873: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
0999 11-04 02:47:19.893: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
1000 11-04 02:47:19.913: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
1001 11-04 02:47:19.934: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
1002 11-04 02:47:20.014: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
1003 11-04 02:47:20.104: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoMain: 705 ms (total 3811 ms)
1004 11-04 02:47:20.513: DEBUG/LifeCryle(314): Launcher onStop!
1005 11-04 02:47:20.553: DEBUG/LifeCryle(314): Launcher onDestroy!
1006 11-04 02:47:20.563: DEBUG/IphoneHomeLoaders(314): aborting loaders
1007 11-04 02:47:20.843: ERROR/ActivityThread(469): Failed to find provider info for
com.google.settings
1008 11-04 02:47:22.673: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_DOWN:
1009 11-04 02:47:22.734: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_UP:
1010 11-04 02:47:22.734: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_UP:
Math.abs(velocityX):0—Math.abs(velocityY):0
1011 11-04 02:47:23.064: DEBUG/MemoProvider(459): getType uri =
content://com.hskj.provider.memo/memo/3, match =2
1012 11-04 02:47:23.074: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.EDIT dat=content://com.hskj.provider.memo/memo/3
cmp=com.hskj.memo/.ui.MemoEdit }
1013 11-04 02:47:23.234: DEBUG/dalvikvm(459): GC freed 4083 objects / 231232 bytes in 71ms
1014 11-04 02:47:23.334: DEBUG/dalvikvm(459): GC freed 225 objects / 10488 bytes in 82ms
1015 11-04 02:47:23.354: INFO/dalvikvm(459): Uncaught exception thrown by finalizer (will be
discarded):
1016 11-04 02:47:23.354: INFO/dalvikvm(459): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.SQLiteCursor@439b1e00 on memos that has not been deactivated
or closed
1017 11-04 02:47:23.354: INFO/dalvikvm(459): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
1018 11-04 02:47:23.354: INFO/dalvikvm(459): at dalvik.system.NativeStart.run(Native
Method)
1019 11-04 02:47:23.503: DEBUG/IphoneEditText(459): onSelectionChanged
1020 11-04 02:47:23.703: DEBUG/IphoneEditText(459): beforeTextChanged cancelShow()
1021 11-04 02:47:23.703: DEBUG/IphoneEditText(459): beforeTextChanged start: 0after: 4count:
0
1022 11-04 02:47:23.703: DEBUG/IphoneEditText(459): onSelectionChanged
1023 11-04 02:47:23.713: DEBUG/IphoneEditText(459): onSelectionChanged selStart: 0selEnd: 0
1024 11-04 02:47:23.803: DEBUG/IphoneEditText(459): onSelectionChanged
1025 11-04 02:47:23.813: DEBUG/IphoneEditText(459): onSelectionChanged selStart: 4selEnd: 4
1026 11-04 02:47:23.893: DEBUG/IphoneEditText(459): onWindowFocusChanged
1027 11-04 02:47:23.913: DEBUG/PinyinIME(171): onFinishInput.
1028 11-04 02:47:23.913: DEBUG/PinyinIME(171): onStartInput ccontentType: 147457
Restarting:false
1029 11-04 02:47:24.214: INFO/ActivityManager(117): Displayed activity
com.hskj.memo/.ui.MemoEdit: 1129 ms (total 1129 ms)
1030 11-04 02:47:29.334: DEBUG/dalvikvm(314): GC freed 7554 objects / 443808 bytes in 91ms
1031 11-04 02:47:29.344: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be
discarded):
1032 11-04 02:47:29.344: INFO/dalvikvm(314): Ljava/lang/IllegalStateException;: Finalizing
cursor android.database.sqlite.SQLiteCursor@439f4ab0 on panel that has not been deactivated
or closed
1033 11-04 02:47:29.344: INFO/dalvikvm(314): at
android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
1034 11-04 02:47:29.344: INFO/dalvikvm(314): at dalvik.system.NativeStart.run(Native
Method)
1035 11-04 02:47:31.603: DEBUG/IphoneEditText(459): onTouchEvent x = 239, y = 107
1036 11-04 02:47:31.613: DEBUG/IphoneEditText(459): action = 0
1037 11-04 02:47:31.623: DEBUG/IphoneEditText(459): mStatus.hasSelection = false
1038 11-04 02:47:31.633: DEBUG/IphoneEditText(459): onTouchEvent x = 239, y = 107
1039 11-04 02:47:31.633: DEBUG/IphoneEditText(459): action = 1
1040 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): popWindowWidth:120
1041 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): popWindowHeight:59
1042 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): before fixed x:239
1043 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): after fixed x:179
1044 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): before fixed y:209
1045 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): after fixed y:145
1046 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): setArrowMenuBackground:
1047 11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): touchAndShowOffset:60
1048 11-04 02:47:31.733: DEBUG/IphoneMenuPopupWindow(459): when i = 0
hadFindArrowMenuPosition = false
1049 11-04 02:47:31.733: DEBUG/IphoneMenuPopupWindow(459): childWidth = 63
1050 11-04 02:47:31.743: DEBUG/IphoneMenuPopupWindow(459): touchAndShowOffset – childWidth =
-3
1051 11-04 02:47:31.743: DEBUG/IphoneMenuPopupWindow(459): i == 0
1052 11-04 02:47:31.783: DEBUG/IphoneMenuPopupWindow(459): when i = 1
hadFindArrowMenuPosition = true
1053 11-04 02:47:31.813: DEBUG/PinyinIME(171): onStartInputView contentType: 147457
Restarting:false
1054 11-04 02:47:31.823: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
1055 11-04 02:47:31.823: DEBUG/ViewFlipper(171): updateRunning() mVisible=true,
mStarted=false, mUserPresent=true, mRunning=false
1056 11-04 02:47:34.034: WARN/KeyCharacterMap(459): No keyboard for id 0
1057 11-04 02:47:34.043: WARN/KeyCharacterMap(459): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
1058 11-04 02:47:34.264: DEBUG/PinyinIME(171): onFinishInputView.
1059 11-04 02:47:34.264: DEBUG/PinyinIME(171): onFinishInput.
1060 11-04 02:47:34.264: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
1061 11-04 02:47:34.274: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
1062 11-04 02:47:41.154: DEBUG/IphoneMenuPopupWindow(459): updateIphoneMenuPopupWindow
dismiss:
1063 11-04 02:47:41.224: INFO/ActivityManager(117): Starting activity: Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
1064 11-04 02:47:41.244: DEBUG/AndroidRuntime(459): Shutting down VM
1065 11-04 02:47:41.244: WARN/dalvikvm(459): threadid=3: thread exiting with uncaught
exception (group=0x4001b188)
1066 11-04 02:47:41.259: ERROR/AndroidRuntime(459): Uncaught handler: thread main exiting
due to uncaught exception
1067 11-04 02:47:41.274: ERROR/AndroidRuntime(459):
android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SENDTO dat=mailto: (has extras) }
1068 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
1069 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
1070 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.app.Activity.startActivityForResult(Activity.java:2749)
1071 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.app.Activity.startActivity(Activity.java:2855)
1072 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
1073 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at android.view.View.performClick
(View.java:2364)
1074 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at android.view.View.onTouchEvent
(View.java:4198)
1075 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.widget.TextView.onTouchEvent(TextView.java:6543)
1076 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.View.dispatchTouchEvent(View.java:3728)
1077 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
1078 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
1079 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
1080 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
1081 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
1082 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent
(PhoneWindow.java:1659)
1083 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
1084 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
1085 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent
(IphoneMenuBottomPopActivity.java:104)
1086 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent
(PhoneWindow.java:1643)
1087 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
1088 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
android.os.Handler.dispatchMessage(Handler.java:99)
1089 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at android.os.Looper.loop
(Looper.java:123)
1090 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at android.app.ActivityThread.main
(ActivityThread.java:4363)
1091 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
java.lang.reflect.Method.invokeNative(Native Method)
1092 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at java.lang.reflect.Method.invoke
(Method.java:521)
1093 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
1094 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
1095 11-04 02:47:41.274: ERROR/AndroidRuntime(459): at dalvik.system.NativeStart.main
(Native Method)
1096 11-04 02:47:41.305: INFO/Process(117): Sending signal. PID: 459 SIG: 3
1097 11-04 02:47:41.305: INFO/dalvikvm(459): threadid=7: reacting to signal 3
1098 11-04 02:47:41.314: INFO/dalvikvm(459): Wrote stack trace to ‘/data/anr/traces.txt’
1099 11-04 02:47:41.324: ERROR/ActivityThread(117): Failed to find provider info for
android.server.checkin
1100 11-04 02:47:41.334: ERROR/Checkin(117): Error reporting crash
1101 11-04 02:47:43.044: INFO/Process(459): Sending signal. PID: 459 SIG: 9
1102 11-04 02:47:43.135: INFO/ActivityManager(117): Process com.hskj.memo (pid 459) has
died.
1103 11-04 02:47:43.135: INFO/WindowManager(117): WIN DEATH: Window{43afc2f8
com.hskj.memo/com.hskj.memo.ui.MemoEdit paused=false}
1104 11-04 02:47:43.304: INFO/UsageStats(117): Unexpected resume of com.android.browser
while already resumed in com.hskj.memo
1105 11-04 02:47:43.583: WARN/TabControl(469): Fail in restoreState, load home page.
1106 11-04 02:47:43.753: WARN/InputManagerService(117): Got RemoteException sending
setActive(false) notification to pid 459 uid 10019
1107 11-04 02:47:43.833: DEBUG/PinyinIME(171): onFinishInputView.
1108 11-04 02:47:43.833: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
1109 11-04 02:47:43.833: DEBUG/PinyinIME(171): onStartInputView contentType: 0
Restarting:false
1110 11-04 02:47:43.923: INFO/ActivityManager(117): Displayed activity
com.android.browser/.BrowserActivity: 27631 ms (total 765 ms)
1111 11-04 02:47:44.204: DEBUG/PinyinIME(171): onFinishInputView.
1112 11-04 02:47:44.312: DEBUG/ViewFlipper(171): updateRunning() mVisible=false,
mStarted=false, mUserPresent=true, mRunning=false
1113 11-04 02:47:44.314: DEBUG/ViewFlipper(171): updateRunning() mVisible=false,
mStarted=false, mUserPresent=true, mRunning=false
1114 11-04 02:47:45.723: DEBUG/dalvikvm(469): GC freed 3599 objects / 236552 bytes in 100ms
1115 11-04 02:47:45.933: WARN/dalvikvm(469): JNI WARNING: DeleteLocalRef(0x439c7e80) failed
to find entry (valid=1)
1116 11-04 02:47:48.603: WARN/KeyCharacterMap(469): No keyboard for id 0
1117 11-04 02:47:48.623: WARN/KeyCharacterMap(469): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
1118 11-04 02:47:48.763: INFO/ActivityManager(117): moveTaskToBack: 14
1119 11-04 02:47:49.014: DEBUG/LifeCryle(314): Launcher onCreate!
1120 11-04 02:47:49.194: DEBUG/IphoneHomeLoaders(314): loading user items
1121 11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314): –> items loaded, return
1122 11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314): ——> starting bindDesktopItems!
1123 11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314): ——> new DesktopBinder!
1124 11-04 02:47:49.204: DEBUG/IphoneLauncher(314): ——> binding 18 items
1125 11-04 02:47:49.204: DEBUG/IphoneLauncher(314): ——> start binding items
1126 11-04 02:47:49.243: DEBUG/LifeCryle(314): Launcher onStart!
1127 11-04 02:47:49.264: DEBUG/LifeCryle(314): Launcher onRestoreInstanceState!
1128 11-04 02:47:49.264: DEBUG/LifeCryle(314): Launcher onResume!
1129 11-04 02:47:49.294: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
1130 11-04 02:47:49.773: WARN/KeyCharacterMap(314): No keyboard for id 0
1131 11-04 02:47:49.809: WARN/KeyCharacterMap(314): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
1132 11-04 02:47:49.823: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
1133 11-04 02:47:50.344: DEBUG/PinyinIME(171): onStartInput ccontentType: 0
Restarting:false
1134 11-04 02:47:50.354: WARN/InputManagerService(117): Starting input on non-focused client
com.android.internal.view.IInputMethodClient$Stub$Proxy@43add4c8 (uid=10011 pid=469)
1135 11-04 02:47:50.503: DEBUG/LocationManager(469): Constructor: service =
android.location.ILocationManager$Stub$Proxy@439e8340
1136 11-04 02:47:50.553: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is
MESSAGE_BIND_ITEMS
1137 11-04 02:47:50.853: DEBUG/IphoneLauncher(314): ——> start binding drawer
1138 11-04 02:47:51.094: DEBUG/dalvikvm(469): GC freed 2957 objects / 433272 bytes in 160ms
1139 11-04 02:47:51.626: INFO/ActivityManager(117): Displayed activity
com.hskj.iphonehome/.Launcher: 2645 ms (total 2645 ms)
1140 11-04 02:47:51.713: DEBUG/webviewglue(469): nativeDestroy view: 0x2ee148
1141 11-04 02:48:34.844: DEBUG/dalvikvm(117): GC freed 19821 objects / 968104 bytes in 227ms
1142 11-04 02:51:47.674: DEBUG/dalvikvm(174): GC freed 13219 objects / 588536 bytes in 121ms
1143 11-04 02:52:22.924: DEBUG/dalvikvm(117): GC freed 25016 objects / 1145944 bytes in
182ms
1144 11-04 02:56:08.033: DEBUG/dalvikvm(117): GC freed 23321 objects / 1081552 bytes in
139ms
1145 11-04 02:59:54.214: DEBUG/dalvikvm(117): GC freed 23081 objects / 1083232 bytes in
170ms
1146
1147
1148
1149 (设定每一个动作执行后停顿5秒钟或者别的一个时间段,直到出错,此时可以有更充分的
时间来查看每一个动作的执行过程)
1150 2。找到错误后,进行源代码更改,更改错误后进行 相同的seed值 及 相同的起始位置 再进行
一次相同事件的测试。
1151 3。若错误不再发生,则进行别的SEED值的测试,直到经过千锤百炼都没有错再发生它才算是一
个稳定性足够的程序。
摘自
http://www.cnblogs.com/wfh1988/archive/2010/11/16/1878215.html

浙公网安备 33010602011771号