制造商时钟/闹钟包和类名列表,请添加

发布于 2024-10-01 03:37:30 字数 1436 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

卸妝后依然美 2024-10-08 03:37:30

这里有一些设备和操作,以及第三方操作(第三方警报应用程序)。

// Stock alarms
// Nexus (?)
"com.android.deskclock.ALARM_ALERT";
"com.android.deskclock.ALARM_DISMISS";
"com.android.deskclock.ALARM_DONE";
"com.android.deskclock.ALARM_SNOOZE";
// stock Android (?)
"com.android.alarmclock.ALARM_ALERT";
// Stock alarm Manufactures
// Samsung
"com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT";
// HTC
"com.htc.android.worldclock.ALARM_ALERT";
// Sony
"com.sonyericsson.alarm.ALARM_ALERT";
// ZTE
"zte.com.cn.alarmclock.ALARM_ALERT";
// Motorola
"com.motorola.blur.alarmclock.ALARM_ALERT";

// Thirdparty Alarms
// Gentle Alarm
"com.mobitobi.android.gentlealarm.ALARM_INFO";
// Sleep As Android
"com.urbandroid.sleep.alarmclock.ALARM_ALERT";
// Alarmdroid (1.13.2)
"com.splunchy.android.alarmclock.ALARM_ALERT";

这些是广播操作,您可以使用接收器接收。

编辑:
我找到了 LG 手机的闹钟操作:

com.lge.alarm.alarmclocknew

Here some munifactures and actions, plus thirdparty actions (thirdparty alarm apps)

// Stock alarms
// Nexus (?)
"com.android.deskclock.ALARM_ALERT";
"com.android.deskclock.ALARM_DISMISS";
"com.android.deskclock.ALARM_DONE";
"com.android.deskclock.ALARM_SNOOZE";
// stock Android (?)
"com.android.alarmclock.ALARM_ALERT";
// Stock alarm Manufactures
// Samsung
"com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT";
// HTC
"com.htc.android.worldclock.ALARM_ALERT";
// Sony
"com.sonyericsson.alarm.ALARM_ALERT";
// ZTE
"zte.com.cn.alarmclock.ALARM_ALERT";
// Motorola
"com.motorola.blur.alarmclock.ALARM_ALERT";

// Thirdparty Alarms
// Gentle Alarm
"com.mobitobi.android.gentlealarm.ALARM_INFO";
// Sleep As Android
"com.urbandroid.sleep.alarmclock.ALARM_ALERT";
// Alarmdroid (1.13.2)
"com.splunchy.android.alarmclock.ALARM_ALERT";

This are broadcast actions, which you can receive with a receiver.

Edit:
I've found the alarm action for the LG phones:

com.lge.alarm.alarmclocknew
莫多说 2024-10-08 03:37:30

感谢您分享信息!

索尼爱立信 XPERIA X10 Mini Pro,Android 2.1:
软件包名称:'com.sonyericsson.alarm',
活动名称:“com.sonyericsson.alarm.Alarm”

Samsung Galaxy S Vibrant,Android 2.2:
包名称:'com.sec.android.app.clockpackage',
活动名称:'com.sec.android.app.clockpackage.ClockPackage'

此信息基于 AVD:

Stock Clock,Android 2.1:
包名称:'com.android.alarmclock',
活动名称:“com.android.alarmclock.AlarmClock”

股票时钟,Android 2.2:
包名称:'com.android.alarmclock',
活动名称:“com.android.alarmclock.AlarmClock”

库存时钟,Android 2.3 (2.3.1):
包名称:'com.android.deskclock',
活动名称:“com.android.deskclock.DeskClock”

库存时钟,Android 2.3.3:
包名称:'com.android.deskclock',
活动名称:'com.android.deskclock.DeskClock'

Thank you for sharing the information!

Sony Ericsson XPERIA X10 Mini Pro, Android 2.1:
Package name: 'com.sonyericsson.alarm',
Activity name: 'com.sonyericsson.alarm.Alarm'

Samsung Galaxy S Vibrant, Android 2.2:
Package name: 'com.sec.android.app.clockpackage',
Activity name: 'com.sec.android.app.clockpackage.ClockPackage'

This information based on AVD:

Stock Clock, Android 2.1:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'

Stock Clock, Android 2.2:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'

Stock Clock, Android 2.3 (2.3.1):
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'

Stock Clock, Android 2.3.3:
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'

为你鎻心 2024-10-08 03:37:30
{"HTC Alarm Clock", "com.htc.android.worldclock", "com.htc.android.worldclock.WorldClockTabControl" },
{"Standar Alarm Clock", "com.android.deskclock", "com.android.deskclock.AlarmClock"},
{"Froyo Nexus Alarm Clock", "com.google.android.deskclock", "com.android.deskclock.DeskClock"},
{"Moto Blur Alarm Clock", "com.motorola.blur.alarmclock",  "com.motorola.blur.alarmclock.AlarmClock"}
{"HTC Alarm Clock", "com.htc.android.worldclock", "com.htc.android.worldclock.WorldClockTabControl" },
{"Standar Alarm Clock", "com.android.deskclock", "com.android.deskclock.AlarmClock"},
{"Froyo Nexus Alarm Clock", "com.google.android.deskclock", "com.android.deskclock.DeskClock"},
{"Moto Blur Alarm Clock", "com.motorola.blur.alarmclock",  "com.motorola.blur.alarmclock.AlarmClock"}
东北女汉子 2024-10-08 03:37:30

// HTC One

"com.htc.android.ALARM_ALERT";

// HTC One

"com.htc.android.ALARM_ALERT";

囍孤女 2024-10-08 03:37:30

对之前答案的一个小补充(我认为没有人提到 LG):

{"LG Alarm Clock", "com.lge.clock", "com.lge.clock.AlarmClockActivity"} // newer devices e.g. LG G3
{"LG Alarm Clock", "com.lge.clock", "com.lge.clock.DefaultAlarmClockActivity"} // older devices e.g. LG-E610

如果索尼或其他制造商也拥有这个功能,那就太酷了。很容易找到,只需在启动 Alarm Clock 应用程序时 grep 你的 logcat,如下所示:

adb logcat *:v | grep "android.intent.category.LAUNCHER"

输出如下所示:

I/ActivityManager(  466): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.lge.clock/.DefaultAlarmClockActivity u=0} from pid 735

编辑:
对于索尼来说,它应该像这里

{"Sony Ericsson Xperia Z", "com.sonyericsson.organizer", "com.sonyericsson.organizer.Organizer_WorldClock" }   

Small addition to previous answers (I think no one mentioned LG):

{"LG Alarm Clock", "com.lge.clock", "com.lge.clock.AlarmClockActivity"} // newer devices e.g. LG G3
{"LG Alarm Clock", "com.lge.clock", "com.lge.clock.DefaultAlarmClockActivity"} // older devices e.g. LG-E610

It would be really cool to have this for Sony or other manufacturers too. It's easy to find out, only grep your logcat when starting Alarm Clock app like this:

adb logcat *:v | grep "android.intent.category.LAUNCHER"

and the output looks like:

I/ActivityManager(  466): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.lge.clock/.DefaultAlarmClockActivity u=0} from pid 735

EDIT:
For Sony it should be like here:

{"Sony Ericsson Xperia Z", "com.sonyericsson.organizer", "com.sonyericsson.organizer.Organizer_WorldClock" }   
我乃一代侩神 2024-10-08 03:37:30

一加
“com.oneplus.deskclock”

OnePlus
"com.oneplus.deskclock"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文