猴子让我的应用发出喵喵声
我在我的应用程序上运行了锻炼猴子,由于某种奇怪的原因,我的应用程序发出了喵叫声!我的项目中根本没有声音文件,所以我有点困惑为什么会发出“喵”的声音。 这里有什么解释吗?
我用于该项目的包下也没有其他项目/文件运行。
终端的状态如下:
:Monkey: seed=0 count=1000
:AllowPackage: around.lowell
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// 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=around.lowell/.Main;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=around.lowell/.Main } in package around.lowell
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
:Sending Pointer ACTION_UP x=0.0 y=0.0
// Allowing start of Intent { cmp=around.lowell/.MainSelect } in package around.lowell
// Allowing start of Intent { cmp=around.lowell/.EmergencyContactList } in package around.lowell
:Sending Pointer ACTION_DOWN x=207.0 y=282.0
:Sending Pointer ACTION_UP x=189.0 y=289.0
// Allowing start of Intent { cmp=around.lowell/.FireDepartment } in package around.lowell
:Sending Pointer ACTION_DOWN x=95.0 y=259.0
:Sending Pointer ACTION_UP x=95.0 y=259.0
:Sending Pointer ACTION_DOWN x=295.0 y=223.0
:Sending Pointer ACTION_UP x=290.0 y=213.0
:Sending Pointer ACTION_MOVE x=-5.0 y=3.0
:Sending Pointer ACTION_MOVE x=0.0 y=-5.0
// Rejecting start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] cmp=com.android.launcher/com.android.launcher2.Launcher } in package com.android.launcher
:Sending Pointer ACTION_DOWN x=74.0 y=201.0
:Sending Pointer ACTION_UP x=74.0 y=201.0
:Sending Pointer ACTION_MOVE x=3.0 y=-2.0
:Sending Pointer ACTION_UP x=0.0 y=0.0
// Rejecting start of Intent { act=android.intent.action.DIAL
dat=tel:978cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
//[calendar_time:2011-08-16 11:00:43.937 system_uptime:589497185]
// Sending event #100
:Sending Pointer ACTION_UP x=14.0 y=35.0
:Sending Pointer ACTION_DOWN x=129.0 y=13.0
Events injected: 1000
:Dropped: keys=0 pointers=15 trackballs=0 flips=0
Network stats: elapsed time=36844ms (0ms mobile, 36844ms wifi, 0ms not connected)
// Monkey finished
这只是部分事件 - 当我粘贴所有 1000 个事件时,此页面需要一段时间才能加载,因此我只发布了已发生的各种事件中的至少一个。
I ran the exerciser monkey on my app, and for some odd reason, my app meowed! I have no sound files in my project at all, so I'm a bit confused why a 'meow' sound played.
Any explanations here?
There are also no other projects/files that operate under the package I'm using for this project.
Here is what the terminal states:
:Monkey: seed=0 count=1000
:AllowPackage: around.lowell
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// 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=around.lowell/.Main;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=around.lowell/.Main } in package around.lowell
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
:Sending Pointer ACTION_UP x=0.0 y=0.0
// Allowing start of Intent { cmp=around.lowell/.MainSelect } in package around.lowell
// Allowing start of Intent { cmp=around.lowell/.EmergencyContactList } in package around.lowell
:Sending Pointer ACTION_DOWN x=207.0 y=282.0
:Sending Pointer ACTION_UP x=189.0 y=289.0
// Allowing start of Intent { cmp=around.lowell/.FireDepartment } in package around.lowell
:Sending Pointer ACTION_DOWN x=95.0 y=259.0
:Sending Pointer ACTION_UP x=95.0 y=259.0
:Sending Pointer ACTION_DOWN x=295.0 y=223.0
:Sending Pointer ACTION_UP x=290.0 y=213.0
:Sending Pointer ACTION_MOVE x=-5.0 y=3.0
:Sending Pointer ACTION_MOVE x=0.0 y=-5.0
// Rejecting start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] cmp=com.android.launcher/com.android.launcher2.Launcher } in package com.android.launcher
:Sending Pointer ACTION_DOWN x=74.0 y=201.0
:Sending Pointer ACTION_UP x=74.0 y=201.0
:Sending Pointer ACTION_MOVE x=3.0 y=-2.0
:Sending Pointer ACTION_UP x=0.0 y=0.0
// Rejecting start of Intent { act=android.intent.action.DIAL
dat=tel:978cmp=com.android.contacts/.DialtactsActivity } in package com.android.contacts
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
//[calendar_time:2011-08-16 11:00:43.937 system_uptime:589497185]
// Sending event #100
:Sending Pointer ACTION_UP x=14.0 y=35.0
:Sending Pointer ACTION_DOWN x=129.0 y=13.0
Events injected: 1000
:Dropped: keys=0 pointers=15 trackballs=0 flips=0
Network stats: elapsed time=36844ms (0ms mobile, 36844ms wifi, 0ms not connected)
// Monkey finished
That is only some of the events - when I pasted all 1000 events, it took this page a while to load, so I only posted at least one of the variety of events that had occurred.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我注意到猴子有时会开始播放 SD 卡上的音频文件,与您指定的包无关
I've noticed that the monkey sometimes starts playing audio files on your sd card independent of the package you specify