nothing is impossible!一切皆有可能!

Android 的monkey测试及排错步骤(转自博客园)

上一篇 / 下一篇  2011-12-20 17:56:03 / 个人分类:Android

1.  环境准备:
    1。开启eclipse,并显示到Logcat界面;
    2。开启模拟器;
    3。进入shell,准备Monkey测试;
    4。准备两把屏幕尺子(方便找到测试时找到的点及一些动作的变化);
 
2。  开始测试:
    1。在shell中输入命令(以测试com.hskj.memo为例):monkey -p com.hskj.memo -s 100 -v -v -v 500 
    (测试com.hskj.memo包,以seed为100的随机排序<设置seed方便下次进行同样事件的测试,不过要求测试的起始位置相同,比如起始位置为桌面或者为某一个Activity的某一个状态>,测试结果为第三级别的显示,即为最详细的显示)
    2。查看结果并将结果保存(包括Monkey的输出结果及eclipse里面的输出结果):
    3。分析结果(找出并标识出重要信息):
        
 
 
 
//-------------monkey的输出结果--------------------------
 
# monkey -p com.hskj.memo -s 100 -v -v -v 500
:Monkey: seed=100 count=500
:AllowPackage: com.hskj.memo
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Selecting main activities from category android.intent.category.LAUNCHER
//   - NOT USING main activity com.android.settings.Settings (from package com.android.settings)
//   - NOT USING main activity com.android.contacts.DialtactsActivity (from package com.android.contacts)
//   - NOT USING main activity com.android.contacts.ContactsListActivity (from package com.android.contacts)
//   - NOT USING main activity com.hskj.iphonemms.ui.ConversationList (from package com.hskj.iphonemms)
//   - NOT USING main activity com.android.calendar.LaunchActivity (from package com.android.calendar)
//   - NOT USING main activity com.android.deskclock.DeskClockGroupActivity (from package com.android.deskclock)
//   - NOT USING main activity com.android.systemupdater.SystemUpdate (from package com.android.systemupdater)
//   - NOT USING main activity com.android.camera.Camera (from package com.android.camera)
//   - NOT USING main activity com.android.browser.BrowserActivity (from package com.android.browser)
//   - NOT USING main activity com.android.music.MusicBrowserActivity (from package com.android.music)
//   - NOT USING main activity com.android.email.activity.Welcome (from package com.android.email)
//   - NOT USING main activity com.hskj.iphonecamera.GalleryPicker (from package com.hskj.iphonegallery)
//   + Using main activity com.hskj.memo.ui.MemoMain (from package com.hskj.memo)
//   - NOT USING main activity com.android.term.Term (from package com.android.term)
//   - NOT USING main activity com.android.development.Development (from package com.android.development)
//   - NOT USING main activity com.hskj.iphone.voicememor.VoiceRecordActivity (from package com.hskj.iphone.voicememor)
//   - NOT USING main activity com.hskj.iphonecalculator.Calculator (from package com.hskj.iphonecalculator)
// Selecting main activities from category android.intent.category.MONKEY
//   - NOT USING main activity com.android.settings.ManageApplications (from package com.android.settings)
//   - NOT USING main activity com.android.settings.RunningServices (from package com.android.settings)
//   - NOT USING main activity com.hskj.iphonehome.Launcher (from package com.hskj.iphonehome)
//   - NOT USING main activity com.android.launcher.Launcher (from package com.android.launcher)
//   - NOT USING main activity com.android.googlesearch.GoogleSearch (from package com.android.googlesearch)
// Seeded: 100
// Event percentages:
//   0: 15.0%
//   1: 10.0%
//   2: 15.0%
//   3: 25.0%
//   4: 15.0%
//   5: 2.0%
//   6: 2.0%
//   7: 1.0%
//   8: 15.0%
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=com.hskj.memo/.ui.MemoMain;end
    // 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
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=1.0 y=377.0
:Sending Pointer ACTION_UP x=1.0 y=377.0
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=104.0 y=178.0
:Sending Pointer ACTION_UP x=104.0 y=178.0
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
    // activityResuming(com.hskj.iphonehome)
    // Rejecting resume of package com.hskj.iphonehome
    // 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
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 23    // KEYCODE_DPAD_CENTER
:SendKey (ACTION_UP): 23    // KEYCODE_DPAD_CENTER
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=249.0 y=141.0
:Sending Pointer ACTION_MOVE x=258.0 y=139.0
:Sending Pointer ACTION_MOVE x=261.0 y=138.0
:Sending Pointer ACTION_MOVE x=260.0 y=138.0
:Sending Pointer ACTION_MOVE x=264.0 y=134.0
:Sending Pointer ACTION_MOVE x=269.0 y=128.0
:Sending Pointer ACTION_MOVE x=266.0 y=136.0
:Sending Pointer ACTION_MOVE x=274.0 y=136.0
:Sending Pointer ACTION_MOVE x=275.0 y=132.0
:Sending Pointer ACTION_UP x=275.0 y=132.0
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 28    // KEYCODE_CLEAR
:SendKey (ACTION_UP): 28    // KEYCODE_CLEAR
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 7    // KEYCODE_0
:SendKey (ACTION_UP): 7    // KEYCODE_0
Sleeping for 0 milliseconds
 
 
//---------------一般由此处开始分析(即跳转到发生错误的那个Activity前的一个Activity的最后一个动作)-----------------
 
 
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 0 milliseconds
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=com.hskj.memo/.ui.MemoMain;end
    // 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
