Kobica, The Android process/executable model is substantially different from the traditional model in the JVM. main() is not an entry point for an Android executable. Android executables' lifecycles are governed by a set of callbacks that the operating system invokes such as onStart, onPause, onResume, onStop, etc. Have a look at http://code.google.com/android/intro/lifecycle.html to get a better idea of how Android applications "live".
Cheers, Justin Android Team @ Google On May 12, 10:38 am, kobica <[EMAIL PROTECTED]> wrote: > On May 11, 7:07 pm, Liu Huadong <[EMAIL PROTECTED]> wrote: > > > Do you mean you have successfully run tomcat on Android? > > > You can develop a service to launch tomcat, > > It might be a dumb question (so pardon, since I'm quite new to Jave), > but as far as I understand, the TomCat "exe" has the main() function > implemented. > How would I launch that kind of app from Android service? Shouldn't it > be an "Android App" ? > > Thanks, > Kobi. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

