Android 的monkey测试及排错步骤

 

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  contentType: 0 Restarting:false
11-04 02:45:47.993: DEBUG/IphoneMenuPopupWindow(441): updateIphoneMenuPopupWindow dismiss:
11-04 02:45:48.003: DEBUG/IphoneEditText(441): onTouchEvent x = 306, y = 148
11-04 02:45:48.003: DEBUG/IphoneEditText(441): action = 0
11-04 02:45:48.003: DEBUG/IphoneEditText(441): mStatus.hasSelection = false
11-04 02:45:48.074: DEBUG/IphoneEditText(441): onTouchEvent x = 306, y = 148
11-04 02:45:48.084: DEBUG/IphoneEditText(441): action = 1
11-04 02:45:48.114: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:48.114: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:48.114: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:45:48.134: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:45:54.214: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:45:54.234: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 3selEnd: 3
11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 2selEnd: 2
11-04 02:45:54.284: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 1selEnd: 1
11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:45:54.294: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 0selEnd: 0
11-04 02:45:54.474: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:54.474: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:54.474: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:54.494: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:55.064: DEBUG/IphoneEditText(441): onSelectionChanged
11-04 02:45:55.064: DEBUG/IphoneEditText(441): onSelectionChanged selStart: 4selEnd: 4
11-04 02:45:55.124: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:55.124: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:55.124: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:55.134: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:55.404: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:55.404: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:55.414: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:55.434: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:45:59.114: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:45:59.114: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:45:59.114: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:45:59.134: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:46:05.434: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
11-04 02:46:05.454: DEBUG/AndroidRuntime(441): Shutting down VM
11-04 02:46:05.464: WARN/dalvikvm(441): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
11-04 02:46:05.464: ERROR/AndroidRuntime(441): Uncaught handler: thread main exiting due to uncaught exception
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) }
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.Activity.startActivityForResult(Activity.java:2749)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.Activity.startActivity(Activity.java:2855)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.View.performClick(View.java:2364)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.View.onTouchEvent(View.java:4198)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.widget.TextView.onTouchEvent(TextView.java:6543)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.View.dispatchTouchEvent(View.java:3728)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent(IphoneMenuBottomPopActivity.java:104)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.os.Looper.loop(Looper.java:123)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.main(ActivityThread.java:4363)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at java.lang.reflect.Method.invokeNative(Native Method)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at java.lang.reflect.Method.invoke(Method.java:521)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-04 02:46:05.503: ERROR/AndroidRuntime(441):     at dalvik.system.NativeStart.main(Native Method)
11-04 02:46:05.683: DEBUG/dalvikvm(117): GC freed 16118 objects / 775112 bytes in 160ms
11-04 02:46:05.683: INFO/Process(117): Sending signal. PID: 441 SIG: 3
11-04 02:46:05.693: INFO/dalvikvm(441): threadid=7: reacting to signal 3
11-04 02:46:05.703: INFO/dalvikvm(441): Wrote stack trace to '/data/anr/traces.txt'
11-04 02:46:05.833: ERROR/ActivityThread(117): Failed to find provider info for android.server.checkin
11-04 02:46:05.843: ERROR/Checkin(117): Error reporting crash
11-04 02:46:08.554: INFO/AndroidRuntime(451): AndroidRuntime onExit calling exit(90)
11-04 02:47:09.823: WARN/KeyCharacterMap(117): No keyboard for id 0
11-04 02:47:09.823: WARN/KeyCharacterMap(117): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:47:11.964: INFO/Process(441): Sending signal. PID: 441 SIG: 9
11-04 02:47:11.994: INFO/ActivityManager(117): Process com.hskj.memo (pid 441) has died.
11-04 02:47:11.994: INFO/WindowManager(117): WIN DEATH: Window{43a8bb50 com.hskj.memo/com.hskj.memo.ui.MemoEdit paused=false}
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={}
11-04 02:47:12.663: DEBUG/ddm-heap(459): Got feature list request
11-04 02:47:12.783: INFO/UsageStats(117): Unexpected resume of com.hskj.memo while already resumed in com.hskj.memo
11-04 02:47:12.934: INFO/ActivityThread(459): Publishing provider com.hskj.provider.memo: com.hskj.memo.provider.MemoProvider
11-04 02:47:13.374: DEBUG/MemoListView(459): MemoListView(Context context, AttributeSet attrs) mMaximumVelocity:4000
11-04 02:47:13.473: DEBUG/mListView.getChildCount()(459): mListView.getChildCount()=0
11-04 02:47:13.693: WARN/InputManagerService(117): Got RemoteException sending setActive(false) notification to pid 441 uid 10019
11-04 02:47:13.733: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:47:13.733: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:47:13.743: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:47:13.823: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:13.893: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:47:13.903: DEBUG/ViewFlipper(171): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:13.903: DEBUG/ViewFlipper(171): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:13.928: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:14.023: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:14.104: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:14.154: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:14.354: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoMain: 2336 ms (total 2336 ms)
11-04 02:47:14.703: WARN/KeyCharacterMap(459): No keyboard for id 0
11-04 02:47:14.713: WARN/KeyCharacterMap(459): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:47:14.803: DEBUG/LifeCryle(314): Launcher onCreate!
11-04 02:47:14.863: DEBUG/IphoneHomeLoaders(314): loading user items
11-04 02:47:14.863: DEBUG/IphoneHomeLoaders(314):   --> items loaded, return
11-04 02:47:14.873: DEBUG/IphoneHomeLoaders(314): ------> starting bindDesktopItems!
11-04 02:47:14.873: DEBUG/IphoneHomeLoaders(314): ------> new DesktopBinder!
11-04 02:47:14.873: DEBUG/IphoneLauncher(314): ------> binding 18 items
11-04 02:47:14.883: DEBUG/IphoneLauncher(314): ------> start binding items
11-04 02:47:14.893: DEBUG/LifeCryle(314): Launcher onStart!
11-04 02:47:14.893: DEBUG/LifeCryle(314): Launcher onRestoreInstanceState!
11-04 02:47:14.903: DEBUG/LifeCryle(314): Launcher onResume!
11-04 02:47:14.913: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:15.044: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:15.164: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
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)
11-04 02:47:15.234: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:15.324: DEBUG/IphoneLauncher(314): ------> start binding drawer
11-04 02:47:15.803: INFO/ActivityManager(117): Displayed activity com.hskj.iphonehome/.Launcher: 1022 ms (total 1022 ms)
11-04 02:47:16.014: DEBUG/IphoneLauncher(314): onClick v  = com.hskj.iphonehome.IphoneBubbleTextView@43a2c058
11-04 02:47:16.034: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
11-04 02:47:16.244: DEBUG/LifeCryle(314): Launcher onSaveInstanceState!
11-04 02:47:16.254: DEBUG/LifeCryle(314): Launcher onPause!
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}
11-04 02:47:16.573: DEBUG/ddm-heap(469): Got feature list request
11-04 02:47:16.793: DEBUG/installd(85): DexInv: --- BEGIN '/system/app/Browser.apk' ---
11-04 02:47:18.254: DEBUG/IphoneLauncher(314): onClick v  = com.hskj.iphonehome.IphoneBubbleTextView@43a3df78
11-04 02:47:18.783: DEBUG/dalvikvm(475): DexOpt: load 418ms, verify 952ms, opt 24ms
11-04 02:47:18.803: DEBUG/installd(85): DexInv: --- END '/system/app/Browser.apk' (success) ---
11-04 02:47:18.883: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.hskj.memo/.ui.MemoMain }
11-04 02:47:19.224: INFO/ActivityThread(469): Publishing provider browser: com.android.browser.BrowserProvider
11-04 02:47:19.394: WARN/ActivityManager(117): Activity pause timeout for HistoryRecord{43a673e8 com.android.browser/.BrowserActivity}
11-04 02:47:19.523: DEBUG/MemoListView(459): MemoListView(Context context, AttributeSet attrs) mMaximumVelocity:4000
11-04 02:47:19.713: DEBUG/mListView.getChildCount()(459): mListView.getChildCount()=0
11-04 02:47:19.843: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:19.873: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:19.893: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:19.913: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:19.934: DEBUG/MemoMainListAdapter(459): formatCalendar days:0
11-04 02:47:20.014: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:47:20.104: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoMain: 705 ms (total 3811 ms)
11-04 02:47:20.513: DEBUG/LifeCryle(314): Launcher onStop!
11-04 02:47:20.553: DEBUG/LifeCryle(314): Launcher onDestroy!
11-04 02:47:20.563: DEBUG/IphoneHomeLoaders(314): aborting loaders
11-04 02:47:20.843: ERROR/ActivityThread(469): Failed to find provider info for com.google.settings
11-04 02:47:22.673: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_DOWN:
11-04 02:47:22.734: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_UP:
11-04 02:47:22.734: DEBUG/MemoListView(459): onTouchEvent case MotionEvent.ACTION_UP:   Math.abs(velocityX):0---Math.abs(velocityY):0
11-04 02:47:23.064: DEBUG/MemoProvider(459): getType uri = content://com.hskj.provider.memo/memo/3, match =2
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 }
11-04 02:47:23.234: DEBUG/dalvikvm(459): GC freed 4083 objects / 231232 bytes in 71ms
11-04 02:47:23.334: DEBUG/dalvikvm(459): GC freed 225 objects / 10488 bytes in 82ms
11-04 02:47:23.354: INFO/dalvikvm(459): Uncaught exception thrown by finalizer (will be discarded):
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
11-04 02:47:23.354: INFO/dalvikvm(459):     at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
11-04 02:47:23.354: INFO/dalvikvm(459):     at dalvik.system.NativeStart.run(Native Method)
11-04 02:47:23.503: DEBUG/IphoneEditText(459): onSelectionChanged
11-04 02:47:23.703: DEBUG/IphoneEditText(459): beforeTextChanged cancelShow()
11-04 02:47:23.703: DEBUG/IphoneEditText(459): beforeTextChanged start: 0after: 4count: 0
11-04 02:47:23.703: DEBUG/IphoneEditText(459): onSelectionChanged
11-04 02:47:23.713: DEBUG/IphoneEditText(459): onSelectionChanged selStart: 0selEnd: 0
11-04 02:47:23.803: DEBUG/IphoneEditText(459): onSelectionChanged
11-04 02:47:23.813: DEBUG/IphoneEditText(459): onSelectionChanged selStart: 4selEnd: 4
11-04 02:47:23.893: DEBUG/IphoneEditText(459): onWindowFocusChanged
11-04 02:47:23.913: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:47:23.913: DEBUG/PinyinIME(171): onStartInput  ccontentType: 147457 Restarting:false
11-04 02:47:24.214: INFO/ActivityManager(117): Displayed activity com.hskj.memo/.ui.MemoEdit: 1129 ms (total 1129 ms)
11-04 02:47:29.334: DEBUG/dalvikvm(314): GC freed 7554 objects / 443808 bytes in 91ms
11-04 02:47:29.344: INFO/dalvikvm(314): Uncaught exception thrown by finalizer (will be discarded):
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
11-04 02:47:29.344: INFO/dalvikvm(314):     at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:599)
11-04 02:47:29.344: INFO/dalvikvm(314):     at dalvik.system.NativeStart.run(Native Method)
11-04 02:47:31.603: DEBUG/IphoneEditText(459): onTouchEvent x = 239, y = 107
11-04 02:47:31.613: DEBUG/IphoneEditText(459): action = 0
11-04 02:47:31.623: DEBUG/IphoneEditText(459): mStatus.hasSelection = false
11-04 02:47:31.633: DEBUG/IphoneEditText(459): onTouchEvent x = 239, y = 107
11-04 02:47:31.633: DEBUG/IphoneEditText(459): action = 1
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): popWindowWidth:120
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): popWindowHeight:59
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): before fixed x:239
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): after fixed x:179
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): before fixed y:209
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): after fixed y:145
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): setArrowMenuBackground:
11-04 02:47:31.633: DEBUG/IphoneMenuPopupWindow(459): touchAndShowOffset:60
11-04 02:47:31.733: DEBUG/IphoneMenuPopupWindow(459): when i = 0 hadFindArrowMenuPosition = false
11-04 02:47:31.733: DEBUG/IphoneMenuPopupWindow(459): childWidth = 63
11-04 02:47:31.743: DEBUG/IphoneMenuPopupWindow(459): touchAndShowOffset - childWidth = -3
11-04 02:47:31.743: DEBUG/IphoneMenuPopupWindow(459): i == 0
11-04 02:47:31.783: DEBUG/IphoneMenuPopupWindow(459): when i = 1 hadFindArrowMenuPosition = true
11-04 02:47:31.813: DEBUG/PinyinIME(171): onStartInputView  contentType: 147457 Restarting:false
11-04 02:47:31.823: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:31.823: DEBUG/ViewFlipper(171): updateRunning() mVisible=true, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:34.034: WARN/KeyCharacterMap(459): No keyboard for id 0
11-04 02:47:34.043: WARN/KeyCharacterMap(459): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:47:34.264: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:47:34.264: DEBUG/PinyinIME(171): onFinishInput.
11-04 02:47:34.264: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:47:34.274: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:47:41.154: DEBUG/IphoneMenuPopupWindow(459): updateIphoneMenuPopupWindow dismiss:
11-04 02:47:41.224: INFO/ActivityManager(117): Starting activity: Intent { act=android.intent.action.SENDTO dat=mailto: (has extras) }
11-04 02:47:41.244: DEBUG/AndroidRuntime(459): Shutting down VM
11-04 02:47:41.244: WARN/dalvikvm(459): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
11-04 02:47:41.259: ERROR/AndroidRuntime(459): Uncaught handler: thread main exiting due to uncaught exception
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) }
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.Activity.startActivityForResult(Activity.java:2749)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.Activity.startActivity(Activity.java:2855)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.hskj.memo.ui.MemoEdit.onClick(MemoEdit.java:183)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.View.performClick(View.java:2364)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.View.onTouchEvent(View.java:4198)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.widget.TextView.onTouchEvent(TextView.java:6543)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.View.dispatchTouchEvent(View.java:3728)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.hskj.iphone.app.IphoneMenuBottomPopActivity.dispatchTouchEvent(IphoneMenuBottomPopActivity.java:104)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.os.Looper.loop(Looper.java:123)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at android.app.ActivityThread.main(ActivityThread.java:4363)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at java.lang.reflect.Method.invokeNative(Native Method)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at java.lang.reflect.Method.invoke(Method.java:521)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
11-04 02:47:41.274: ERROR/AndroidRuntime(459):     at dalvik.system.NativeStart.main(Native Method)
11-04 02:47:41.305: INFO/Process(117): Sending signal. PID: 459 SIG: 3
11-04 02:47:41.305: INFO/dalvikvm(459): threadid=7: reacting to signal 3
11-04 02:47:41.314: INFO/dalvikvm(459): Wrote stack trace to '/data/anr/traces.txt'
11-04 02:47:41.324: ERROR/ActivityThread(117): Failed to find provider info for android.server.checkin
11-04 02:47:41.334: ERROR/Checkin(117): Error reporting crash
11-04 02:47:43.044: INFO/Process(459): Sending signal. PID: 459 SIG: 9
11-04 02:47:43.135: INFO/ActivityManager(117): Process com.hskj.memo (pid 459) has died.
11-04 02:47:43.135: INFO/WindowManager(117): WIN DEATH: Window{43afc2f8 com.hskj.memo/com.hskj.memo.ui.MemoEdit paused=false}
11-04 02:47:43.304: INFO/UsageStats(117): Unexpected resume of com.android.browser while already resumed in com.hskj.memo
11-04 02:47:43.583: WARN/TabControl(469): Fail in restoreState, load home page.
11-04 02:47:43.753: WARN/InputManagerService(117): Got RemoteException sending setActive(false) notification to pid 459 uid 10019
11-04 02:47:43.833: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:47:43.833: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
11-04 02:47:43.833: DEBUG/PinyinIME(171): onStartInputView  contentType: 0 Restarting:false
11-04 02:47:43.923: INFO/ActivityManager(117): Displayed activity com.android.browser/.BrowserActivity: 27631 ms (total 765 ms)
11-04 02:47:44.204: DEBUG/PinyinIME(171): onFinishInputView.
11-04 02:47:44.312: DEBUG/ViewFlipper(171): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:44.314: DEBUG/ViewFlipper(171): updateRunning() mVisible=false, mStarted=false, mUserPresent=true, mRunning=false
11-04 02:47:45.723: DEBUG/dalvikvm(469): GC freed 3599 objects / 236552 bytes in 100ms
11-04 02:47:45.933: WARN/dalvikvm(469): JNI WARNING: DeleteLocalRef(0x439c7e80) failed to find entry (valid=1)
11-04 02:47:48.603: WARN/KeyCharacterMap(469): No keyboard for id 0
11-04 02:47:48.623: WARN/KeyCharacterMap(469): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:47:48.763: INFO/ActivityManager(117): moveTaskToBack: 14
11-04 02:47:49.014: DEBUG/LifeCryle(314): Launcher onCreate!
11-04 02:47:49.194: DEBUG/IphoneHomeLoaders(314): loading user items
11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314):   --> items loaded, return
11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314): ------> starting bindDesktopItems!
11-04 02:47:49.204: DEBUG/IphoneHomeLoaders(314): ------> new DesktopBinder!
11-04 02:47:49.204: DEBUG/IphoneLauncher(314): ------> binding 18 items
11-04 02:47:49.204: DEBUG/IphoneLauncher(314): ------> start binding items
11-04 02:47:49.243: DEBUG/LifeCryle(314): Launcher onStart!
11-04 02:47:49.264: DEBUG/LifeCryle(314): Launcher onRestoreInstanceState!
11-04 02:47:49.264: DEBUG/LifeCryle(314): Launcher onResume!
11-04 02:47:49.294: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:49.773: WARN/KeyCharacterMap(314): No keyboard for id 0
11-04 02:47:49.809: WARN/KeyCharacterMap(314): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-04 02:47:49.823: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:50.344: DEBUG/PinyinIME(171): onStartInput  ccontentType: 0 Restarting:false
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)
11-04 02:47:50.503: DEBUG/LocationManager(469): Constructor: service = android.location.ILocationManager$Stub$Proxy@439e8340
11-04 02:47:50.553: DEBUG/IphoneLauncher(314): DesttopBinder.handleMessage msg.what is MESSAGE_BIND_ITEMS
11-04 02:47:50.853: DEBUG/IphoneLauncher(314): ------> start binding drawer
11-04 02:47:51.094: DEBUG/dalvikvm(469): GC freed 2957 objects / 433272 bytes in 160ms
11-04 02:47:51.626: INFO/ActivityManager(117): Displayed activity com.hskj.iphonehome/.Launcher: 2645 ms (total 2645 ms)
11-04 02:47:51.713: DEBUG/webviewglue(469): nativeDestroy view: 0x2ee148
11-04 02:48:34.844: DEBUG/dalvikvm(117): GC freed 19821 objects / 968104 bytes in 227ms
11-04 02:51:47.674: DEBUG/dalvikvm(174): GC freed 13219 objects / 588536 bytes in 121ms
11-04 02:52:22.924: DEBUG/dalvikvm(117): GC freed 25016 objects / 1145944 bytes in 182ms
11-04 02:56:08.033: DEBUG/dalvikvm(117): GC freed 23321 objects / 1081552 bytes in 139ms
11-04 02:59:54.214: DEBUG/dalvikvm(117): GC freed 23081 objects / 1083232 bytes in 170ms



		(设定每一个动作执行后停顿5秒钟或者别的一个时间段,直到出错,此时可以有更充分的时间来查看每一个动作的执行过程)
	2。找到错误后,进行源代码更改,更改错误后进行 相同的seed值 及 相同的起始位置 再进行一次相同事件的测试。
	3。若错误不再发生,则进行别的SEED值的测试,直到经过千锤百炼都没有错再发生它才算是一个稳定性足够的程序。

posted @ 2010-11-16 09:59  wfh1988  阅读(14520)  评论(2编辑  收藏  举报