Sleeping for 0 milliseconds
:Sending Pointer ACTION_MOVE x=-4.0 y=-5.0
:Sending Pointer ACTION_MOVE x=2.0 y=1.0
:Sending Pointer ACTION_MOVE x=-2.0 y=-2.0
:Sending Pointer ACTION_MOVE x=3.0 y=0.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=2.0
:Sending Pointer ACTION_MOVE x=1.0 y=2.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=2.0 y=3.0
:Sending Pointer ACTION_MOVE x=-1.0 y=4.0
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 5    // KEYCODE_CALL
:SendKey (ACTION_UP): 5    // KEYCODE_CALL
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
    // Rejecting start of Intent { act=android.intent.action.CALL_BUTTON cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=281.0 y=162.0
:Sending Pointer ACTION_UP x=281.0 y=162.0
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 78    // KEYCODE_NUM
:SendKey (ACTION_UP): 78    // KEYCODE_NUM
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 22    // KEYCODE_DPAD_RIGHT
:SendKey (ACTION_UP): 22    // KEYCODE_DPAD_RIGHT
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 7    // KEYCODE_0
:SendKey (ACTION_UP): 7    // KEYCODE_0
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=306.0 y=55.0
:Sending Pointer ACTION_UP x=306.0 y=55.0
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 60    // KEYCODE_SHIFT_RIGHT
:SendKey (ACTION_UP): 60    // KEYCODE_SHIFT_RIGHT
Sleeping for 0 milliseconds
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
:Sending Pointer ACTION_MOVE x=1.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=4.0
:Sending Pointer ACTION_MOVE x=-1.0 y=0.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-1.0
:Sending Pointer ACTION_MOVE x=-3.0 y=0.0
:Sending Pointer ACTION_MOVE x=-2.0 y=4.0
:Sending Pointer ACTION_MOVE x=-4.0 y=-2.0
:Sending Pointer ACTION_MOVE x=4.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
:SendKey (ACTION_DOWN): 22    // KEYCODE_DPAD_RIGHT
:SendKey (ACTION_UP): 22    // KEYCODE_DPAD_RIGHT
Sleeping for 0 milliseconds
:Sending Pointer ACTION_MOVE x=2.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-2.0 y=-4.0
:Sending Pointer ACTION_MOVE x=-1.0 y=-4.0
:Sending Pointer ACTION_MOVE x=2.0 y=-1.0
:Sending Pointer ACTION_MOVE x=-3.0 y=0.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=3.0 y=-4.0
:Sending Pointer ACTION_MOVE x=-4.0 y=4.0
:SendKey (ACTION_DOWN): 21    // KEYCODE_DPAD_LEFT
:SendKey (ACTION_UP): 21    // KEYCODE_DPAD_LEFT
Sleeping for 0 milliseconds
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=99.0 y=260.0
:Sending Pointer ACTION_UP x=99.0 y=260.0
Sleeping for 0 milliseconds
:Sending Pointer ACTION_DOWN x=12.0 y=179.0
:Sending Pointer ACTION_UP x=12.0 y=179.0
 
 
//-----------------重点:出错错误信息(往上查找出现错误前执行的事件,一般从出现错误的Activity之前的一个Activity的最后一个动作查找)-----------------
 
 
// CRASH: com.hskj.memo (pid 430)
// Short Msg: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
// Long Msg: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
// Build Label: android:cyanogen/cyanogen/generic/:2.1-update1/ECLAIR/eng.root.20101029.152625:eng/test-keys
// Build Changelist: -1
// Build Time: 1288337269
// ID:
// Tag: AndroidRuntime
// android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
//   at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
//   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
//   at android.app.Activity.startActivityForResult(Activity.java:2749)
//   at android.app.Activity.startActivity(Activity.java:2855)
//   at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
//   at android.view.View.performClick(View.java:2364)
//   at android.view.View.onTouchEvent(View.java:4198)
//   at android.widget.TextView.onTouchEvent(TextView.java:6543)
//   at android.view.View.dispatchTouchEvent(View.java:3728)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
//   at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
//   at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
//   at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent(IphoneMenuBottomPopActivity.java:104)
//   at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
//   at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
//   at android.os.Handler.dispatchMessage(Handler.java:99)
//   at android.os.Looper.loop(Looper.java:123)
//   at android.app.ActivityThread.main(ActivityThread.java:4363)
//   at java.lang.reflect.Method.invokeNative(Method.java:-2)
//   at java.lang.reflect.Method.invoke(Method.java:521)
//   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
//   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
//   at dalvik.system.NativeStart.main(NativeStart.java:-2)
 
