java - Proper way of coding -


i new in developing android applications. want create android application(using eclipse) needs login page user needs put his/her username , password , when username , password correct application open main page. made layout login page. question is, proper put function codes of login , main page in same package?

ideally define login activity handles login action, save in preferences etc , have start main activity when user logged in.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -