|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <resources>
|
3 |
| - <string name="app_name">MicroJobs</string> |
4 |
| - <string name="show_list">Show List of Jobs</string> |
5 |
| - <string name="list_name">List of MicroJobs</string> |
6 |
| - <string name="jobs_detail_name">Job Detail</string> |
7 |
| - <string name="emp_detail_name">Employer Detail</string> |
8 |
| - <string name="add_job_name">Add Job</string> |
9 |
| - <string name="edit_job_name">Edit Job</string> |
10 |
| - <string name="map_menu_zoom_in">Zoom in</string> |
11 |
| - <string name="map_menu_zoom_out">Zoom out</string> |
12 |
| - <string name="map_menu_show_list">List jobs</string> |
13 |
| - <string name="map_menu_set_satellite">Toggle Satellite</string> |
14 |
| - <string name="map_menu_set_map">Toggle Street View</string> |
15 |
| - <string name="map_menu_set_traffic">Toggle Traffic View</string> |
16 |
| - <string name="list_menu_back_to_map">Back to Map</string> |
17 |
| - <string name="list_menu_sort_by_title">Sort by Job Title</string> |
18 |
| - <string name="list_menu_sort_by_employer">Sort by Employer</string> |
19 |
| - <string name="list_menu_get_employer_detail">Show Employer Info</string> |
20 |
| - <string name="list_menu_add_job">Add A New Job</string> |
21 |
| - <string name="detail_menu_back_to_list">Back to List of Jobs</string> |
22 |
| - <string name="detail_menu_employer_info">Detailed Employer Info</string> |
23 |
| - <string name="detail_menu_delete_job">Delete This Job</string> |
24 |
| - <string name="detail_menu_edit_job">Edit This Job</string> |
| 3 | + <string name="app_name">MicroJobs</string> |
| 4 | + <string name="show_list">Show List of Jobs</string> |
| 5 | + <string name="list_name">List of MicroJobs</string> |
| 6 | + <string name="jobs_detail_name">Job Detail</string> |
| 7 | + <string name="emp_detail_name">Employer Detail</string> |
| 8 | + <string name="add_job_name">Add Job</string> |
| 9 | + <string name="edit_job_name">Edit Job</string> |
| 10 | + <string name="map_menu_zoom_in">Zoom in</string> |
| 11 | + <string name="map_menu_zoom_out">Zoom out</string> |
| 12 | + <string name="map_menu_show_list">List jobs</string> |
| 13 | + <string name="map_menu_set_satellite">Toggle Satellite</string> |
| 14 | + <string name="map_menu_streetview">Launch Street View</string> |
| 15 | + <string name="map_menu_set_traffic">Toggle Traffic View</string> |
| 16 | + <string name="list_menu_back_to_map">Back to Map</string> |
| 17 | + <string name="list_menu_sort_by_title">Sort by Job Title</string> |
| 18 | + <string name="list_menu_sort_by_employer">Sort by Employer</string> |
| 19 | + <string name="list_menu_get_employer_detail">Show Employer Info</string> |
| 20 | + <string name="list_menu_add_job">Add A New Job</string> |
| 21 | + <string name="detail_menu_back_to_list">Back to List of Jobs</string> |
| 22 | + <string name="detail_menu_employer_info">Detailed Employer Info</string> |
| 23 | + <string name="detail_menu_delete_job">Delete This Job</string> |
| 24 | + <string name="detail_menu_edit_job">Edit This Job</string> |
25 | 25 | <string name="emp_detail_menu_back_to_job_info">Back to Job Info</string>
|
26 |
| - <string name="db_name">MicroJobs</string> |
27 |
| - <string name="MicroJobsDatabase_onCreate">" |
28 |
| -CREATE TABLE jobs (_id INTEGER PRIMARY KEY AUTOINCREMENT, employer_id INTEGER, title TEXT, description TEXT, start_time INTEGER, end_time INTEGER, status INTEGER); |
29 |
| -CREATE TABLE employers( _id INTEGER, employer_name TEXT, contact_name TEXT, website TEXT, rating INTEGER, street TEXT, city TEXT, state TEXT, zip TEXT, phone TEXT, email TEXT, latitude INTEGER, longitude INTEGER); |
30 |
| -CREATE TABLE workers( _id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, username TEXT, passhash TEXT, rating INTEGER, street TEXT, city TEXT, state TEXT, zip TEXT, phone TEXT, email TEXT, loc1_name TEXT, loc1_lat INTEGER, loc1_long INTEGER, loc2_name TEXT, loc2_lat INTEGER, loc2_long INTEGER, loc3_name TEXT, loc3_lat INTEGER, loc3_long INTEGER); |
31 |
| -CREATE TABLE status( _id INTEGER PRIMARY KEY AUTOINCREMENT, status TEXT); |
32 |
| -INSERT INTO status (_id , status) VALUES (NULL, 'Filled'); |
33 |
| -INSERT INTO status (_id , status) VALUES (NULL, 'Applied For'); |
34 |
| -INSERT INTO status (_id , status) VALUES (NULL, 'Open'); |
35 |
| -INSERT INTO workers(_id, name, username, rating, passhash, street, city, state, zip, phone, email, loc1_name, loc1_lat, loc1_long, loc2_name, loc2_lat, loc2_long, loc3_name, loc3_lat, loc3_long) VALUES (NULL, 'Larry Dickman', 'LD', 50,'', '1 Main Street', 'Boston', 'MA', '01000', '6175551212','Larry@gmail.net', 'Boston', 42358897, -71057795, 'Cambridge, MA', 42359368, -71094208, 'GooglePlex', 37423269,-122084917); |
36 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (1, 'Boston Pizza', 'Mike Dukakis', 'www.bostonpizza.com', 40, '40 Boylston Street', 'Boston', 'MA', '01000', '6175551212', 'jobs@BostonPizza.com', 42352299 , -71063979 ); |
37 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (2, 'New England Hardware', 'Bob Vila', 'www.newenglandhardware.com', 30, '100 Tremont Street', 'Boston', 'MA', '01000', '6175551212', 'jobs@NEH.com', 42357397 , -71061295); |
38 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (3, 'Cheers Bar', 'Sam Neal', 'www.cheersbar.com', 50, '10 Newbury Street', 'Boston', 'MA', '01000', '6175551212', 'sam@Cheers.com', 42352466, -71071684); |
39 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (4, 'West Coast Lumber', 'Harry Truman', 'www.westcoastlumber.com', 35, '455 W Evelyn Ave', 'Mountain View', 'CA', '94041', '6505551212', 'jobs@westcoastlumber.com', 37393133, -122074941); |
40 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (5, 'Google', 'Eric Schmidt', 'www.google.com', 50, '1600 Amphitheatre Parkway', 'Mountain View', 'CA', '94041', '6502530000', 'jobs@google.com', 37423269, -122082667); |
41 |
| -INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (6, 'Shakes Electronics', 'Elvis Presley', 'www.shakes.com', 35, '340 Portage Ave', 'Palo Alto', 'CA', '94306', '6504962000', 'jobs@shakes.com', 37422404, -122137609); |
42 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 1, 'Busboy', 'Need a person to help clean tables for a few hours. No experience necessary', 0, 0, 3); |
43 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 3, 'Bartender apprentice', 'Help our regular bartender during rush hours. Must be over 21', 0, 0, 2); |
44 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 2, 'General help', 'Someone to help stock shelves and open the store', 0,0,1); |
45 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Carpenter apprentice', 'Assist contract carpenters in assembly of backyard storage sheds.', 0, 0, 1); |
46 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Store help', 'Help stock shelves', 0, 0, 2); |
47 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 5, 'CEO Standin', 'Need impersonator to stand in for Eric Schmidt while on vacation. Must look exactly like Eric Schmidt.', 0, 0, 3); |
48 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 5, 'Microsoft Advocate', 'Need lightning rod to promote use of Microsoft tools within Google. Short term position.', 0, 0, 1); |
49 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 6, 'Customer support', 'Person to help TV customers understand that, no matter what their current problem, they need a new, bigger HD TV', 0, 0, 2); |
50 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 6, 'Game tester', 'Person to test new XBox games for hidden features.', 0, 0, 3); |
51 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Carpentry teacher', 'Teach customers basic carpentry skills. Must have done commercial work as a finish carpenter.', 0, 0, 1); |
52 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Medic', 'Skilled in basic First Aid to stop bleeding of carpentry students.', 0, 0, 1); |
53 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 1, 'Kitchen help', 'Assist chef in high end pizza kitchen. No experience necessary', 0, 0, 2); |
54 |
| -INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 2, 'Temporary Cashier', 'Must have experience using a cash register.', 0, 0, 1); |
55 |
| -"</string> |
56 |
| - <string name="MicroJobsDatabase_onUpgrade">" |
57 |
| -DROP TABLE IF EXISTS jobs |
58 |
| -DROP TABLE IF EXISTS employers |
59 |
| -DROP TABLE IF EXISTS workers |
60 |
| -DROP TABLE IF EXISTS status |
61 |
| -"</string> |
| 26 | + <string name="db_name">MicroJobs</string> |
| 27 | + <string name="MicroJobsDatabase_onCreate">" |
| 28 | +CREATE TABLE jobs (_id INTEGER PRIMARY KEY AUTOINCREMENT, employer_id INTEGER, title TEXT, description TEXT, start_time INTEGER, end_time INTEGER, status INTEGER); |
| 29 | +CREATE TABLE employers( _id INTEGER, employer_name TEXT, contact_name TEXT, website TEXT, rating INTEGER, street TEXT, city TEXT, state TEXT, zip TEXT, phone TEXT, email TEXT, latitude INTEGER, longitude INTEGER); |
| 30 | +CREATE TABLE workers( _id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, username TEXT, passhash TEXT, rating INTEGER, street TEXT, city TEXT, state TEXT, zip TEXT, phone TEXT, email TEXT, loc1_name TEXT, loc1_lat INTEGER, loc1_long INTEGER, loc2_name TEXT, loc2_lat INTEGER, loc2_long INTEGER, loc3_name TEXT, loc3_lat INTEGER, loc3_long INTEGER); |
| 31 | +CREATE TABLE status( _id INTEGER PRIMARY KEY AUTOINCREMENT, status TEXT); |
| 32 | +INSERT INTO status (_id , status) VALUES (NULL, 'Filled'); |
| 33 | +INSERT INTO status (_id , status) VALUES (NULL, 'Applied For'); |
| 34 | +INSERT INTO status (_id , status) VALUES (NULL, 'Open'); |
| 35 | +INSERT INTO workers(_id, name, username, rating, passhash, street, city, state, zip, phone, email, loc1_name, loc1_lat, loc1_long, loc2_name, loc2_lat, loc2_long, loc3_name, loc3_lat, loc3_long) VALUES (NULL, 'Larry Dickman', 'LD', 50,'', '1 Main Street', 'Boston', 'MA', '01000', '6175551212','Larry@gmail.net', 'Boston', 42358897, -71057795, 'Cambridge, MA', 42359368, -71094208, 'GooglePlex', 37423269,-122084917); |
| 36 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (1, 'Boston Pizza', 'Mike Dukakis', 'www.bostonpizza.com', 40, '40 Boylston Street', 'Boston', 'MA', '01000', '6175551212', 'jobs@BostonPizza.com', 42352299 , -71063979 ); |
| 37 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (2, 'New England Hardware', 'Bob Vila', 'www.newenglandhardware.com', 30, '100 Tremont Street', 'Boston', 'MA', '01000', '6175551212', 'jobs@NEH.com', 42357397 , -71061295); |
| 38 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (3, 'Cheers Bar', 'Sam Neal', 'www.cheersbar.com', 50, '10 Newbury Street', 'Boston', 'MA', '01000', '6175551212', 'sam@Cheers.com', 42352466, -71071684); |
| 39 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (4, 'West Coast Lumber', 'Harry Truman', 'www.westcoastlumber.com', 35, '455 W Evelyn Ave', 'Mountain View', 'CA', '94041', '6505551212', 'jobs@westcoastlumber.com', 37393133, -122074941); |
| 40 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (5, 'Google', 'Eric Schmidt', 'www.google.com', 50, '1600 Amphitheatre Parkway', 'Mountain View', 'CA', '94041', '6502530000', 'jobs@google.com', 37423269, -122082667); |
| 41 | +INSERT INTO employers (_id, employer_name, contact_name, website, rating, street, city, state, zip, phone, email, latitude, longitude) VALUES (6, 'Shakes Electronics', 'Elvis Presley', 'www.shakes.com', 35, '340 Portage Ave', 'Palo Alto', 'CA', '94306', '6504962000', 'jobs@shakes.com', 37422404, -122137609); |
| 42 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 1, 'Busboy', 'Need a person to help clean tables for a few hours. No experience necessary', 0, 0, 3); |
| 43 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 3, 'Bartender apprentice', 'Help our regular bartender during rush hours. Must be over 21', 0, 0, 2); |
| 44 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 2, 'General help', 'Someone to help stock shelves and open the store', 0,0,1); |
| 45 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Carpenter apprentice', 'Assist contract carpenters in assembly of backyard storage sheds.', 0, 0, 1); |
| 46 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Store help', 'Help stock shelves', 0, 0, 2); |
| 47 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 5, 'CEO Standin', 'Need impersonator to stand in for Eric Schmidt while on vacation. Must look exactly like Eric Schmidt.', 0, 0, 3); |
| 48 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 5, 'Microsoft Advocate', 'Need lightning rod to promote use of Microsoft tools within Google. Short term position.', 0, 0, 1); |
| 49 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 6, 'Customer support', 'Person to help TV customers understand that, no matter what their current problem, they need a new, bigger HD TV', 0, 0, 2); |
| 50 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 6, 'Game tester', 'Person to test new XBox games for hidden features.', 0, 0, 3); |
| 51 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Carpentry teacher', 'Teach customers basic carpentry skills. Must have done commercial work as a finish carpenter.', 0, 0, 1); |
| 52 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 4, 'Medic', 'Skilled in basic First Aid to stop bleeding of carpentry students.', 0, 0, 1); |
| 53 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 1, 'Kitchen help', 'Assist chef in high end pizza kitchen. No experience necessary', 0, 0, 2); |
| 54 | +INSERT INTO jobs (_id, employer_id, title, description, start_time, end_time, status) VALUES (NULL, 2, 'Temporary Cashier', 'Must have experience using a cash register.', 0, 0, 1); |
| 55 | +"</string> |
| 56 | + <string name="MicroJobsDatabase_onUpgrade">" |
| 57 | +DROP TABLE IF EXISTS jobs |
| 58 | +DROP TABLE IF EXISTS employers |
| 59 | +DROP TABLE IF EXISTS workers |
| 60 | +DROP TABLE IF EXISTS status |
| 61 | +"</string> |
62 | 62 | </resources>
|
0 commit comments