** Monkey aborted due to error.
Events injected: 92
:Dropped: keys=0 pointers=1 trackballs=0 flips=0
## Network stats: elapsed time=15962ms (15962ms mobile, 0ms wifi, 0ms not connected)
** System appears to have crashed at event 92 of 500 using seed 100
#
 
 
//------------------eclipse中LogCat的输出结果-----------------------------------
 
 
11-04 02:03:51.544: DEBUG/dalvikvm(314): GC freed 4448 objects / 297008 bytes in 80ms
11-04 02:03:51.544: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be discarded):
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
11-04 02:03:51.554: INFO/dalvikvm(314):     at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
11-04 02:03:51.554: INFO/dalvikvm(314):     at dalvik.system.NativeStart.run(Native Method)
11-04 02:03:57.534: DEBUG/dalvikvm(314): GC freed 18199 objects / 925728 bytes in 85ms
11-04 02:04:01.983: DEBUG/dalvikvm(314): GC freed 13953 objects / 660984 bytes in 82ms
11-04 02:04:04.993: DEBUG/libEGL(423): Setting TLS: 0xafe43b74 to 0xac70a2ec
11-04 02:04:05.554: DEBUG/AndroidRuntime(423): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
11-04 02:04:05.564: DEBUG/AndroidRuntime(423): CheckJNI is ON
11-04 02:04:06.284: DEBUG/AndroidRuntime(423): --- registering native functions ---
11-04 02:04:06.804: DEBUG/dalvikvm(314): GC freed 12275 objects / 582016 bytes in 148ms
11-04 02:04:06.963: DEBUG/ddm-heap(423): Got feature list request
11-04 02:04:09.433: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hskj.memo/.ui.MemoMain }
11-04 02:04:09.574: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
11-04 02:04:09.574: DEBUG/LifeCryle(314): Launcher onPause!
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={}
11-04 02:04:10.924: DEBUG/ddm-heap(430): Got feature list request
11-04 02:04:12.914: INFO/ActivityThread(430): Publishing provider com.hskj.provider.memo: com.hskj.memo.provider.MemoProvider
11-04 02:04:13.403: DEBUG/MemoListView(430): MemoListView(Context context, AttributeSet attrs) mMaximumVelocity:4000
11-04 02:04:13.654: DEBUG/mListView.getChildCount()(430): mListView.getChildCount()=0
11-04 02:04:14.014: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:14.033: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_DOWN:
11-04 02:04:14.103: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
11-04 02:04:14.123: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
11-04 02:04:14.153: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
11-04 02:04:14.173: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
11-04 02:04:14.193: DEBUG/MemoMainListAdapter(430): formatCalendar days:0
11-04 02:04:14.363: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoMain: 4769 ms (total 4769 ms)
11-04 02:04:14.373: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
11-04 02:04:14.383: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:   Math.abs(velocityX):0---Math.abs(velocityY):0
11-04 02:04:14.434: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_DOWN:
11-04 02:04:14.794: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:
11-04 02:04:14.803: DEBUG/MemoListView(430): onTouchEvent case MotionEvent.ACTION_UP:   Math.abs(velocityX):0---Math.abs(velocityY):0
11-04 02:04:15.243: WARN/KeyCharacterMap(314): No keyboard for id 0
11-04 02:04:15.253: WARN/KeyCharacterMap(314): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:04:15.253: DEBUG/IphoneLauncher(314): onKeyDown!
11-04 02:04:15.403: DEBUG/LifeCryle(314): Launcher onStop!
11-04 02:04:15.504: DEBUG/MemoProvider(430): getType uri = content://com.hskj.provider.memo/memo/2, match =2
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 }
11-04 02:04:15.544: WARN/KeyCharacterMap(430): No keyboard for id 0
11-04 02:04:15.553: WARN/KeyCharacterMap(430): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:04:15.734: DEBUG/dalvikvm(430): GC freed 2584 objects / 153536 bytes in 93ms
11-04 02:04:15.834: DEBUG/LifeCryle(314): Launcher onDestroy!
11-04 02:04:15.904: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:15.924: DEBUG/IphoneHomeLoaders(314): aborting loaders
11-04 02:04:16.133: DEBUG/IphoneEditText(430): beforeTextChanged cancelShow()
11-04 02:04:16.143: DEBUG/IphoneEditText(430): beforeTextChanged start: 0after: 39count: 0
11-04 02:04:16.143: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:16.143: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 0selEnd: 0
11-04 02:04:16.263: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:16.263: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd: 22
11-04 02:04:16.263: WARN/KeyCharacterMap(430): No keyboard for id 0
11-04 02:04:16.273: WARN/KeyCharacterMap(430): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:04:16.464: DEBUG/IphoneEditText(430): onWindowFocusChanged
11-04 02:04:16.484: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:16.484: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:04:16.644: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:04:16.854: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoEdit: 1272 ms (total 1272 ms)
11-04 02:04:16.934: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:16.943: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:04:16.943: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:04:16.978: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd: 26
11-04 02:04:17.464: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:17.464: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd: 29
11-04 02:04:17.664: DEBUG/IphoneEditText(430): onTouchEvent x = 249, y = 39
11-04 02:04:17.664: DEBUG/IphoneEditText(430): action = 0
11-04 02:04:17.674: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
11-04 02:04:17.693: DEBUG/IphoneEditText(430): onTouchEvent x = 258, y = 37
11-04 02:04:17.693: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.724: DEBUG/IphoneEditText(430): onTouchEvent x = 261, y = 36
11-04 02:04:17.734: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.754: DEBUG/IphoneEditText(430): onTouchEvent x = 260, y = 36
11-04 02:04:17.754: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.774: DEBUG/IphoneEditText(430): onTouchEvent x = 264, y = 32
11-04 02:04:17.784: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.804: DEBUG/IphoneEditText(430): onTouchEvent x = 269, y = 26
11-04 02:04:17.814: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.834: DEBUG/IphoneEditText(430): onTouchEvent x = 266, y = 34
11-04 02:04:17.834: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.864: DEBUG/IphoneEditText(430): onTouchEvent x = 274, y = 34
11-04 02:04:17.864: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.893: DEBUG/IphoneEditText(430): onTouchEvent x = 275, y = 30
11-04 02:04:17.893: DEBUG/IphoneEditText(430): action = 2
11-04 02:04:17.914: DEBUG/IphoneEditText(430): onTouchEvent x = 275, y = 30
11-04 02:04:17.923: DEBUG/IphoneEditText(430): action = 1
11-04 02:04:17.923: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:17.934: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd: 26
11-04 02:04:17.944: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:17.953: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd: 29
11-04 02:04:17.974: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:17.983: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 26selEnd: 26
11-04 02:04:18.103: DEBUG/IphoneEditText(430): beforeTextChanged cancelShow()
11-04 02:04:18.103: DEBUG/IphoneEditText(430): beforeTextChanged start: 26after: 1count: 0
11-04 02:04:18.103: DEBUG/MemoEdit(430): EdtContentTextWatcher.onTextChanged()  str:5+=    szdmj udfodePPL K
11-04 02:04:18.103: DEBUG/MemoEdit(430): [L00
11-04 02:04:18.103: DEBUG/MemoEdit(430): WX          ---s.length:40---split array count:3
11-04 02:04:18.133: DEBUG/MemoEdit(430): edtContentTextWatcher.onTextChanged savaMemo()
11-04 02:04:18.193: DEBUG/MemoEdit(430): savaMemo nextMemoId = 3
11-04 02:04:18.263: DEBUG/MemoMainListAdapter(430): onContentChanged
11-04 02:04:18.273: DEBUG/MemoMain(430): OnContentChangedListener.onContentChanged()
11-04 02:04:18.293: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:18.293: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd: 32
11-04 02:04:18.313: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hskj.memo/.ui.MemoMain }
11-04 02:04:18.574: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:18.584: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd: 27
11-04 02:04:18.594: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:18.604: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 4selEnd: 4
11-04 02:04:18.754: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:18.754: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:18.754: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:18.764: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:19.234: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.243: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd: 22
11-04 02:04:19.257: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.263: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd: 27
11-04 02:04:19.273: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:19.273: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:19.273: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:04:19.283: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:04:19.434: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.470: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 28selEnd: 28
11-04 02:04:19.473: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.473: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 29selEnd: 29
11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 30selEnd: 30
11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:19.493: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 31selEnd: 31
11-04 02:04:19.604: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:19.604: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:19.614: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:19.624: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:20.063: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.CALL_BUTTON flg=0x10000000 cmp=com.android.contacts/.DialtactsActivity }
11-04 02:04:20.163: DEBUG/IphoneEditText(430): onTouchEvent x = 281, y = 255
11-04 02:04:20.173: DEBUG/IphoneEditText(430): action = 0
11-04 02:04:20.183: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
11-04 02:04:20.213: DEBUG/IphoneEditText(430): onTouchEvent x = 281, y = 255
11-04 02:04:20.223: DEBUG/IphoneEditText(430): action = 1
11-04 02:04:20.233: DEBUG/IphoneMenuPopupWindow(430): popWindowWidth:120
11-04 02:04:20.233: DEBUG/IphoneMenuPopupWindow(430): popWindowHeight:59
11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): before fixed x:281
11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): after fixed x:200
11-04 02:04:20.243: DEBUG/IphoneMenuPopupWindow(430): before fixed y:162
11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): after fixed y:98
11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): setArrowMenuBackground:
11-04 02:04:20.253: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset:81
11-04 02:04:20.283: DEBUG/IphoneMenuPopupWindow(430): when i = 0 hadFindArrowMenuPosition = false
11-04 02:04:20.283: DEBUG/IphoneMenuPopupWindow(430): childWidth = 63
11-04 02:04:20.293: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset - childWidth = 18
11-04 02:04:20.313: DEBUG/IphoneMenuPopupWindow(430): when i = 1 hadFindArrowMenuPosition = false
11-04 02:04:20.313: DEBUG/IphoneMenuPopupWindow(430): childWidth = 63
11-04 02:04:20.323: DEBUG/IphoneMenuPopupWindow(430): touchAndShowOffset - childWidth = -45
11-04 02:04:20.323: DEBUG/IphoneMenuPopupWindow(430): i == menuCount- 1
11-04 02:04:20.353: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:20.363: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd: 22
11-04 02:04:20.373: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:20.373: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:20.373: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:04:20.383: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:04:21.003: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:21.013: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 40selEnd: 40
11-04 02:04:21.193: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:21.193: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:21.193: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:21.223: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:21.604: DEBUG/IphoneMenuPopupWindow(430): updateIphoneMenuPopupWindow dismiss:
11-04 02:04:21.614: DEBUG/IphoneEditText(430): onTouchEvent x = 306, y = 148
11-04 02:04:21.614: DEBUG/IphoneEditText(430): action = 0
11-04 02:04:21.614: DEBUG/IphoneEditText(430): mStatus.hasSelection = false
11-04 02:04:21.643: DEBUG/IphoneEditText(430): onTouchEvent x = 306, y = 148
11-04 02:04:21.643: DEBUG/IphoneEditText(430): action = 1
11-04 02:04:21.654: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:21.654: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd: 22
11-04 02:04:21.664: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:21.664: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:21.674: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:04:21.684: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:04:22.243: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.268: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 21selEnd: 21
11-04 02:04:22.303: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.303: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 20selEnd: 20
11-04 02:04:22.313: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.313: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 19selEnd: 19
11-04 02:04:22.323: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.333: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 18selEnd: 18
11-04 02:04:22.393: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.393: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd: 27
11-04 02:04:22.443: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:22.443: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd: 32
11-04 02:04:22.534: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:22.534: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:22.534: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:22.544: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:23.153: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:23.153: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 40selEnd: 40
11-04 02:04:23.163: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:23.163: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd: 27
11-04 02:04:23.173: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:23.183: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 4selEnd: 4
11-04 02:04:23.298: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:23.303: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:23.303: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:23.323: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:24.373: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:24.383: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 22selEnd: 22
11-04 02:04:24.393: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:24.408: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 27selEnd: 27
11-04 02:04:24.413: DEBUG/IphoneEditText(430): onSelectionChanged
11-04 02:04:24.423: DEBUG/IphoneEditText(430): onSelectionChanged selStart: 32selEnd: 32
11-04 02:04:24.433: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:04:24.433: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:04:24.433: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:04:24.443: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:04:24.924: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
11-04 02:04:24.944: DEBUG/AndroidRuntime(430): Shutting down VM
11-04 02:04:24.953: WARN/dalvikvm(430): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
 
 
//---------------此处发生错误---------------------
 
