• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to create this application phase 1?

HighR

Lurker
This is my very first application and I'm not sure how to properly work on this. Could anyone help me in telling the steps needed to develop this?

We basically have to make a login and register page with checks of having username /assword field as valid and not empty for sure. Otherwise prompt up alerts (alerts are important). Please guide as to how to go through it step by step and quicker. I have to do this on eclipse only.

Model: user and message class
View: all xml files
View Controller: all activity extended java files
Controller: singleton java class
Note: you need to implement all ui element in xml. You need to access/modify/listen/handle/alert in view controller. Controller is singleton class to perform operation like taking input from view controller, interact with db/sp then notify back to view controller via delegate.
Datepicker format: "12/12/2015"
Spinner format: "male" or "female
 
Here's what I would do.
Step 1: Create the UI for the login and registration activities. (Shouldn't be too difficult. Drag and drop accordingly)
Step 2: Create an intent to switch between the two activities.
Step 3: Store registration information locally via SharedPreference, external storage, or SQLite database.
Step 4: Check login information for authentication.
Step 5: If login is correct, move to login page (or whatever comes after login). Otherwise create an alert by using either Toast or AlertDialog.

I suggest you take a look at the android website for more information on how to get started: http://developer.android.com/training/index.html
 
Sounds a lot like this is an assignment for a class. But as HelloCookieWooki says, it is pretty simple. You can use toasts for your alerts, and have the login screen check some source to see if the username/password is valid on that device, or just check that it meets the requirements for a valid username/password for your project.
 
Back
Top Bottom