the fact is that i tried running the worker thread in my application but for some reason the thread canot stop.no matter what!!! so it thought of having the worker thread running in a separate app. what i want is just a way of starting another app whithout quiting my current runnning app. is there such a thing? and how can i start a service that runs by de finition in the background?
thanks On 13 Φεβ, 21:11, Faber Fedor <[email protected]> wrote: > Well, Android isn't a PC, so I don't think there's a "hide-minimize" > functionality. I would suggest the following: have your app launch a > Service which, by definition, runs in the background. If the user wants to > stop it, they bring up your app again and clock the Off button. To restart > it, they click the On button. > > > > On Fri, Feb 13, 2009 at 2:03 PM, themakos <[email protected]> wrote: > > > Hello. i need to make an application that runs a thread on the > > background of andorid (it will be used as a worker thread in a > > distributed system). > > What i actualy want to do is make a little app that has a start,stop > > and hide button. > > the start button will start the worker thread and the stop button will > > stop it. The hide button will put the window in the background > > (showing the main menu,something like minimising a window in a pc) so > > that the app's thread will continue running in the background in case > > a client sends data to be processed. The thread will stop By selecting > > and executing the app again from the main menu and pressing the stop > > button. > > > What i actually need is a demo of a "hide"-"minimize" function for my > > app. > > > thanks in advance! > > -- > Faber Fedor > Linux New Jerseyhttp://linuxnj.com --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