11-04 02:04:24.953: ERROR/AndroidRuntime(430): Uncaught handler: thread main exiting due to uncaught exception
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) }
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.Activity.startActivityForResult(Activity.java:2749)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.Activity.startActivity(Activity.java:2855)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.View.performClick(View.java:2364)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.View.onTouchEvent(View.java:4198)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.widget.TextView.onTouchEvent(TextView.java:6543)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.View.dispatchTouchEvent(View.java:3728)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent(IphoneMenuBottomPopActivity.java:104)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.os.Looper.loop(Looper.java:123)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at android.app.ActivityThread.main(ActivityThread.java:4363)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at java.lang.reflect.Method.invokeNative(Native Method)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at java.lang.reflect.Method.invoke(Method.java:521)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-04 02:04:24.973: ERROR/AndroidRuntime(430):     at dalvik.system.NativeStart.main(Native Method)
11-04 02:04:24.993: INFO/Process(117): Sending signal. PID: 430 SIG: 3
11-04 02:04:24.993: INFO/dalvikvm(430): threadid=7: reacting to signal 3
11-04 02:04:25.023: INFO/dalvikvm(430): Wrote stack trace to '/data/anr/traces.txt'
11-04 02:04:25.083: ERROR/ActivityThread(117): Failed to find provider info for android.server.checkin
11-04 02:04:25.083: ERROR/Checkin(117): Error reporting crash
11-04 02:04:25.283: DEBUG/dalvikvm(117): GC freed 18475 objects / 904864 bytes in 131ms
11-04 02:04:25.343: WARN/WindowManager(117): No window to dispatch pointer action 1
11-04 02:04:25.494: INFO/AndroidRuntime(423): AndroidRuntime onExit calling exit(92)
11-04 02:04:26.043: DEBUG/dalvikvm(314): GC freed 3499 objects / 171848 bytes in 432ms
 
 
 
