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.
抱歉,这不是一个真正的问题。我只是想获得有关获取不同安卓制造商的时钟和闹钟的闹钟和时钟的包和类名的帮助。
I have a listing here of HTC, Samsung, and stock android class names. But you can guess the package names.
我在这里列出了HTC,三星和股票Android类名。但你可以猜出包名。
// 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",//
If you have an LG, Sony, or any other android maker out there, please add to this list. i beg you.
如果您有LG,Sony或任何其他Android制造商,请添加到此列表中。我求求你。
5 个解决方案
#1
14
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:
编辑:我发现了LG手机的报警动作:
com.lge.alarm.alarmclocknew
#2
10
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'
索尼爱立信XPERIA X10 Mini Pro,Android 2.1:软件包名称:'com.sonyericsson.alarm',活动名称:'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'
三星Galaxy S Vibrant,Android 2.2:软件包名称:'com.sec.android.app.clockpackage',活动名称:'com.sec.android.app.clockpackage.ClockPackage'
This information based on AVD:
此信息基于AVD:
Stock Clock, Android 2.1:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'
股票时钟,Android 2.1:包名:'com.android.alarmclock',活动名称:'com.android.alarmclock.AlarmClock'
Stock Clock, Android 2.2:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'
股票时钟,Android 2.2:包名:'com.android.alarmclock',活动名称:'com.android.alarmclock.AlarmClock'
Stock Clock, Android 2.3 (2.3.1):
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'
股票时钟,Android 2.3(2.3.1):包名:'com.android.deskclock',活动名称:'com.android.deskclock.DeskClock'
Stock Clock, Android 2.3.3:
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'
股票时钟,Android 2.3.3:包名:'com.android.deskclock',活动名称:'com.android.deskclock.DeskClock'
#3
7
{"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"}
#4
5
// HTC One
// HTC One
"com.htc.android.ALARM_ALERT";
“com.htc.android.ALARM_ALERT”;
#5
5
Small addition to previous answers (I think no one mentioned LG):
以前答案的小补充(我想没有人提到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:
对索尼或其他制造商来说,这真的很酷。很容易找到,只有在启动闹钟应用程序时grep你的logcat如下:
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" }
#1
14
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:
编辑:我发现了LG手机的报警动作:
com.lge.alarm.alarmclocknew
#2
10
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'
索尼爱立信XPERIA X10 Mini Pro,Android 2.1:软件包名称:'com.sonyericsson.alarm',活动名称:'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'
三星Galaxy S Vibrant,Android 2.2:软件包名称:'com.sec.android.app.clockpackage',活动名称:'com.sec.android.app.clockpackage.ClockPackage'
This information based on AVD:
此信息基于AVD:
Stock Clock, Android 2.1:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'
股票时钟,Android 2.1:包名:'com.android.alarmclock',活动名称:'com.android.alarmclock.AlarmClock'
Stock Clock, Android 2.2:
Package name: 'com.android.alarmclock',
Activity name: 'com.android.alarmclock.AlarmClock'
股票时钟,Android 2.2:包名:'com.android.alarmclock',活动名称:'com.android.alarmclock.AlarmClock'
Stock Clock, Android 2.3 (2.3.1):
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'
股票时钟,Android 2.3(2.3.1):包名:'com.android.deskclock',活动名称:'com.android.deskclock.DeskClock'
Stock Clock, Android 2.3.3:
Package name: 'com.android.deskclock',
Activity name: 'com.android.deskclock.DeskClock'
股票时钟,Android 2.3.3:包名:'com.android.deskclock',活动名称:'com.android.deskclock.DeskClock'
#3
7
{"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"}
#4
5
// HTC One
// HTC One
"com.htc.android.ALARM_ALERT";
“com.htc.android.ALARM_ALERT”;
#5
5
Small addition to previous answers (I think no one mentioned LG):
以前答案的小补充(我想没有人提到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:
对索尼或其他制造商来说,这真的很酷。很容易找到,只有在启动闹钟应用程序时grep你的logcat如下:
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" }