Find Jobs
Hire Freelancers

Basic Android WebView Application

$100-500 USD

Completed
Posted almost 13 years ago

$100-500 USD

Paid on delivery
This is an Android WebView application for Android version 1.6 or greater. This application attempts to load a URL using a userID and server_name. ## Deliverables ========= BEHAVIOR: 1. Start application 2. Check the persistent storage, such as "Shared Preferences", to determine if a userkey and server_name are stored (and have reasonable values). 2.1 If yes, then perform a loadUrl("http://<server_name>/folder/<userkey>"). The userkey and server_name are retrieved from the persistent storage referred to in step 2. 2.1.1 If this fails then go to 2.2 2.2 If no, then attempt to authenticate (which starts with a loadURL("[login to view URL])). 2.2.1 When PHP form is presented login into with a username/password. We have already written this form. Since we cannot perform a login from WebView and catch response at the same time this existing PHP script, which is needed for login, accepts username/password and returns the JSON object. 2.2.2 If the username/password match, the PHP code passes a JSON object to the Android using the syntax: echo json_encode($result); ...where a string similar to the following is echoed: {"userkey":"bbbbaf1ea0f505a249c988c71963","server_name":[[login to view URL]][1]} If the username/password fail go to 2.2 2.2.3 Use Android persistent storage, such as "Shared Preferences", to store the userkey and server_name as retrieved from the echoed userkey and server_name. 2.2.4 Perform a loadUrl("http://<server_name>/folder/<userkey>"). Example: loadUrl([[login to view URL]][2]); ================== NOTES: 1. I have the PHP code that performs steps 2.2.1 and 2.2.2. PHP code is NOT part of the delivery. ================== ALWAYS: 1. check network connectivity before calling a URL 2. check availability of domain name (e.g., can I ping it?) before performing a loadURL 3. show a webview progress bar when loading 4. show "connected" in title bar when connected 5. show "not connected" in the title bar when not connected 6. show "connecting&#8230;" in the title bar when attempting to connect 7. include a "LOGOUT" menu button that allows the user to clear the userkey and server_name persistent storage =========
Project ID: 3209969

About the project

16 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$102 USD in 7 days
4.9 (412 reviews)
7.3
7.3
16 freelancers are bidding on average $139 USD for this job
User Avatar
See private message.
$106.25 USD in 7 days
4.8 (170 reviews)
8.4
8.4
User Avatar
See private message.
$85 USD in 7 days
5.0 (283 reviews)
6.6
6.6
User Avatar
See private message.
$102 USD in 7 days
5.0 (112 reviews)
6.8
6.8
User Avatar
See private message.
$170 USD in 7 days
4.9 (51 reviews)
5.9
5.9
User Avatar
See private message.
$118.99 USD in 7 days
5.0 (33 reviews)
5.5
5.5
User Avatar
See private message.
$400 USD in 7 days
4.9 (27 reviews)
5.1
5.1
User Avatar
See private message.
$85 USD in 7 days
4.4 (33 reviews)
4.5
4.5
User Avatar
See private message.
$102 USD in 7 days
4.4 (10 reviews)
4.0
4.0
User Avatar
See private message.
$165.75 USD in 7 days
5.0 (4 reviews)
3.4
3.4
User Avatar
See private message.
$170 USD in 7 days
4.8 (9 reviews)
3.4
3.4
User Avatar
See private message.
$85 USD in 7 days
5.0 (5 reviews)
2.9
2.9
User Avatar
See private message.
$144.50 USD in 7 days
5.0 (1 review)
2.5
2.5
User Avatar
See private message.
$104.55 USD in 7 days
5.0 (2 reviews)
0.9
0.9
User Avatar
See private message.
$198.90 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$85 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Milwaukee, United States
5.0
13
Member since Sep 20, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.