3。  Monkey测试出现错误后一般查错步骤:
    1。找到是哪个monkey的哪个动作出的错:
        1。查看monkey出错前的一些事件动作,并手动执行该动作。
        2。若还不能找出,可以使用命令monkey -p com.hskj.memo -s 100 -v -v -v --throttle 2000 500
 
///--------------Monkey中输出的信息----------------
# monkey -p com.hskj.memo -s 100 -v -v -v --throttle 3000 500
:Monkey: seed=100 count=500
:AllowPackage: com.hskj.memo
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Selecting main activities from category android.intent.category.LAUNCHER
//   - NOT USING main activity com.android.settings.Settings (from package com.android.settings)
//   - NOT USING main activity com.android.contacts.DialtactsActivity (from package com.android.contacts)
//   - NOT USING main activity com.android.contacts.ContactsListActivity (from package com.android.contacts)
//   - NOT USING main activity com.hskj.iphonemms.ui.ConversationList (from package com.hskj.iphonemms)
//   - NOT USING main activity com.android.calendar.LaunchActivity (from package com.android.calendar)
//   - NOT USING main activity com.android.deskclock.DeskClockGroupActivity (from package com.android.deskclock)
//   - NOT USING main activity com.android.systemupdater.SystemUpdate (from package com.android.systemupdater)
//   - NOT USING main activity com.android.camera.Camera (from package com.android.camera)
//   - NOT USING main activity com.android.browser.BrowserActivity (from package com.android.browser)
//   - NOT USING main activity com.android.music.MusicBrowserActivity (from package com.android.music)
//   - NOT USING main activity com.android.email.activity.Welcome (from package com.android.email)
//   - NOT USING main activity com.hskj.iphonecamera.GalleryPicker (from package com.hskj.iphonegallery)
//   + Using main activity com.hskj.memo.ui.MemoMain (from package com.hskj.memo)
//   - NOT USING main activity com.android.term.Term (from package com.android.term)
//   - NOT USING main activity com.android.development.Development (from package com.android.development)
//   - NOT USING main activity com.hskj.iphone.voicememor.VoiceRecordActivity (from package com.hskj.iphone.voicememor)
//   - NOT USING main activity com.hskj.iphonecalculator.Calculator (from package com.hskj.iphonecalculator)
// Selecting main activities from category android.intent.category.MONKEY
//   - NOT USING main activity com.android.settings.ManageApplications (from package com.android.settings)
//   - NOT USING main activity com.android.settings.RunningServices (from package com.android.settings)
//   - NOT USING main activity com.hskj.iphonehome.Launcher (from package com.hskj.iphonehome)
//   - NOT USING main activity com.android.launcher.Launcher (from package com.android.launcher)
//   - NOT USING main activity com.android.googlesearch.GoogleSearch (from package com.android.googlesearch)
// Seeded: 100
// Event percentages:
//   0: 15.0%
//   1: 10.0%
//   2: 15.0%
//   3: 25.0%
//   4: 15.0%
//   5: 2.0%
//   6: 2.0%
//   7: 1.0%
//   8: 15.0%
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=com.hskj.memo/.ui.MemoMain;end
    // 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
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 3000 milliseconds                     //----------此时每经过一个动作就会有3秒钟的停顿--------------
:Sending Pointer ACTION_DOWN x=1.0 y=377.0
:Sending Pointer ACTION_UP x=1.0 y=377.0
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_DOWN x=104.0 y=178.0
:Sending Pointer ACTION_UP x=104.0 y=178.0
Sleeping for 3000 milliseconds
    // activityResuming(com.hskj.iphonehome)
    // Rejecting resume of package com.hskj.iphonehome
    // 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
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 23    // KEYCODE_DPAD_CENTER
:SendKey (ACTION_UP): 23    // KEYCODE_DPAD_CENTER
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_DOWN x=249.0 y=141.0
:Sending Pointer ACTION_MOVE x=258.0 y=139.0
:Sending Pointer ACTION_MOVE x=261.0 y=138.0
:Sending Pointer ACTION_MOVE x=260.0 y=138.0
:Sending Pointer ACTION_MOVE x=264.0 y=134.0
:Sending Pointer ACTION_MOVE x=269.0 y=128.0
:Sending Pointer ACTION_MOVE x=266.0 y=136.0
:Sending Pointer ACTION_MOVE x=274.0 y=136.0
:Sending Pointer ACTION_MOVE x=275.0 y=132.0
:Sending Pointer ACTION_UP x=275.0 y=132.0
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 28    // KEYCODE_CLEAR
:SendKey (ACTION_UP): 28    // KEYCODE_CLEAR
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 7    // KEYCODE_0
:SendKey (ACTION_UP): 7    // KEYCODE_0
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 3000 milliseconds
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10000000;component=com.hskj.memo/.ui.MemoMain;end
    // 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
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_MOVE x=-4.0 y=-5.0
:Sending Pointer ACTION_MOVE x=2.0 y=1.0
:Sending Pointer ACTION_MOVE x=-2.0 y=-2.0
:Sending Pointer ACTION_MOVE x=3.0 y=0.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=2.0
:Sending Pointer ACTION_MOVE x=1.0 y=2.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=2.0 y=3.0
:Sending Pointer ACTION_MOVE x=-1.0 y=4.0
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 5    // KEYCODE_CALL
:SendKey (ACTION_UP): 5    // KEYCODE_CALL
    // Rejecting start of Intent { act=android.intent.action.CALL_BUTTON cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_DOWN x=281.0 y=162.0
:Sending Pointer ACTION_UP x=281.0 y=162.0
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 78    // KEYCODE_NUM
:SendKey (ACTION_UP): 78    // KEYCODE_NUM
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 20    // KEYCODE_DPAD_DOWN
:SendKey (ACTION_UP): 20    // KEYCODE_DPAD_DOWN
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 22    // KEYCODE_DPAD_RIGHT
:SendKey (ACTION_UP): 22    // KEYCODE_DPAD_RIGHT
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 7    // KEYCODE_0
:SendKey (ACTION_UP): 7    // KEYCODE_0
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_DOWN x=306.0 y=55.0
:Sending Pointer ACTION_UP x=306.0 y=55.0
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 60    // KEYCODE_SHIFT_RIGHT
:SendKey (ACTION_UP): 60    // KEYCODE_SHIFT_RIGHT
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
:Sending Pointer ACTION_MOVE x=1.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=4.0
:Sending Pointer ACTION_MOVE x=-1.0 y=0.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-1.0
:Sending Pointer ACTION_MOVE x=-3.0 y=0.0
:Sending Pointer ACTION_MOVE x=-2.0 y=4.0
:Sending Pointer ACTION_MOVE x=-4.0 y=-2.0
:Sending Pointer ACTION_MOVE x=4.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
:SendKey (ACTION_DOWN): 22    // KEYCODE_DPAD_RIGHT
:SendKey (ACTION_UP): 22    // KEYCODE_DPAD_RIGHT
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_MOVE x=2.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-3.0 y=-5.0
:Sending Pointer ACTION_MOVE x=-2.0 y=-4.0
:Sending Pointer ACTION_MOVE x=-1.0 y=-4.0
:Sending Pointer ACTION_MOVE x=2.0 y=-1.0
:Sending Pointer ACTION_MOVE x=-3.0 y=0.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=4.0 y=1.0
:Sending Pointer ACTION_MOVE x=3.0 y=-4.0
:Sending Pointer ACTION_MOVE x=-4.0 y=4.0
:SendKey (ACTION_DOWN): 21    // KEYCODE_DPAD_LEFT
:SendKey (ACTION_UP): 21    // KEYCODE_DPAD_LEFT
Sleeping for 3000 milliseconds
:SendKey (ACTION_DOWN): 82    // KEYCODE_MENU
:SendKey (ACTION_UP): 82    // KEYCODE_MENU
Sleeping for 3000 milliseconds
:Sending Pointer ACTION_DOWN x=99.0 y=260.0
:Sending Pointer ACTION_UP x=99.0 y=260.0
Sleeping for 3000 milliseconds
// CRASH: com.hskj.memo (pid 441)
// Short Msg: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
// Long Msg: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
// Build Label: android:cyanogen/cyanogen/generic/:2.1-update1/ECLAIR/eng.root.20101029.152625:eng/test-keys
// Build Changelist: -1
// Build Time: 1288337269
// ID:
// Tag: AndroidRuntime
// android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
//   at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
//   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
//   at android.app.Activity.startActivityForResult(Activity.java:2749)
//   at android.app.Activity.startActivity(Activity.java:2855)
//   at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
//   at android.view.View.performClick(View.java:2364)
//   at android.view.View.onTouchEvent(View.java:4198)
//   at android.widget.TextView.onTouchEvent(TextView.java:6543)
//   at android.view.View.dispatchTouchEvent(View.java:3728)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
//   at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
//   at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
//   at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
//   at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent(IphoneMenuBottomPopActivity.java:104)
//   at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
//   at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
//   at android.os.Handler.dispatchMessage(Handler.java:99)
//   at android.os.Looper.loop(Looper.java:123)
//   at android.app.ActivityThread.main(ActivityThread.java:4363)
//   at java.lang.reflect.Method.invokeNative(Method.java:-2)
//   at java.lang.reflect.Method.invoke(Method.java:521)
//   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
//   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
//   at dalvik.system.NativeStart.main(NativeStart.java:-2)
 
