Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.
Hi to all,
I have implemented a login dialog where a username and a password. My problem is that I haven't been able to make the dialog "restart" if the username and password don't match. In this moment my dialog shows a message but still passes to the main activity. Is there a function restart? How can I fix this? Thanks in advance.
- Junior Developer
- Posts: 23
- Joined: Sat Jan 17, 2009 7:11 am
You should use showDialog() for this, and then when you discover the username/password are not correct just showDialog() again.
- Posts: 1439
- Joined: Sat Feb 16, 2008 3:11 pm
- Location: Flanders, Belgium
Return to View, Layout & Resource Problems
Who is online
Users browsing this forum: Exabot [Bot], Majestic-12 [Bot] and 7 guests