Thomas Ermesjo wrote:
> So anyone with a Nexus One can check their logcat to see what the
> Alarmclock classname for the nexus is?

You should not be doing this. The alarm clock is an application, not
part of the SDK.

http://www.androidguys.com/2009/12/14/code-pollution-reaching-past-the-sdk/

Some applications that may exist on Android have publicly documented
Intents, such as:

http://developer.android.com/uide/appendix/g-app-intents.html

The alarm clock is not one of them.

Now, if you want to allow the user to choose an application to launch,
by pulling up a list of available activities from the PackageManager,
that's perfectly reasonable.

But please don't go around hard-wiring class names in your code.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to