Need Help

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Need Help

Postby aatifaqua » Sat Dec 25, 2010 3:52 pm

Hey all,

I am creating a login page. when the login is successful
how do i take the user to next activity and close the login page?
i dont want to do it through intent.
I have googled it but eveybody gives just a messagebog that login is successful, nobody provides how to move ahead.

And i need to connect to website to transfer data through it. How can i do it???
aatifaqua
Junior Developer
Junior Developer
 
Posts: 13
Joined: Tue Dec 07, 2010 8:08 am

Top

Re: Need Help

Postby jinelong » Mon Dec 27, 2010 11:23 am

i seems to me that intent is the only way to switch between activities.
what's bad about intent? why don't you wanna use it ?
jinelong
Freshman
Freshman
 
Posts: 2
Joined: Wed Dec 22, 2010 7:54 am

Re: Need Help

Postby aatifaqua » Mon Dec 27, 2010 3:43 pm

wen i used intent
it overlapped my login form
so wen i pressed the back button
my login form appeared
and its unwanted
is there any way to hide the login form or unload it ???
aatifaqua
Junior Developer
Junior Developer
 
Posts: 13
Joined: Tue Dec 07, 2010 8:08 am

Re: Need Help

Postby ericone » Sat Jan 08, 2011 8:36 pm

Just when the log in is successful u should use this.finish(); this will finish the activity where the login is at.
ericone
Freshman
Freshman
 
Posts: 4
Joined: Sat Dec 25, 2010 7:59 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests