We are going to create an iPhone/Android application using WebView.
Before developing a real application, we would like to do some technical investigation.
In this project, we would like you to create an Android WebView mockup application.
Load a local html file and make some ajax request.
Since this is a mockup, use a dummy project name like mockup.example.com.
We need both of binary and source.
You may use Java or PhoneGap, but no Titanium.
UI details are in the attachment file.
Thanks in advance.
EDIT:
Code should run on Android OS 2.3+.
Please mention which you are going to use, Java or PhoneGap.
## Deliverables
READ the attachment first before read the following note.
Additional note:
Instead of canceling ajax request, just ignoring ajax response can be probably fine.
What I do not expect is
1. ajax request
2. switch to another tab
3. (ajax response and switch back to ajax tab unexpectedly) <- NO!
What I expect is
1. ajax request
2. switch to another tab
3. (cancel the ajax request or ignore the ajax response)
Also what I do not expect are crash or memory leaks around ajax.