这不是一个真正的问题,对不起.我只是想帮助获取不同android制造商时钟和闹钟的闹钟的包和类名.
THis is not really a question, Sorry. I just wanted help on getting the package and class names of alarm and clocks of different android makers' clock and alarm.
我在这里列出了 HTC、Samsung 和股票 android 类名称.但是你可以猜到包名.
I have a listing here of HTC, Samsung, and stock android class names. But you can guess the package names.
// HTC
"com.htc.android.worldclock.TimerAlert",//
"com.htc.android.worldclock.AlarmAlert",//
// Samsung
"com.sec.android.app.clockpackage.ClockPackage",//
"com.sec.android.app.clockpackage.alarm.AlarmAlert",//
// Motorola
"com.motorola.blur.alarmclock.AlarmAlert",//
"com.motorola.blur.alarmclock.AlarmClock",//
"com.motorola.blur.alarmclock.AlarmTimerAlert",
// Stock Android Clock
"com.android.alarmclock.AlarmClock",// 1.5 / 1.6
"com.android.deskclock.DeskClock",//
如果您有 LG、Sony 或任何其他 Android 制造商,请添加到此列表.我祈求你.
If you have an LG, Sony, or any other android maker out there, please add to this list. i beg you.
这里有一些munifactures和actions,还有第三方actions(第三方报警应用)
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.
我找到了 LG 手机的警报动作:
I've found the alarm action for the LG phones:
com.lge.alarm.alarmclocknew
这篇关于厂家时钟/闹钟包及类名列表,请加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!