You can just call startActivity without any prior checks, and catch
ActivityNotFoundException.
-- Kostya
24.02.2011 11:45, b_t пишет:
Hi,
ACTION_NETWORK_OPERATOR_SETTINGS says that "In some cases, a matching
Activity may not exist"
How can I check if there is an activity or not before I try to start
the activity?
I wanted to show a feature only if this activity exists.
Thanks, Tamás
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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