Hello,

Two questions

1) How can I tell if my Java code is running in the Android
environment?  I have some code that is shared by Android and non-
Android applications and I want to be able to adjust to either
environment dynamically.

2) Is there a way to get access to the Command Line arguments that
were used to launch the application my Activity (or Service, etc.) is
running under? Since our code does not appear to have a main(String
args[]) function that gets called, I was wondering if it were possible
to still get access to the command line parameters.

Thanks,
Robert

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

Reply via email to