The application interface should mirror the attached picture, basicinterface.png. It needs to have:
A. An area up top to display unicode text (e.g., a Spanish word/phrase)
B. An input text box for users to type in a response (e.g., the corresponding English; ASCII is fine)
C. An "I don't know" button and a "Submit Answer" button
D. A box at the bottom with a few lines of text
E. A text area positioned between the boxes from points A. and B.
We'd prefer that the colors generally match what's in [url removed, login to view], though we're open to the developer's advice/expertise when it comes to aesthetics.
The application should essentially run on this infinite loop:
Do until user exits application:
Step 1. Access a php script we already have on the web, passing several arguments as a GET request. This script will echo several variables needed for the application.
Step 2. Set the text area (item E.) to display "correct", "incorrect", or "partially correct". Which of these is displayed is determined by one of the variables just retrieved in the previous step.
Step 3. Pause a few seconds, leaving the text text on the screen
Step 4. Set the display text (item A.) to a new foreign word/phrase, update another textbox (bullet D), and erase the other text (item B and E)
Step 5. Wait for the user to push enter or click either of the buttons (item E)
The variables that need to be sent in Step 1 are:
-- The text the user entered (in item B)
-- The time in milliseconds between Step 4 and Step 5
-- The time in milliseconds between the initial keypress and the final keypress
-- Some hidden variables, retrieved in Step 1, which identify for our server what vocabulary pair the user was sent
Additionally, we need:
-- When the application is first installed, we need a simple login screen. The login screen should send the credentials they enter to a PHP script on our server (via POST or GET...), which will indicate whether the login was successful or not. If it was successful, the script will also send back a few variables (e.g. a userid, an MD5 hash) to be stored permanently on the phone. The login credentials should also be stored permanently.
-- Whenever the user opens the application in the future, it should log them in automatically. It's important for us to know when they log in.
-- Well-commented code
We don't need:
-- A way for users to create accounts.
Optionally, we could use, but don't necessarily need:
-- Some sort of "About Us" screen which will display some text explaining what the app does.
9 freelancer bu iş için ortalamada 236$ teklif veriyor
I have been developing app for android from day one, I have a few apps in the android market which have similar spec as yours. I am confident that you will be happy with my work. Thanks