[android-beginners] Tab content from different layout

2009-12-07 Thread Ivru
Hi there. I'm trying to create a tabbed application. Looking in howtos, I've managed to do so. My problem is that I've got all my layouts (1 layout per tab) in my main layout file. I've try to separate all this layout in new files (1 file per layout). Doing this, I always got a "could not find vie

[android-beginners] Re: GUI Modifier thread

2009-10-07 Thread Ivru
Thanks for the explanation. I've changed my code to use correctly the asynctask and understood my errors. It's working well but as you said, asynctask are not made to run infinitely. I'll change my code to use this postDelayed() method (romain guy also told about this one on IRC). Thanks a lot !

[android-beginners] Re: GUI Modifier thread

2009-10-07 Thread Ivru
d. Here is the code: http://pastebin.com/m13f62a86 Thanks. On Oct 6, 9:17 pm, James Yum wrote: > Hi l, > > Please read the docs for AsyncTask. > You don't want to do UI work within doInBackground. Try onProgressUpdate and > onPostExecute instead. > > Cheers, > James &

[android-beginners] GUI Modifier thread

2009-10-06 Thread Ivru
Hello. Getting start with Android, I'm trying to create a "Game of life" software. My application has a TableLayout filled with ImageView for each cell. I'm trying to run/stop the game once a button has been click (same button for both). Anyway, what I'm trying to do is to change my GUI from the