I started learning Java and Android yesterday, so I`m totally a newbie... I`m developing an app, it will have some basic functions: authentication, post comments, location...
My doubt is how to organize the code, I`m asking now because my code is small, but in a few months... I want to make everything very organized! I`ve done a basic authentication... I`ve only one activity, here it is: http://pastebin.com/Zt9fiq7r and here is my Authentication class: http://pastebin.com/kBS7pDJM I added this part to be sure that session is working: > if (user) { > Toast.makeText(this, "Usuário logado.", Toast.LENGTH_LONG).show(); > sessionEditor.remove("user").commit(); > } How can I change the layout when the app open if there`s a logged user? When should I create new Activities? What`s the best way to change the layout? Thanks in advance! :) -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