** Monkey aborted due to error.
Events injected: 90
:Dropped: keys=0 pointers=0 trackballs=0 flips=0
## Network stats: elapsed time=87504ms (87504ms mobile, 0ms wifi, 0ms not connected)
** System appears to have crashed at event 90 of 500 using seed 100
#
 
 
//-----------------eclipse中的LogCat的输出信息----------------------
 
11-04 02:44:38.494: DEBUG/libEGL(451): Setting TLS: 0xafe43b74 to 0xac70a2ec
11-04 02:44:38.693: DEBUG/AndroidRuntime(451): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
11-04 02:44:38.693: DEBUG/AndroidRuntime(451): CheckJNI is ON
11-04 02:44:38.913: DEBUG/AndroidRuntime(451): --- registering native functions ---
11-04 02:44:39.244: DEBUG/ddm-heap(451): Got feature list request
11-04 02:44:40.943: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hskj.memo/.ui.MemoMain }
11-04 02:44:40.963: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
11-04 02:44:40.963: DEBUG/LifeCryle(314): Launcher onPause!
11-04 02:44:41.114: DEBUG/MemoListView(441): MemoListView(Context context, AttributeSet attrs) mMaximumVelocity:4000
11-04 02:44:41.244: DEBUG/mListView.getChildCount()(441): mListView.getChildCount()=0
11-04 02:44:41.474: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:44:41.574: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
11-04 02:44:41.593: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
11-04 02:44:41.643: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
11-04 02:44:41.663: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
11-04 02:44:41.683: DEBUG/MemoMainListAdapter(441): formatCalendar days:0
11-04 02:44:41.793: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoMain: 824 ms (total 824 ms)
11-04 02:44:41.823: DEBUG/LifeCryle(314): Launcher onStop!
11-04 02:44:41.843: DEBUG/LifeCryle(314): Launcher onDestroy!
11-04 02:44:41.843: DEBUG/IphoneHomeLoaders(314): aborting loaders
11-04 02:44:44.083: WARN/KeyCharacterMap(441): No keyboard for id 0
11-04 02:44:44.083: WARN/KeyCharacterMap(441): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:44:46.963: DEBUG/dalvikvm(314): GC freed 1549 objects / 89656 bytes in 140ms
11-04 02:44:47.003: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be discarded):
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
11-04 02:44:47.013: INFO/dalvikvm(314):     at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
11-04 02:44:47.013: INFO/dalvikvm(314):     at dalvik.system.NativeStart.run(Native Method)
11-04 02:44:47.174: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_DOWN:
11-04 02:44:47.214: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
11-04 02:44:47.214: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:   Math.abs(velocityX):0---Math.abs(velocityY):0
11-04 02:44:50.234: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_DOWN:
11-04 02:44:50.304: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:
11-04 02:44:50.314: DEBUG/MemoListView(441): onTouchEvent case MotionEvent.ACTION_UP:   Math.abs(velocityX):0---Math.abs(velocityY):0
11-04 02:44:50.883: DEBUG/MemoProvider(441): getType uri = content://com.hskj.provider.memo/memo/3, match =2
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 }
11-04 02:44:51.094: DEBUG/dalvikvm(441): GC freed 1717 objects / 82024 bytes in 63ms
11-04 02:44:51.134: INFO/dalvikvm(441): Uncaught exception thrown by finalizer (will be discarded):
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
11-04 02:44:51.144: INFO/dalvikvm(441):     at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
11-04 02:44:51.144: INFO/dalvikvm(441):     at dalvik.system.NativeStart.run(Native Method)
11-04 02:44:51.274: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:44:51.444: DEBUG/IphoneEditText(441): beforeTextChanged cancelShow()
11-04 02:44:51.444: DEBUG/IphoneEditText(441): beforeTextChanged start: 0after: 3count: 0
11-04 02:44:51.454: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:44:51.454: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 0selEnd: 0
11-04 02:44:51.524: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:44:51.534: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 3selEnd: 3
11-04 02:44:51.544: DEBUG/IphoneEditText(441): onWindowFocusChanged
11-04 02:44:51.564: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:44:51.564: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:44:51.866: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoEdit: 922 ms (total 922 ms)
11-04 02:44:53.344: WARN/KeyCharacterMap(441): No keyboard for id 0
11-04 02:44:53.344: WARN/KeyCharacterMap(441): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:44:56.574: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:44:56.594: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:44:56.594: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:44:59.813: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:44:59.813: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:44:59.813: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:44:59.823: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:05.883: DEBUG/IphoneEditText(441): onTouchEvent x = 249, y = 234
11-04 02:45:05.883: DEBUG/IphoneEditText(441): action = 0
11-04 02:45:05.893: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
11-04 02:45:05.983: DEBUG/IphoneEditText(441): onTouchEvent x = 258, y = 232
11-04 02:45:05.993: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.013: DEBUG/IphoneEditText(441): onTouchEvent x = 261, y = 231
11-04 02:45:06.033: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.053: DEBUG/IphoneEditText(441): onTouchEvent x = 260, y = 231
11-04 02:45:06.053: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.074: DEBUG/IphoneEditText(441): onTouchEvent x = 264, y = 227
11-04 02:45:06.074: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.104: DEBUG/IphoneEditText(441): onTouchEvent x = 269, y = 221
11-04 02:45:06.104: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.134: DEBUG/IphoneEditText(441): onTouchEvent x = 266, y = 229
11-04 02:45:06.144: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.164: DEBUG/IphoneEditText(441): onTouchEvent x = 274, y = 229
11-04 02:45:06.164: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.204: DEBUG/IphoneEditText(441): onTouchEvent x = 275, y = 225
11-04 02:45:06.215: DEBUG/IphoneEditText(441): action = 2
11-04 02:45:06.224: DEBUG/IphoneEditText(441): onTouchEvent x = 275, y = 225
11-04 02:45:06.234: DEBUG/IphoneEditText(441): action = 1
11-04 02:45:06.244: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:06.244: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:06.244: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:45:06.254: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:45:12.404: DEBUG/IphoneEditText(441): beforeTextChanged cancelShow()
11-04 02:45:12.414: DEBUG/IphoneEditText(441): beforeTextChanged start: 3after: 1count: 0
11-04 02:45:12.424: DEBUG/MemoEdit(441): EdtContentTextWatcher.onTextChanged()  str:9a00---s.length:4---split array count:1
11-04 02:45:12.464: DEBUG/MemoEdit(441): edtContentTextWatcher.onTextChanged savaMemo()
11-04 02:45:12.504: DEBUG/MemoEdit(441): savaMemo nextMemoId = 2
11-04 02:45:12.524: DEBUG/MemoMainListAdapter(441): onContentChanged
11-04 02:45:12.524: DEBUG/MemoMain(441): OnContentChangedListener.onContentChanged()
11-04 02:45:15.514: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:15.514: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:15.514: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:15.524: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:18.484: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hskj.memo/.ui.MemoMain }
11-04 02:45:21.793: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:21.793: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:21.793: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:21.813: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:22.033: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:22.033: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:22.033: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:22.043: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:22.813: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:22.813: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:22.813: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:22.833: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:23.023: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:23.023: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:23.023: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:23.033: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:26.294: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.CALL_BUTTON flg=0x10000000 cmp=com.android.contacts/.DialtactsActivity }
11-04 02:45:32.524: DEBUG/IphoneEditText(441): onTouchEvent x = 281, y = 255
11-04 02:45:32.535: DEBUG/IphoneEditText(441): action = 0
11-04 02:45:32.535: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
11-04 02:45:32.603: DEBUG/IphoneEditText(441): onTouchEvent x = 281, y = 255
11-04 02:45:32.603: DEBUG/IphoneEditText(441): action = 1
11-04 02:45:32.623: DEBUG/IphoneMenuPopupWindow(441): popWindowWidth:120
11-04 02:45:32.623: DEBUG/IphoneMenuPopupWindow(441): popWindowHeight:59
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): before fixed x:281
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): after fixed x:200
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): before fixed y:162
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): after fixed y:98
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): setArrowMenuBackground:
11-04 02:45:32.645: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset:81
11-04 02:45:32.663: DEBUG/IphoneMenuPopupWindow(441): when i = 0 hadFindArrowMenuPosition = false
11-04 02:45:32.673: DEBUG/IphoneMenuPopupWindow(441): childWidth = 63
11-04 02:45:32.673: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset - childWidth = 18
11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): when i = 1 hadFindArrowMenuPosition = false
11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): childWidth = 63
11-04 02:45:32.703: DEBUG/IphoneMenuPopupWindow(441): touchAndShowOffset - childWidth = -45
11-04 02:45:32.713: DEBUG/IphoneMenuPopupWindow(441): i == menuCount- 1
11-04 02:45:32.753: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:32.753: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:32.753: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:45:32.763: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:45:41.903: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:41.903: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:41.903: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:41.913: DEBUG/PinyinIME(171): onStartInputView&nb

TAG: Android测试

 

评分:0

我来说两句

Open Toolbar