From d2c150c11ed9522469ecc5fca44b42ef0d81b154 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 25 Aug 2013 09:52:41 +0800 Subject: ptp revised --- server/piztor/exc.py | 5 ++++- server/piztor/model.py | 1 + server/ptp.rst | 24 ++++++++++++------------ 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/server/piztor/exc.py b/server/piztor/exc.py index 5daf420..2c53dbf 100644 --- a/server/piztor/exc.py +++ b/server/piztor/exc.py @@ -1,6 +1,9 @@ class PiztorError(Exception): pass +class DBCurruptedError(PiztorError): + pass + class ConnectionError(PiztorError): pass @@ -10,5 +13,5 @@ class ReqReadError(ConnectionError): class BadReqError(ConnectionError): pass -class InvalidTokenError(ConnectionError): +class BadTokenError(ConnectionError): pass diff --git a/server/piztor/model.py b/server/piztor/model.py index d869c32..70ca431 100644 --- a/server/piztor/model.py +++ b/server/piztor/model.py @@ -3,6 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, backref Base = declarative_base() + _SALT_LEN = 16 _TOKEN_LEN = 16 diff --git a/server/ptp.rst b/server/ptp.rst index 4092399..e835bd7 100644 --- a/server/ptp.rst +++ b/server/ptp.rst @@ -33,9 +33,9 @@ Piztor Transmission Protocol v0.1 :: - +--1b---+-----4b-----+---1b----+ - | 0x00 | USER_TOKEN | STATUS | - +-uchar-+-----int----+--uchar--+ + +--1b---+---1b---+---4b----+----16b-----+ + | 0x00 | STATUS | USER_ID | USER_TOKEN | + +-uchar-+--uchar-+---int---+----raw-----+ ``STATUS`` : @@ -48,9 +48,9 @@ Piztor Transmission Protocol v0.1 :: - +--1b---+------4b------+-----8b-----+------8b-----+ - | 0x02 | SENDER_TOKEN | LATITUDE | LONGITUDE | - +-uchar-+------int-----+---double---+---double----+ + +--1b---+-----16b------+-----8b-----+------8b-----+ + | 0x02 | USER_TOKEN | LATITUDE | LONGITUDE | + +-uchar-+------raw-----+---double---+---double----+ - Response @@ -71,17 +71,17 @@ Piztor Transmission Protocol v0.1 :: - +--1b---+-----4b-------+------4b-----+ - | 0x03 | SENDER_TOKEN | GROUP_ID | - +-uchar-+-----int------+-----int-----+ + +--1b---+-----16b------+------4b-----+ + | 0x03 | USER_TOKEN | GROUP_ID | + +-uchar-+-----raw------+-----int-----+ - Response :: - +--1b---+-----4b----+------20b-------+-----+ - | 0x03 | ENTRY_CNT | LOCATION_ENTRY | ... | - +-uchar-+---int-----+----------------+-----+ + +--1b---+---1b---+-----4b----+------20b-------+-----+ + | 0x03 | STATUS | ENTRY_CNT | LOCATION_ENTRY | ... | + +-uchar-+-uchar--+----int----+----------------+-----+ ``LOCATION_ENTRY`` : -- cgit v1.2.3-70-g09d2 From 3943a3743bbba32bc7c04bf1c3e85eb775790e2a Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 25 Aug 2013 10:10:44 +0800 Subject: ptp v0.2 --- server/ptp.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/server/ptp.rst b/server/ptp.rst index e835bd7..bbbcf7a 100644 --- a/server/ptp.rst +++ b/server/ptp.rst @@ -1,4 +1,4 @@ -Piztor Transmission Protocol v0.1 +Piztor Transmission Protocol v0.2 --------------------------------- - General @@ -7,17 +7,19 @@ Piztor Transmission Protocol v0.1 :: - +---1b---+-------?b--------+ - | OPT ID | SPECIFIC DATA | - +-uchar--+-----------------+ + +---4b---+---1b---+-------?b--------+ + | LENGTH | OPT ID | SPECIFIC DATA | + +--int---+-uchar--+-----------------+ - Response :: - +---1b---+------?b---------+ - | OPT ID | SPECIFIC DATA | - +-uchar--+-----------------+ + +---4b---+---1b---+------?b---------+ + | LENGTH | OPT ID | SPECIFIC DATA | + +--int---+-uchar--+-----------------+ + + Notice that in following sections, ``LENGTH`` part is left out for clarity. - Authentication -- cgit v1.2.3-70-g09d2 From a53f4d21238d2bccd58a22d7485e54f495dbd55d Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 25 Aug 2013 10:30:55 +0800 Subject: ptp: add TODO --- server/ptp.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/server/ptp.rst b/server/ptp.rst index bbbcf7a..8aef2b7 100644 --- a/server/ptp.rst +++ b/server/ptp.rst @@ -20,6 +20,7 @@ Piztor Transmission Protocol v0.2 +--int---+-uchar--+-----------------+ Notice that in following sections, ``LENGTH`` part is left out for clarity. + TODO: All secure requests should have username or uid provided. - Authentication -- cgit v1.2.3-70-g09d2 From ac7633d8149a28af288ac0b850850cef9b13c151 Mon Sep 17 00:00:00 2001 From: sjtufs Date: Sun, 25 Aug 2013 15:45:55 +0800 Subject: This is alpha --- .classpath | 9 + .project | 33 +++ .settings/org.eclipse.jdt.core.prefs | 4 + AndroidManifest.xml | 42 ++++ bin/AndroidManifest.xml | 42 ++++ bin/Piztor.apk | Bin 0 -> 1009696 bytes bin/classes.dex | Bin 0 -> 654056 bytes bin/classes/com/macaroon/piztor/ActMgr.class | Bin 0 -> 2650 bytes bin/classes/com/macaroon/piztor/ActStatus.class | Bin 0 -> 328 bytes .../macaroon/piztor/AppMgr$ActivityStatus.class | Bin 0 -> 1412 bytes bin/classes/com/macaroon/piztor/AppMgr.class | Bin 0 -> 4546 bytes bin/classes/com/macaroon/piztor/BuildConfig.class | Bin 0 -> 347 bytes .../com/macaroon/piztor/ClassCannotFind.class | Bin 0 -> 329 bytes bin/classes/com/macaroon/piztor/EmptyStatus.class | Bin 0 -> 471 bytes bin/classes/com/macaroon/piztor/GPSTracker$1.class | Bin 0 -> 1190 bytes bin/classes/com/macaroon/piztor/GPSTracker$2.class | Bin 0 -> 859 bytes bin/classes/com/macaroon/piztor/GPSTracker.class | Bin 0 -> 5656 bytes bin/classes/com/macaroon/piztor/InitAct.class | Bin 0 -> 1134 bytes bin/classes/com/macaroon/piztor/Login$1.class | Bin 0 -> 1209 bytes bin/classes/com/macaroon/piztor/Login$2.class | Bin 0 -> 872 bytes .../com/macaroon/piztor/Login$LoginStatus.class | Bin 0 -> 1698 bytes .../com/macaroon/piztor/Login$StartStatus.class | Bin 0 -> 653 bytes bin/classes/com/macaroon/piztor/Login.class | Bin 0 -> 2665 bytes bin/classes/com/macaroon/piztor/Main$1.class | Bin 0 -> 1451 bytes bin/classes/com/macaroon/piztor/Main.class | Bin 0 -> 1637 bytes bin/classes/com/macaroon/piztor/PiztorAct.class | Bin 0 -> 2205 bytes .../com/macaroon/piztor/PiztorExcepiton.class | Bin 0 -> 377 bytes bin/classes/com/macaroon/piztor/R$attr.class | Bin 0 -> 343 bytes bin/classes/com/macaroon/piztor/R$dimen.class | Bin 0 -> 464 bytes bin/classes/com/macaroon/piztor/R$drawable.class | Bin 0 -> 1399 bytes bin/classes/com/macaroon/piztor/R$id.class | Bin 0 -> 2291 bytes bin/classes/com/macaroon/piztor/R$layout.class | Bin 0 -> 823 bytes bin/classes/com/macaroon/piztor/R$menu.class | Bin 0 -> 479 bytes bin/classes/com/macaroon/piztor/R$string.class | Bin 0 -> 937 bytes bin/classes/com/macaroon/piztor/R$style.class | Bin 0 -> 434 bytes bin/classes/com/macaroon/piztor/R.class | Bin 0 -> 683 bytes bin/classes/com/macaroon/piztor/Req.class | Bin 0 -> 493 bytes bin/classes/com/macaroon/piztor/ReqLocation.class | Bin 0 -> 432 bytes bin/classes/com/macaroon/piztor/ReqLogin.class | Bin 0 -> 509 bytes bin/classes/com/macaroon/piztor/ReqUpdate.class | Bin 0 -> 499 bytes bin/classes/com/macaroon/piztor/Res.class | Bin 0 -> 388 bytes bin/classes/com/macaroon/piztor/ResLocation.class | Bin 0 -> 650 bytes bin/classes/com/macaroon/piztor/ResLogin.class | Bin 0 -> 376 bytes bin/classes/com/macaroon/piztor/ResUpdate.class | Bin 0 -> 337 bytes bin/classes/com/macaroon/piztor/Rlocation.class | Bin 0 -> 469 bytes bin/classes/com/macaroon/piztor/Setting.class | Bin 0 -> 804 bytes bin/classes/com/macaroon/piztor/SocketClient.class | Bin 0 -> 4196 bytes .../com/macaroon/piztor/Tracker$GPSTask.class | Bin 0 -> 1457 bytes bin/classes/com/macaroon/piztor/Tracker.class | Bin 0 -> 1332 bytes bin/classes/com/macaroon/piztor/Transam$1.class | Bin 0 -> 1064 bytes .../com/macaroon/piztor/Transam$Timertk.class | Bin 0 -> 1131 bytes bin/classes/com/macaroon/piztor/Transam$thd.class | Bin 0 -> 1643 bytes .../com/macaroon/piztor/Transam$tmain.class | Bin 0 -> 535 bytes bin/classes/com/macaroon/piztor/Transam.class | Bin 0 -> 2807 bytes bin/classes/com/macaroon/piztor/UserInfo.class | Bin 0 -> 486 bytes ...support-v4-7d1c360a45ec8a3e1ddee5ade49de497.jar | Bin 0 -> 211326 bytes bin/jarlist.cache | 3 + bin/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 5964 bytes bin/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 3112 bytes bin/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 9355 bytes bin/res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 17889 bytes bin/res/drawable/bottom_img.png | Bin 0 -> 526288 bytes bin/res/drawable/footbar_background.png | Bin 0 -> 22626 bytes bin/res/drawable/footbar_checkin.png | Bin 0 -> 253 bytes bin/res/drawable/footbar_checkin_1.png | Bin 0 -> 2958 bytes bin/res/drawable/footbar_fetch.png | Bin 0 -> 1800 bytes bin/res/drawable/footbar_fetch_1.png | Bin 0 -> 2744 bytes bin/res/drawable/footbar_marker.png | Bin 0 -> 986 bytes bin/res/drawable/footbar_marker_1.png | Bin 0 -> 2862 bytes bin/res/drawable/footbar_search.png | Bin 0 -> 1327 bytes bin/res/drawable/footbar_search_1.png | Bin 0 -> 3137 bytes bin/res/drawable/footbar_select_bg.png | Bin 0 -> 8879 bytes bin/res/drawable/footbar_settings.png | Bin 0 -> 1100 bytes bin/res/drawable/footbar_settings_1.png | Bin 0 -> 3003 bytes bin/res/drawable/footbar_unselect_bg.png | Bin 0 -> 119 bytes bin/res/drawable/horizontal_line.png | Bin 0 -> 705 bytes bin/res/drawable/navigation_back.png | Bin 0 -> 397 bytes bin/res/drawable/navigation_back_1.png | Bin 0 -> 170 bytes bin/res/drawable/title_logo.png | Bin 0 -> 116965 bytes bin/res/drawable/topbar_background.png | Bin 0 -> 23541 bytes bin/resources.ap_ | Bin 0 -> 781019 bytes client/Piztor/.classpath | 9 - client/Piztor/.project | 33 --- client/Piztor/.settings/org.eclipse.jdt.core.prefs | 4 - client/Piztor/AndroidManifest.xml | 36 --- client/Piztor/bin/AndroidManifest.xml | 36 --- .../bin/classes/com/macaroon/piztor/ActMgr.class | Bin 2616 -> 0 bytes .../classes/com/macaroon/piztor/ActStatus.class | Bin 328 -> 0 bytes .../macaroon/piztor/AppMgr$ActivityStatus.class | Bin 1412 -> 0 bytes .../bin/classes/com/macaroon/piztor/AppMgr.class | Bin 2846 -> 0 bytes .../classes/com/macaroon/piztor/BuildConfig.class | Bin 347 -> 0 bytes .../classes/com/macaroon/piztor/EmptyStatus.class | Bin 471 -> 0 bytes .../bin/classes/com/macaroon/piztor/InitAct.class | Bin 804 -> 0 bytes .../classes/com/macaroon/piztor/PiztorAct.class | Bin 2205 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$attr.class | Bin 343 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$dimen.class | Bin 464 -> 0 bytes .../classes/com/macaroon/piztor/R$drawable.class | Bin 410 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$id.class | Bin 396 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$layout.class | Bin 406 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$menu.class | Bin 419 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$string.class | Bin 518 -> 0 bytes .../bin/classes/com/macaroon/piztor/R$style.class | Bin 434 -> 0 bytes .../Piztor/bin/classes/com/macaroon/piztor/R.class | Bin 683 -> 0 bytes .../gen/com/macaroon/piztor/BuildConfig.java | 6 - client/Piztor/gen/com/macaroon/piztor/R.java | 70 ------ client/Piztor/ic_launcher-web.png | Bin 51394 -> 0 bytes client/Piztor/libs/android-support-v4.jar | Bin 556198 -> 0 bytes client/Piztor/proguard-project.txt | 20 -- client/Piztor/project.properties | 14 -- client/Piztor/res/drawable-hdpi/ic_launcher.png | Bin 7658 -> 0 bytes client/Piztor/res/drawable-mdpi/ic_launcher.png | Bin 3777 -> 0 bytes client/Piztor/res/drawable-xhdpi/ic_launcher.png | Bin 12516 -> 0 bytes client/Piztor/res/drawable-xxhdpi/ic_launcher.png | Bin 24777 -> 0 bytes client/Piztor/res/layout/activity_init.xml | 16 -- client/Piztor/res/menu/init.xml | 9 - client/Piztor/res/menu/main.xml | 9 - client/Piztor/res/values-sw600dp/dimens.xml | 8 - client/Piztor/res/values-sw720dp-land/dimens.xml | 9 - client/Piztor/res/values-v11/styles.xml | 11 - client/Piztor/res/values-v14/styles.xml | 12 - client/Piztor/res/values/dimens.xml | 7 - client/Piztor/res/values/strings.xml | 9 - client/Piztor/res/values/styles.xml | 20 -- client/Piztor/src/com/macaroon/piztor/ActMgr.java | 63 ------ client/Piztor/src/com/macaroon/piztor/AppMgr.java | 62 ------ client/Piztor/src/com/macaroon/piztor/InitAct.java | 22 -- .../Piztor/src/com/macaroon/piztor/PiztorAct.java | 60 ----- client/README.rst | 1 - client/Socket-demo/Login.java | 6 - client/Socket-demo/MainActivity.java | 44 ---- client/Socket-demo/Myrequest.java | 10 - client/Socket-demo/Myrespond.java | 12 - client/Socket-demo/SocketClient.java | 107 --------- client/Socket-demo/Transam.java | 125 ----------- .../AndroidGPSTracking/.AndroidManifest.xml.swp | Bin 12288 -> 0 bytes client/gps-demo/AndroidGPSTracking/.classpath | 9 - client/gps-demo/AndroidGPSTracking/.project | 33 --- .../.settings/org.eclipse.jdt.core.prefs | 4 - .../AndroidGPSTracking/AndroidManifest.xml | 26 --- .../AndroidGPSTracking/bin/AndroidGPSTracking.apk | Bin 16993 -> 0 bytes .../AndroidGPSTracking/bin/AndroidManifest.xml | 26 --- client/gps-demo/AndroidGPSTracking/bin/classes.dex | Bin 9188 -> 0 bytes .../gpstracking/AndroidGPSTrackingActivity$1.class | Bin 1809 -> 0 bytes .../gpstracking/AndroidGPSTrackingActivity.class | Bin 1119 -> 0 bytes .../com/example/gpstracking/BuildConfig.class | Bin 355 -> 0 bytes .../com/example/gpstracking/GPSTracker$1.class | Bin 1206 -> 0 bytes .../com/example/gpstracking/GPSTracker$2.class | Bin 879 -> 0 bytes .../com/example/gpstracking/GPSTracker.class | Bin 4488 -> 0 bytes .../classes/com/example/gpstracking/R$attr.class | Bin 355 -> 0 bytes .../com/example/gpstracking/R$drawable.class | Bin 422 -> 0 bytes .../bin/classes/com/example/gpstracking/R$id.class | Bin 408 -> 0 bytes .../classes/com/example/gpstracking/R$layout.class | Bin 409 -> 0 bytes .../classes/com/example/gpstracking/R$string.class | Bin 442 -> 0 bytes .../bin/classes/com/example/gpstracking/R.class | Bin 566 -> 0 bytes ...nnotations-5b022f4578500e25e3bfa446659bd7d8.jar | Bin 943 -> 0 bytes .../gps-demo/AndroidGPSTracking/bin/jarlist.cache | 3 - .../bin/res/drawable-hdpi/ic_launcher.png | Bin 3966 -> 0 bytes .../bin/res/drawable-ldpi/ic_launcher.png | Bin 1537 -> 0 bytes .../bin/res/drawable-mdpi/ic_launcher.png | Bin 2200 -> 0 bytes .../gps-demo/AndroidGPSTracking/bin/resources.ap_ | Bin 10818 -> 0 bytes .../gps-demo/AndroidGPSTracking/default.properties | 2 - .../gen/com/example/gpstracking/BuildConfig.java | 6 - .../gen/com/example/gpstracking/R.java | 26 --- client/gps-demo/AndroidGPSTracking/proguard.cfg | 40 ---- .../gps-demo/AndroidGPSTracking/project.properties | 11 - .../res/drawable-hdpi/ic_launcher.png | Bin 10224 -> 0 bytes .../res/drawable-ldpi/ic_launcher.png | Bin 10224 -> 0 bytes .../res/drawable-mdpi/ic_launcher.png | Bin 10224 -> 0 bytes .../res/drawable-xhdpi/ic_launcher.png | Bin 10224 -> 0 bytes .../AndroidGPSTracking/res/layout/main.xml | 14 -- .../AndroidGPSTracking/res/values/strings.xml | 7 - .../gpstracking/AndroidGPSTrackingActivity.java | 50 ----- .../src/com/example/gpstracking/GPSTracker.java | 200 ----------------- .../src/com/example/gpstracking/Tracker.java | 33 --- features | 18 -- gen/com/macaroon/piztor/BuildConfig.java | 6 + gen/com/macaroon/piztor/R.java | 164 ++++++++++++++ ic_launcher-web.png | Bin 0 -> 130248 bytes libs/android-support-v4.jar | Bin 0 -> 556198 bytes misc/client/Piztor/.classpath | 9 + misc/client/Piztor/.project | 33 +++ .../Piztor/.settings/org.eclipse.jdt.core.prefs | 4 + misc/client/Piztor/AndroidManifest.xml | 36 +++ misc/client/Piztor/bin/AndroidManifest.xml | 36 +++ .../bin/classes/com/macaroon/piztor/ActMgr.class | Bin 0 -> 2616 bytes .../classes/com/macaroon/piztor/ActStatus.class | Bin 0 -> 328 bytes .../macaroon/piztor/AppMgr$ActivityStatus.class | Bin 0 -> 1412 bytes .../bin/classes/com/macaroon/piztor/AppMgr.class | Bin 0 -> 2846 bytes .../classes/com/macaroon/piztor/BuildConfig.class | Bin 0 -> 347 bytes .../classes/com/macaroon/piztor/EmptyStatus.class | Bin 0 -> 471 bytes .../bin/classes/com/macaroon/piztor/InitAct.class | Bin 0 -> 804 bytes .../classes/com/macaroon/piztor/PiztorAct.class | Bin 0 -> 2205 bytes .../bin/classes/com/macaroon/piztor/R$attr.class | Bin 0 -> 343 bytes .../bin/classes/com/macaroon/piztor/R$dimen.class | Bin 0 -> 464 bytes .../classes/com/macaroon/piztor/R$drawable.class | Bin 0 -> 410 bytes .../bin/classes/com/macaroon/piztor/R$id.class | Bin 0 -> 396 bytes .../bin/classes/com/macaroon/piztor/R$layout.class | Bin 0 -> 406 bytes .../bin/classes/com/macaroon/piztor/R$menu.class | Bin 0 -> 419 bytes .../bin/classes/com/macaroon/piztor/R$string.class | Bin 0 -> 518 bytes .../bin/classes/com/macaroon/piztor/R$style.class | Bin 0 -> 434 bytes .../Piztor/bin/classes/com/macaroon/piztor/R.class | Bin 0 -> 683 bytes .../gen/com/macaroon/piztor/BuildConfig.java | 6 + misc/client/Piztor/gen/com/macaroon/piztor/R.java | 70 ++++++ misc/client/Piztor/ic_launcher-web.png | Bin 0 -> 51394 bytes misc/client/Piztor/libs/android-support-v4.jar | Bin 0 -> 556198 bytes misc/client/Piztor/proguard-project.txt | 20 ++ misc/client/Piztor/project.properties | 14 ++ .../Piztor/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 7658 bytes .../Piztor/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 3777 bytes .../Piztor/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 12516 bytes .../Piztor/res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 24777 bytes misc/client/Piztor/res/layout/activity_init.xml | 16 ++ misc/client/Piztor/res/menu/init.xml | 9 + misc/client/Piztor/res/menu/main.xml | 9 + misc/client/Piztor/res/values-sw600dp/dimens.xml | 8 + .../Piztor/res/values-sw720dp-land/dimens.xml | 9 + misc/client/Piztor/res/values-v11/styles.xml | 11 + misc/client/Piztor/res/values-v14/styles.xml | 12 + misc/client/Piztor/res/values/dimens.xml | 7 + misc/client/Piztor/res/values/strings.xml | 9 + misc/client/Piztor/res/values/styles.xml | 20 ++ .../Piztor/src/com/macaroon/piztor/ActMgr.java | 63 ++++++ .../Piztor/src/com/macaroon/piztor/AppMgr.java | 62 ++++++ .../Piztor/src/com/macaroon/piztor/InitAct.java | 22 ++ .../Piztor/src/com/macaroon/piztor/PiztorAct.java | 60 +++++ misc/client/README.rst | 1 + misc/client/Socket-demo/Login.java | 6 + misc/client/Socket-demo/MainActivity.java | 44 ++++ misc/client/Socket-demo/Myrequest.java | 10 + misc/client/Socket-demo/Myrespond.java | 12 + misc/client/Socket-demo/SocketClient.java | 107 +++++++++ misc/client/Socket-demo/Transam.java | 125 +++++++++++ .../AndroidGPSTracking/.AndroidManifest.xml.swp | Bin 0 -> 12288 bytes misc/client/gps-demo/AndroidGPSTracking/.classpath | 9 + misc/client/gps-demo/AndroidGPSTracking/.project | 33 +++ .../.settings/org.eclipse.jdt.core.prefs | 4 + .../AndroidGPSTracking/AndroidManifest.xml | 26 +++ .../AndroidGPSTracking/bin/AndroidGPSTracking.apk | Bin 0 -> 16993 bytes .../AndroidGPSTracking/bin/AndroidManifest.xml | 26 +++ .../gps-demo/AndroidGPSTracking/bin/classes.dex | Bin 0 -> 9188 bytes .../gpstracking/AndroidGPSTrackingActivity$1.class | Bin 0 -> 1809 bytes .../gpstracking/AndroidGPSTrackingActivity.class | Bin 0 -> 1119 bytes .../com/example/gpstracking/BuildConfig.class | Bin 0 -> 355 bytes .../com/example/gpstracking/GPSTracker$1.class | Bin 0 -> 1206 bytes .../com/example/gpstracking/GPSTracker$2.class | Bin 0 -> 879 bytes .../com/example/gpstracking/GPSTracker.class | Bin 0 -> 4488 bytes .../classes/com/example/gpstracking/R$attr.class | Bin 0 -> 355 bytes .../com/example/gpstracking/R$drawable.class | Bin 0 -> 422 bytes .../bin/classes/com/example/gpstracking/R$id.class | Bin 0 -> 408 bytes .../classes/com/example/gpstracking/R$layout.class | Bin 0 -> 409 bytes .../classes/com/example/gpstracking/R$string.class | Bin 0 -> 442 bytes .../bin/classes/com/example/gpstracking/R.class | Bin 0 -> 566 bytes ...nnotations-5b022f4578500e25e3bfa446659bd7d8.jar | Bin 0 -> 943 bytes .../gps-demo/AndroidGPSTracking/bin/jarlist.cache | 3 + .../bin/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 3966 bytes .../bin/res/drawable-ldpi/ic_launcher.png | Bin 0 -> 1537 bytes .../bin/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 2200 bytes .../gps-demo/AndroidGPSTracking/bin/resources.ap_ | Bin 0 -> 10818 bytes .../gps-demo/AndroidGPSTracking/default.properties | 2 + .../gen/com/example/gpstracking/BuildConfig.java | 6 + .../gen/com/example/gpstracking/R.java | 26 +++ .../gps-demo/AndroidGPSTracking/proguard.cfg | 40 ++++ .../gps-demo/AndroidGPSTracking/project.properties | 11 + .../res/drawable-hdpi/ic_launcher.png | Bin 0 -> 10224 bytes .../res/drawable-ldpi/ic_launcher.png | Bin 0 -> 10224 bytes .../res/drawable-mdpi/ic_launcher.png | Bin 0 -> 10224 bytes .../res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 10224 bytes .../AndroidGPSTracking/res/layout/main.xml | 14 ++ .../AndroidGPSTracking/res/values/strings.xml | 7 + .../gpstracking/AndroidGPSTrackingActivity.java | 50 +++++ .../src/com/example/gpstracking/GPSTracker.java | 200 +++++++++++++++++ .../src/com/example/gpstracking/Tracker.java | 33 +++ misc/features | 18 ++ misc/preview.jpg | Bin 0 -> 305791 bytes misc/schedule.rst | 21 ++ misc/server/README.rst | 1 + misc/server/client.py | 58 +++++ misc/server/piztor/exc.py | 17 ++ misc/server/piztor/import.py | 44 ++++ misc/server/piztor/model.py | 79 +++++++ misc/server/piztor_server.py | 234 ++++++++++++++++++++ misc/server/ptp.rst | 96 ++++++++ misc/server/rush.py | 14 ++ preview.jpg | Bin 305791 -> 0 bytes proguard-project.txt | 20 ++ project.properties | 14 ++ res/drawable-hdpi/ic_launcher.png | Bin 0 -> 6165 bytes res/drawable-mdpi/ic_launcher.png | Bin 0 -> 3245 bytes res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 9545 bytes res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 17793 bytes res/drawable/bottom_img.png | Bin 0 -> 525331 bytes res/drawable/footbar_background.png | Bin 0 -> 23943 bytes res/drawable/footbar_btn_checkin_style.xml | 7 + res/drawable/footbar_btn_fetch_style.xml | 6 + res/drawable/footbar_btn_focus_style.xml | 6 + res/drawable/footbar_btn_search_style.xml | 6 + res/drawable/footbar_btn_settings_style.xml | 6 + res/drawable/footbar_checkin.png | Bin 0 -> 468 bytes res/drawable/footbar_checkin_1.png | Bin 0 -> 3371 bytes res/drawable/footbar_fetch.png | Bin 0 -> 2541 bytes res/drawable/footbar_fetch_1.png | Bin 0 -> 3093 bytes res/drawable/footbar_marker.png | Bin 0 -> 1866 bytes res/drawable/footbar_marker_1.png | Bin 0 -> 3288 bytes res/drawable/footbar_search.png | Bin 0 -> 2127 bytes res/drawable/footbar_search_1.png | Bin 0 -> 3589 bytes res/drawable/footbar_select_bg.png | Bin 0 -> 8919 bytes res/drawable/footbar_settings.png | Bin 0 -> 1372 bytes res/drawable/footbar_settings_1.png | Bin 0 -> 3442 bytes res/drawable/footbar_unselect_bg.png | Bin 0 -> 165 bytes res/drawable/horizontal_line.png | Bin 0 -> 796 bytes res/drawable/navigation_back.png | Bin 0 -> 1324 bytes res/drawable/navigation_back_1.png | Bin 0 -> 401 bytes res/drawable/title_logo.png | Bin 0 -> 1031640 bytes res/drawable/topbar_background.png | Bin 0 -> 23763 bytes res/layout/activity_gather.xml | 23 ++ res/layout/activity_init.xml | 16 ++ res/layout/activity_login.xml | 92 ++++++++ res/layout/activity_main.xml | 23 ++ res/layout/activity_setting.xml | 149 +++++++++++++ res/layout/activity_settings.xml | 149 +++++++++++++ res/layout/gather_footbar.xml | 133 ++++++++++++ res/layout/gather_timer.xml | 16 ++ res/layout/login_bottom.xml | 13 ++ res/layout/main_footbar.xml | 107 +++++++++ res/layout/main_headbar.xml | 29 +++ res/layout/settings_headbar.xml | 29 +++ res/menu/init.xml | 9 + res/menu/login.xml | 9 + res/menu/main.xml | 9 + res/menu/setting.xml | 9 + res/values-sw600dp/dimens.xml | 8 + res/values-sw720dp-land/dimens.xml | 9 + res/values-v11/styles.xml | 11 + res/values-v14/styles.xml | 12 + res/values/dimens.xml | 7 + res/values/strings.xml | 21 ++ res/values/styles.xml | 20 ++ schedule.rst | 21 -- server/README.rst | 1 - server/client.py | 58 ----- server/piztor/exc.py | 17 -- server/piztor/import.py | 44 ---- server/piztor/model.py | 79 ------- server/piztor_server.py | 234 -------------------- server/ptp.rst | 96 -------- server/rush.py | 14 -- src/com/macaroon/piztor/ActMgr.java | 62 ++++++ src/com/macaroon/piztor/AppMgr.java | 89 ++++++++ src/com/macaroon/piztor/GPSTracker.java | 241 +++++++++++++++++++++ src/com/macaroon/piztor/InitAct.java | 34 +++ src/com/macaroon/piztor/Login.java | 104 +++++++++ src/com/macaroon/piztor/Main.java | 51 +++++ src/com/macaroon/piztor/PiztorAct.java | 60 +++++ src/com/macaroon/piztor/PiztorExcepiton.java | 10 + src/com/macaroon/piztor/Req.java | 14 ++ src/com/macaroon/piztor/ReqLocation.java | 14 ++ src/com/macaroon/piztor/ReqLogin.java | 16 ++ src/com/macaroon/piztor/ReqUpdate.java | 16 ++ src/com/macaroon/piztor/Res.java | 11 + src/com/macaroon/piztor/ResLocation.java | 18 ++ src/com/macaroon/piztor/ResLogin.java | 15 ++ src/com/macaroon/piztor/ResUpdate.java | 13 ++ src/com/macaroon/piztor/Rlocation.java | 13 ++ src/com/macaroon/piztor/Setting.java | 22 ++ src/com/macaroon/piztor/SocketClient.java | 107 +++++++++ src/com/macaroon/piztor/Tracker.java | 68 ++++++ src/com/macaroon/piztor/Transam.java | 139 ++++++++++++ src/com/macaroon/piztor/UserInfo.java | 7 + 368 files changed, 4317 insertions(+), 1922 deletions(-) create mode 100644 .classpath create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 AndroidManifest.xml create mode 100644 bin/AndroidManifest.xml create mode 100644 bin/Piztor.apk create mode 100644 bin/classes.dex create mode 100644 bin/classes/com/macaroon/piztor/ActMgr.class create mode 100644 bin/classes/com/macaroon/piztor/ActStatus.class create mode 100644 bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class create mode 100644 bin/classes/com/macaroon/piztor/AppMgr.class create mode 100644 bin/classes/com/macaroon/piztor/BuildConfig.class create mode 100644 bin/classes/com/macaroon/piztor/ClassCannotFind.class create mode 100644 bin/classes/com/macaroon/piztor/EmptyStatus.class create mode 100644 bin/classes/com/macaroon/piztor/GPSTracker$1.class create mode 100644 bin/classes/com/macaroon/piztor/GPSTracker$2.class create mode 100644 bin/classes/com/macaroon/piztor/GPSTracker.class create mode 100644 bin/classes/com/macaroon/piztor/InitAct.class create mode 100644 bin/classes/com/macaroon/piztor/Login$1.class create mode 100644 bin/classes/com/macaroon/piztor/Login$2.class create mode 100644 bin/classes/com/macaroon/piztor/Login$LoginStatus.class create mode 100644 bin/classes/com/macaroon/piztor/Login$StartStatus.class create mode 100644 bin/classes/com/macaroon/piztor/Login.class create mode 100644 bin/classes/com/macaroon/piztor/Main$1.class create mode 100644 bin/classes/com/macaroon/piztor/Main.class create mode 100644 bin/classes/com/macaroon/piztor/PiztorAct.class create mode 100644 bin/classes/com/macaroon/piztor/PiztorExcepiton.class create mode 100644 bin/classes/com/macaroon/piztor/R$attr.class create mode 100644 bin/classes/com/macaroon/piztor/R$dimen.class create mode 100644 bin/classes/com/macaroon/piztor/R$drawable.class create mode 100644 bin/classes/com/macaroon/piztor/R$id.class create mode 100644 bin/classes/com/macaroon/piztor/R$layout.class create mode 100644 bin/classes/com/macaroon/piztor/R$menu.class create mode 100644 bin/classes/com/macaroon/piztor/R$string.class create mode 100644 bin/classes/com/macaroon/piztor/R$style.class create mode 100644 bin/classes/com/macaroon/piztor/R.class create mode 100644 bin/classes/com/macaroon/piztor/Req.class create mode 100644 bin/classes/com/macaroon/piztor/ReqLocation.class create mode 100644 bin/classes/com/macaroon/piztor/ReqLogin.class create mode 100644 bin/classes/com/macaroon/piztor/ReqUpdate.class create mode 100644 bin/classes/com/macaroon/piztor/Res.class create mode 100644 bin/classes/com/macaroon/piztor/ResLocation.class create mode 100644 bin/classes/com/macaroon/piztor/ResLogin.class create mode 100644 bin/classes/com/macaroon/piztor/ResUpdate.class create mode 100644 bin/classes/com/macaroon/piztor/Rlocation.class create mode 100644 bin/classes/com/macaroon/piztor/Setting.class create mode 100644 bin/classes/com/macaroon/piztor/SocketClient.class create mode 100644 bin/classes/com/macaroon/piztor/Tracker$GPSTask.class create mode 100644 bin/classes/com/macaroon/piztor/Tracker.class create mode 100644 bin/classes/com/macaroon/piztor/Transam$1.class create mode 100644 bin/classes/com/macaroon/piztor/Transam$Timertk.class create mode 100644 bin/classes/com/macaroon/piztor/Transam$thd.class create mode 100644 bin/classes/com/macaroon/piztor/Transam$tmain.class create mode 100644 bin/classes/com/macaroon/piztor/Transam.class create mode 100644 bin/classes/com/macaroon/piztor/UserInfo.class create mode 100644 bin/dexedLibs/android-support-v4-7d1c360a45ec8a3e1ddee5ade49de497.jar create mode 100644 bin/jarlist.cache create mode 100644 bin/res/drawable-hdpi/ic_launcher.png create mode 100644 bin/res/drawable-mdpi/ic_launcher.png create mode 100644 bin/res/drawable-xhdpi/ic_launcher.png create mode 100644 bin/res/drawable-xxhdpi/ic_launcher.png create mode 100644 bin/res/drawable/bottom_img.png create mode 100644 bin/res/drawable/footbar_background.png create mode 100644 bin/res/drawable/footbar_checkin.png create mode 100644 bin/res/drawable/footbar_checkin_1.png create mode 100644 bin/res/drawable/footbar_fetch.png create mode 100644 bin/res/drawable/footbar_fetch_1.png create mode 100644 bin/res/drawable/footbar_marker.png create mode 100644 bin/res/drawable/footbar_marker_1.png create mode 100644 bin/res/drawable/footbar_search.png create mode 100644 bin/res/drawable/footbar_search_1.png create mode 100644 bin/res/drawable/footbar_select_bg.png create mode 100644 bin/res/drawable/footbar_settings.png create mode 100644 bin/res/drawable/footbar_settings_1.png create mode 100644 bin/res/drawable/footbar_unselect_bg.png create mode 100644 bin/res/drawable/horizontal_line.png create mode 100644 bin/res/drawable/navigation_back.png create mode 100644 bin/res/drawable/navigation_back_1.png create mode 100644 bin/res/drawable/title_logo.png create mode 100644 bin/res/drawable/topbar_background.png create mode 100644 bin/resources.ap_ delete mode 100644 client/Piztor/.classpath delete mode 100644 client/Piztor/.project delete mode 100644 client/Piztor/.settings/org.eclipse.jdt.core.prefs delete mode 100644 client/Piztor/AndroidManifest.xml delete mode 100644 client/Piztor/bin/AndroidManifest.xml delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/ActMgr.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/ActStatus.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/AppMgr.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/BuildConfig.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/EmptyStatus.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/InitAct.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/PiztorAct.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$attr.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$dimen.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$drawable.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$id.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$layout.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$menu.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$string.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R$style.class delete mode 100644 client/Piztor/bin/classes/com/macaroon/piztor/R.class delete mode 100644 client/Piztor/gen/com/macaroon/piztor/BuildConfig.java delete mode 100644 client/Piztor/gen/com/macaroon/piztor/R.java delete mode 100644 client/Piztor/ic_launcher-web.png delete mode 100644 client/Piztor/libs/android-support-v4.jar delete mode 100644 client/Piztor/proguard-project.txt delete mode 100644 client/Piztor/project.properties delete mode 100644 client/Piztor/res/drawable-hdpi/ic_launcher.png delete mode 100644 client/Piztor/res/drawable-mdpi/ic_launcher.png delete mode 100644 client/Piztor/res/drawable-xhdpi/ic_launcher.png delete mode 100644 client/Piztor/res/drawable-xxhdpi/ic_launcher.png delete mode 100644 client/Piztor/res/layout/activity_init.xml delete mode 100644 client/Piztor/res/menu/init.xml delete mode 100644 client/Piztor/res/menu/main.xml delete mode 100644 client/Piztor/res/values-sw600dp/dimens.xml delete mode 100644 client/Piztor/res/values-sw720dp-land/dimens.xml delete mode 100644 client/Piztor/res/values-v11/styles.xml delete mode 100644 client/Piztor/res/values-v14/styles.xml delete mode 100644 client/Piztor/res/values/dimens.xml delete mode 100644 client/Piztor/res/values/strings.xml delete mode 100644 client/Piztor/res/values/styles.xml delete mode 100644 client/Piztor/src/com/macaroon/piztor/ActMgr.java delete mode 100644 client/Piztor/src/com/macaroon/piztor/AppMgr.java delete mode 100644 client/Piztor/src/com/macaroon/piztor/InitAct.java delete mode 100644 client/Piztor/src/com/macaroon/piztor/PiztorAct.java delete mode 100644 client/README.rst delete mode 100644 client/Socket-demo/Login.java delete mode 100644 client/Socket-demo/MainActivity.java delete mode 100644 client/Socket-demo/Myrequest.java delete mode 100644 client/Socket-demo/Myrespond.java delete mode 100644 client/Socket-demo/SocketClient.java delete mode 100644 client/Socket-demo/Transam.java delete mode 100644 client/gps-demo/AndroidGPSTracking/.AndroidManifest.xml.swp delete mode 100644 client/gps-demo/AndroidGPSTracking/.classpath delete mode 100644 client/gps-demo/AndroidGPSTracking/.project delete mode 100644 client/gps-demo/AndroidGPSTracking/.settings/org.eclipse.jdt.core.prefs delete mode 100644 client/gps-demo/AndroidGPSTracking/AndroidManifest.xml delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/AndroidGPSTracking.apk delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/AndroidManifest.xml delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes.dex delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity$1.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/BuildConfig.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$1.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$2.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$attr.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$drawable.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$id.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$layout.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$string.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R.class delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/dexedLibs/annotations-5b022f4578500e25e3bfa446659bd7d8.jar delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/jarlist.cache delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/res/drawable-hdpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/res/drawable-ldpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/res/drawable-mdpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/bin/resources.ap_ delete mode 100644 client/gps-demo/AndroidGPSTracking/default.properties delete mode 100644 client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/BuildConfig.java delete mode 100644 client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/R.java delete mode 100644 client/gps-demo/AndroidGPSTracking/proguard.cfg delete mode 100644 client/gps-demo/AndroidGPSTracking/project.properties delete mode 100644 client/gps-demo/AndroidGPSTracking/res/drawable-hdpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/res/drawable-ldpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/res/drawable-mdpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/res/drawable-xhdpi/ic_launcher.png delete mode 100644 client/gps-demo/AndroidGPSTracking/res/layout/main.xml delete mode 100644 client/gps-demo/AndroidGPSTracking/res/values/strings.xml delete mode 100644 client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/AndroidGPSTrackingActivity.java delete mode 100644 client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/GPSTracker.java delete mode 100644 client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/Tracker.java delete mode 100644 features create mode 100644 gen/com/macaroon/piztor/BuildConfig.java create mode 100644 gen/com/macaroon/piztor/R.java create mode 100644 ic_launcher-web.png create mode 100644 libs/android-support-v4.jar create mode 100644 misc/client/Piztor/.classpath create mode 100644 misc/client/Piztor/.project create mode 100644 misc/client/Piztor/.settings/org.eclipse.jdt.core.prefs create mode 100644 misc/client/Piztor/AndroidManifest.xml create mode 100644 misc/client/Piztor/bin/AndroidManifest.xml create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/ActMgr.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/ActStatus.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/BuildConfig.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/EmptyStatus.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/InitAct.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/PiztorAct.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$attr.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$dimen.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$drawable.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$id.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$layout.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$menu.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$string.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R$style.class create mode 100644 misc/client/Piztor/bin/classes/com/macaroon/piztor/R.class create mode 100644 misc/client/Piztor/gen/com/macaroon/piztor/BuildConfig.java create mode 100644 misc/client/Piztor/gen/com/macaroon/piztor/R.java create mode 100644 misc/client/Piztor/ic_launcher-web.png create mode 100644 misc/client/Piztor/libs/android-support-v4.jar create mode 100644 misc/client/Piztor/proguard-project.txt create mode 100644 misc/client/Piztor/project.properties create mode 100644 misc/client/Piztor/res/drawable-hdpi/ic_launcher.png create mode 100644 misc/client/Piztor/res/drawable-mdpi/ic_launcher.png create mode 100644 misc/client/Piztor/res/drawable-xhdpi/ic_launcher.png create mode 100644 misc/client/Piztor/res/drawable-xxhdpi/ic_launcher.png create mode 100644 misc/client/Piztor/res/layout/activity_init.xml create mode 100644 misc/client/Piztor/res/menu/init.xml create mode 100644 misc/client/Piztor/res/menu/main.xml create mode 100644 misc/client/Piztor/res/values-sw600dp/dimens.xml create mode 100644 misc/client/Piztor/res/values-sw720dp-land/dimens.xml create mode 100644 misc/client/Piztor/res/values-v11/styles.xml create mode 100644 misc/client/Piztor/res/values-v14/styles.xml create mode 100644 misc/client/Piztor/res/values/dimens.xml create mode 100644 misc/client/Piztor/res/values/strings.xml create mode 100644 misc/client/Piztor/res/values/styles.xml create mode 100644 misc/client/Piztor/src/com/macaroon/piztor/ActMgr.java create mode 100644 misc/client/Piztor/src/com/macaroon/piztor/AppMgr.java create mode 100644 misc/client/Piztor/src/com/macaroon/piztor/InitAct.java create mode 100644 misc/client/Piztor/src/com/macaroon/piztor/PiztorAct.java create mode 100644 misc/client/README.rst create mode 100644 misc/client/Socket-demo/Login.java create mode 100644 misc/client/Socket-demo/MainActivity.java create mode 100644 misc/client/Socket-demo/Myrequest.java create mode 100644 misc/client/Socket-demo/Myrespond.java create mode 100644 misc/client/Socket-demo/SocketClient.java create mode 100644 misc/client/Socket-demo/Transam.java create mode 100644 misc/client/gps-demo/AndroidGPSTracking/.AndroidManifest.xml.swp create mode 100644 misc/client/gps-demo/AndroidGPSTracking/.classpath create mode 100644 misc/client/gps-demo/AndroidGPSTracking/.project create mode 100644 misc/client/gps-demo/AndroidGPSTracking/.settings/org.eclipse.jdt.core.prefs create mode 100644 misc/client/gps-demo/AndroidGPSTracking/AndroidManifest.xml create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/AndroidGPSTracking.apk create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/AndroidManifest.xml create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes.dex create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity$1.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/BuildConfig.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$1.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$2.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$attr.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$drawable.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$id.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$layout.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$string.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R.class create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/dexedLibs/annotations-5b022f4578500e25e3bfa446659bd7d8.jar create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/jarlist.cache create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/res/drawable-hdpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/res/drawable-ldpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/res/drawable-mdpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/bin/resources.ap_ create mode 100644 misc/client/gps-demo/AndroidGPSTracking/default.properties create mode 100644 misc/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/BuildConfig.java create mode 100644 misc/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/R.java create mode 100644 misc/client/gps-demo/AndroidGPSTracking/proguard.cfg create mode 100644 misc/client/gps-demo/AndroidGPSTracking/project.properties create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/drawable-hdpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/drawable-ldpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/drawable-mdpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/drawable-xhdpi/ic_launcher.png create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/layout/main.xml create mode 100644 misc/client/gps-demo/AndroidGPSTracking/res/values/strings.xml create mode 100644 misc/client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/AndroidGPSTrackingActivity.java create mode 100644 misc/client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/GPSTracker.java create mode 100644 misc/client/gps-demo/AndroidGPSTracking/src/com/example/gpstracking/Tracker.java create mode 100644 misc/features create mode 100644 misc/preview.jpg create mode 100644 misc/schedule.rst create mode 100644 misc/server/README.rst create mode 100644 misc/server/client.py create mode 100644 misc/server/piztor/exc.py create mode 100644 misc/server/piztor/import.py create mode 100644 misc/server/piztor/model.py create mode 100644 misc/server/piztor_server.py create mode 100644 misc/server/ptp.rst create mode 100644 misc/server/rush.py delete mode 100644 preview.jpg create mode 100644 proguard-project.txt create mode 100644 project.properties create mode 100644 res/drawable-hdpi/ic_launcher.png create mode 100644 res/drawable-mdpi/ic_launcher.png create mode 100644 res/drawable-xhdpi/ic_launcher.png create mode 100644 res/drawable-xxhdpi/ic_launcher.png create mode 100644 res/drawable/bottom_img.png create mode 100644 res/drawable/footbar_background.png create mode 100644 res/drawable/footbar_btn_checkin_style.xml create mode 100644 res/drawable/footbar_btn_fetch_style.xml create mode 100644 res/drawable/footbar_btn_focus_style.xml create mode 100644 res/drawable/footbar_btn_search_style.xml create mode 100644 res/drawable/footbar_btn_settings_style.xml create mode 100644 res/drawable/footbar_checkin.png create mode 100644 res/drawable/footbar_checkin_1.png create mode 100644 res/drawable/footbar_fetch.png create mode 100644 res/drawable/footbar_fetch_1.png create mode 100644 res/drawable/footbar_marker.png create mode 100644 res/drawable/footbar_marker_1.png create mode 100644 res/drawable/footbar_search.png create mode 100644 res/drawable/footbar_search_1.png create mode 100644 res/drawable/footbar_select_bg.png create mode 100644 res/drawable/footbar_settings.png create mode 100644 res/drawable/footbar_settings_1.png create mode 100644 res/drawable/footbar_unselect_bg.png create mode 100644 res/drawable/horizontal_line.png create mode 100644 res/drawable/navigation_back.png create mode 100644 res/drawable/navigation_back_1.png create mode 100644 res/drawable/title_logo.png create mode 100644 res/drawable/topbar_background.png create mode 100644 res/layout/activity_gather.xml create mode 100644 res/layout/activity_init.xml create mode 100644 res/layout/activity_login.xml create mode 100644 res/layout/activity_main.xml create mode 100644 res/layout/activity_setting.xml create mode 100644 res/layout/activity_settings.xml create mode 100644 res/layout/gather_footbar.xml create mode 100644 res/layout/gather_timer.xml create mode 100644 res/layout/login_bottom.xml create mode 100644 res/layout/main_footbar.xml create mode 100644 res/layout/main_headbar.xml create mode 100644 res/layout/settings_headbar.xml create mode 100644 res/menu/init.xml create mode 100644 res/menu/login.xml create mode 100644 res/menu/main.xml create mode 100644 res/menu/setting.xml create mode 100644 res/values-sw600dp/dimens.xml create mode 100644 res/values-sw720dp-land/dimens.xml create mode 100644 res/values-v11/styles.xml create mode 100644 res/values-v14/styles.xml create mode 100644 res/values/dimens.xml create mode 100644 res/values/strings.xml create mode 100644 res/values/styles.xml delete mode 100644 schedule.rst delete mode 100644 server/README.rst delete mode 100644 server/client.py delete mode 100644 server/piztor/exc.py delete mode 100644 server/piztor/import.py delete mode 100644 server/piztor/model.py delete mode 100644 server/piztor_server.py delete mode 100644 server/ptp.rst delete mode 100644 server/rush.py create mode 100644 src/com/macaroon/piztor/ActMgr.java create mode 100644 src/com/macaroon/piztor/AppMgr.java create mode 100644 src/com/macaroon/piztor/GPSTracker.java create mode 100644 src/com/macaroon/piztor/InitAct.java create mode 100644 src/com/macaroon/piztor/Login.java create mode 100644 src/com/macaroon/piztor/Main.java create mode 100644 src/com/macaroon/piztor/PiztorAct.java create mode 100644 src/com/macaroon/piztor/PiztorExcepiton.java create mode 100644 src/com/macaroon/piztor/Req.java create mode 100644 src/com/macaroon/piztor/ReqLocation.java create mode 100644 src/com/macaroon/piztor/ReqLogin.java create mode 100644 src/com/macaroon/piztor/ReqUpdate.java create mode 100644 src/com/macaroon/piztor/Res.java create mode 100644 src/com/macaroon/piztor/ResLocation.java create mode 100644 src/com/macaroon/piztor/ResLogin.java create mode 100644 src/com/macaroon/piztor/ResUpdate.java create mode 100644 src/com/macaroon/piztor/Rlocation.java create mode 100644 src/com/macaroon/piztor/Setting.java create mode 100644 src/com/macaroon/piztor/SocketClient.java create mode 100644 src/com/macaroon/piztor/Tracker.java create mode 100644 src/com/macaroon/piztor/Transam.java create mode 100644 src/com/macaroon/piztor/UserInfo.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..7bc01d9 --- /dev/null +++ b/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..97100ec --- /dev/null +++ b/.project @@ -0,0 +1,33 @@ + + + Piztor + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b080d2d --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..b18d8e2 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml new file mode 100644 index 0000000..b18d8e2 --- /dev/null +++ b/bin/AndroidManifest.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/Piztor.apk b/bin/Piztor.apk new file mode 100644 index 0000000..0f2501f Binary files /dev/null and b/bin/Piztor.apk differ diff --git a/bin/classes.dex b/bin/classes.dex new file mode 100644 index 0000000..5380f3b Binary files /dev/null and b/bin/classes.dex differ diff --git a/bin/classes/com/macaroon/piztor/ActMgr.class b/bin/classes/com/macaroon/piztor/ActMgr.class new file mode 100644 index 0000000..a219c2d Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ActMgr.class differ diff --git a/bin/classes/com/macaroon/piztor/ActStatus.class b/bin/classes/com/macaroon/piztor/ActStatus.class new file mode 100644 index 0000000..296a7d5 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ActStatus.class differ diff --git a/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class b/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class new file mode 100644 index 0000000..f11e546 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class differ diff --git a/bin/classes/com/macaroon/piztor/AppMgr.class b/bin/classes/com/macaroon/piztor/AppMgr.class new file mode 100644 index 0000000..61aa240 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/AppMgr.class differ diff --git a/bin/classes/com/macaroon/piztor/BuildConfig.class b/bin/classes/com/macaroon/piztor/BuildConfig.class new file mode 100644 index 0000000..566eb01 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/BuildConfig.class differ diff --git a/bin/classes/com/macaroon/piztor/ClassCannotFind.class b/bin/classes/com/macaroon/piztor/ClassCannotFind.class new file mode 100644 index 0000000..5483510 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ClassCannotFind.class differ diff --git a/bin/classes/com/macaroon/piztor/EmptyStatus.class b/bin/classes/com/macaroon/piztor/EmptyStatus.class new file mode 100644 index 0000000..8b48ad5 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/EmptyStatus.class differ diff --git a/bin/classes/com/macaroon/piztor/GPSTracker$1.class b/bin/classes/com/macaroon/piztor/GPSTracker$1.class new file mode 100644 index 0000000..084d23b Binary files /dev/null and b/bin/classes/com/macaroon/piztor/GPSTracker$1.class differ diff --git a/bin/classes/com/macaroon/piztor/GPSTracker$2.class b/bin/classes/com/macaroon/piztor/GPSTracker$2.class new file mode 100644 index 0000000..b646e44 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/GPSTracker$2.class differ diff --git a/bin/classes/com/macaroon/piztor/GPSTracker.class b/bin/classes/com/macaroon/piztor/GPSTracker.class new file mode 100644 index 0000000..3ac1723 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/GPSTracker.class differ diff --git a/bin/classes/com/macaroon/piztor/InitAct.class b/bin/classes/com/macaroon/piztor/InitAct.class new file mode 100644 index 0000000..d03ee93 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/InitAct.class differ diff --git a/bin/classes/com/macaroon/piztor/Login$1.class b/bin/classes/com/macaroon/piztor/Login$1.class new file mode 100644 index 0000000..f50ba38 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Login$1.class differ diff --git a/bin/classes/com/macaroon/piztor/Login$2.class b/bin/classes/com/macaroon/piztor/Login$2.class new file mode 100644 index 0000000..3f2fd55 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Login$2.class differ diff --git a/bin/classes/com/macaroon/piztor/Login$LoginStatus.class b/bin/classes/com/macaroon/piztor/Login$LoginStatus.class new file mode 100644 index 0000000..9541a88 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Login$LoginStatus.class differ diff --git a/bin/classes/com/macaroon/piztor/Login$StartStatus.class b/bin/classes/com/macaroon/piztor/Login$StartStatus.class new file mode 100644 index 0000000..b32b989 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Login$StartStatus.class differ diff --git a/bin/classes/com/macaroon/piztor/Login.class b/bin/classes/com/macaroon/piztor/Login.class new file mode 100644 index 0000000..ae6b3a2 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Login.class differ diff --git a/bin/classes/com/macaroon/piztor/Main$1.class b/bin/classes/com/macaroon/piztor/Main$1.class new file mode 100644 index 0000000..c726600 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Main$1.class differ diff --git a/bin/classes/com/macaroon/piztor/Main.class b/bin/classes/com/macaroon/piztor/Main.class new file mode 100644 index 0000000..f0515de Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Main.class differ diff --git a/bin/classes/com/macaroon/piztor/PiztorAct.class b/bin/classes/com/macaroon/piztor/PiztorAct.class new file mode 100644 index 0000000..4a3fc81 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/PiztorAct.class differ diff --git a/bin/classes/com/macaroon/piztor/PiztorExcepiton.class b/bin/classes/com/macaroon/piztor/PiztorExcepiton.class new file mode 100644 index 0000000..bfb599b Binary files /dev/null and b/bin/classes/com/macaroon/piztor/PiztorExcepiton.class differ diff --git a/bin/classes/com/macaroon/piztor/R$attr.class b/bin/classes/com/macaroon/piztor/R$attr.class new file mode 100644 index 0000000..a95e1ab Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$attr.class differ diff --git a/bin/classes/com/macaroon/piztor/R$dimen.class b/bin/classes/com/macaroon/piztor/R$dimen.class new file mode 100644 index 0000000..4bc657f Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$dimen.class differ diff --git a/bin/classes/com/macaroon/piztor/R$drawable.class b/bin/classes/com/macaroon/piztor/R$drawable.class new file mode 100644 index 0000000..b31a626 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$drawable.class differ diff --git a/bin/classes/com/macaroon/piztor/R$id.class b/bin/classes/com/macaroon/piztor/R$id.class new file mode 100644 index 0000000..e08c969 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$id.class differ diff --git a/bin/classes/com/macaroon/piztor/R$layout.class b/bin/classes/com/macaroon/piztor/R$layout.class new file mode 100644 index 0000000..de25e3c Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$layout.class differ diff --git a/bin/classes/com/macaroon/piztor/R$menu.class b/bin/classes/com/macaroon/piztor/R$menu.class new file mode 100644 index 0000000..7f7cacb Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$menu.class differ diff --git a/bin/classes/com/macaroon/piztor/R$string.class b/bin/classes/com/macaroon/piztor/R$string.class new file mode 100644 index 0000000..65d1b80 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$string.class differ diff --git a/bin/classes/com/macaroon/piztor/R$style.class b/bin/classes/com/macaroon/piztor/R$style.class new file mode 100644 index 0000000..052dd30 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R$style.class differ diff --git a/bin/classes/com/macaroon/piztor/R.class b/bin/classes/com/macaroon/piztor/R.class new file mode 100644 index 0000000..d173856 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/R.class differ diff --git a/bin/classes/com/macaroon/piztor/Req.class b/bin/classes/com/macaroon/piztor/Req.class new file mode 100644 index 0000000..1a5fcce Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Req.class differ diff --git a/bin/classes/com/macaroon/piztor/ReqLocation.class b/bin/classes/com/macaroon/piztor/ReqLocation.class new file mode 100644 index 0000000..5b3836e Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ReqLocation.class differ diff --git a/bin/classes/com/macaroon/piztor/ReqLogin.class b/bin/classes/com/macaroon/piztor/ReqLogin.class new file mode 100644 index 0000000..8dd7e6c Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ReqLogin.class differ diff --git a/bin/classes/com/macaroon/piztor/ReqUpdate.class b/bin/classes/com/macaroon/piztor/ReqUpdate.class new file mode 100644 index 0000000..2ecc696 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ReqUpdate.class differ diff --git a/bin/classes/com/macaroon/piztor/Res.class b/bin/classes/com/macaroon/piztor/Res.class new file mode 100644 index 0000000..8f468e8 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Res.class differ diff --git a/bin/classes/com/macaroon/piztor/ResLocation.class b/bin/classes/com/macaroon/piztor/ResLocation.class new file mode 100644 index 0000000..31581a5 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ResLocation.class differ diff --git a/bin/classes/com/macaroon/piztor/ResLogin.class b/bin/classes/com/macaroon/piztor/ResLogin.class new file mode 100644 index 0000000..fff8e1a Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ResLogin.class differ diff --git a/bin/classes/com/macaroon/piztor/ResUpdate.class b/bin/classes/com/macaroon/piztor/ResUpdate.class new file mode 100644 index 0000000..5cb7c55 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/ResUpdate.class differ diff --git a/bin/classes/com/macaroon/piztor/Rlocation.class b/bin/classes/com/macaroon/piztor/Rlocation.class new file mode 100644 index 0000000..3a955e2 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Rlocation.class differ diff --git a/bin/classes/com/macaroon/piztor/Setting.class b/bin/classes/com/macaroon/piztor/Setting.class new file mode 100644 index 0000000..a5e0cd5 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Setting.class differ diff --git a/bin/classes/com/macaroon/piztor/SocketClient.class b/bin/classes/com/macaroon/piztor/SocketClient.class new file mode 100644 index 0000000..2307639 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/SocketClient.class differ diff --git a/bin/classes/com/macaroon/piztor/Tracker$GPSTask.class b/bin/classes/com/macaroon/piztor/Tracker$GPSTask.class new file mode 100644 index 0000000..a69c317 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Tracker$GPSTask.class differ diff --git a/bin/classes/com/macaroon/piztor/Tracker.class b/bin/classes/com/macaroon/piztor/Tracker.class new file mode 100644 index 0000000..e8b12d2 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Tracker.class differ diff --git a/bin/classes/com/macaroon/piztor/Transam$1.class b/bin/classes/com/macaroon/piztor/Transam$1.class new file mode 100644 index 0000000..5a3b4b9 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Transam$1.class differ diff --git a/bin/classes/com/macaroon/piztor/Transam$Timertk.class b/bin/classes/com/macaroon/piztor/Transam$Timertk.class new file mode 100644 index 0000000..dcea553 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Transam$Timertk.class differ diff --git a/bin/classes/com/macaroon/piztor/Transam$thd.class b/bin/classes/com/macaroon/piztor/Transam$thd.class new file mode 100644 index 0000000..8f0523e Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Transam$thd.class differ diff --git a/bin/classes/com/macaroon/piztor/Transam$tmain.class b/bin/classes/com/macaroon/piztor/Transam$tmain.class new file mode 100644 index 0000000..080410b Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Transam$tmain.class differ diff --git a/bin/classes/com/macaroon/piztor/Transam.class b/bin/classes/com/macaroon/piztor/Transam.class new file mode 100644 index 0000000..d9ea126 Binary files /dev/null and b/bin/classes/com/macaroon/piztor/Transam.class differ diff --git a/bin/classes/com/macaroon/piztor/UserInfo.class b/bin/classes/com/macaroon/piztor/UserInfo.class new file mode 100644 index 0000000..72b434a Binary files /dev/null and b/bin/classes/com/macaroon/piztor/UserInfo.class differ diff --git a/bin/dexedLibs/android-support-v4-7d1c360a45ec8a3e1ddee5ade49de497.jar b/bin/dexedLibs/android-support-v4-7d1c360a45ec8a3e1ddee5ade49de497.jar new file mode 100644 index 0000000..ba5b46c Binary files /dev/null and b/bin/dexedLibs/android-support-v4-7d1c360a45ec8a3e1ddee5ade49de497.jar differ diff --git a/bin/jarlist.cache b/bin/jarlist.cache new file mode 100644 index 0000000..0565465 --- /dev/null +++ b/bin/jarlist.cache @@ -0,0 +1,3 @@ +# cache for current jar dependency. DO NOT EDIT. +# format is +# Encoding is UTF-8 diff --git a/bin/res/drawable-hdpi/ic_launcher.png b/bin/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..efa7c5f Binary files /dev/null and b/bin/res/drawable-hdpi/ic_launcher.png differ diff --git a/bin/res/drawable-mdpi/ic_launcher.png b/bin/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..ec27f2e Binary files /dev/null and b/bin/res/drawable-mdpi/ic_launcher.png differ diff --git a/bin/res/drawable-xhdpi/ic_launcher.png b/bin/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..92fc57d Binary files /dev/null and b/bin/res/drawable-xhdpi/ic_launcher.png differ diff --git a/bin/res/drawable-xxhdpi/ic_launcher.png b/bin/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..b6f8f4e Binary files /dev/null and b/bin/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/bin/res/drawable/bottom_img.png b/bin/res/drawable/bottom_img.png new file mode 100644 index 0000000..ee34eb0 Binary files /dev/null and b/bin/res/drawable/bottom_img.png differ diff --git a/bin/res/drawable/footbar_background.png b/bin/res/drawable/footbar_background.png new file mode 100644 index 0000000..d0ad14f Binary files /dev/null and b/bin/res/drawable/footbar_background.png differ diff --git a/bin/res/drawable/footbar_checkin.png b/bin/res/drawable/footbar_checkin.png new file mode 100644 index 0000000..9d9ccd0 Binary files /dev/null and b/bin/res/drawable/footbar_checkin.png differ diff --git a/bin/res/drawable/footbar_checkin_1.png b/bin/res/drawable/footbar_checkin_1.png new file mode 100644 index 0000000..a14f872 Binary files /dev/null and b/bin/res/drawable/footbar_checkin_1.png differ diff --git a/bin/res/drawable/footbar_fetch.png b/bin/res/drawable/footbar_fetch.png new file mode 100644 index 0000000..a5e9bd3 Binary files /dev/null and b/bin/res/drawable/footbar_fetch.png differ diff --git a/bin/res/drawable/footbar_fetch_1.png b/bin/res/drawable/footbar_fetch_1.png new file mode 100644 index 0000000..214b712 Binary files /dev/null and b/bin/res/drawable/footbar_fetch_1.png differ diff --git a/bin/res/drawable/footbar_marker.png b/bin/res/drawable/footbar_marker.png new file mode 100644 index 0000000..e408cf8 Binary files /dev/null and b/bin/res/drawable/footbar_marker.png differ diff --git a/bin/res/drawable/footbar_marker_1.png b/bin/res/drawable/footbar_marker_1.png new file mode 100644 index 0000000..1262bda Binary files /dev/null and b/bin/res/drawable/footbar_marker_1.png differ diff --git a/bin/res/drawable/footbar_search.png b/bin/res/drawable/footbar_search.png new file mode 100644 index 0000000..1169b79 Binary files /dev/null and b/bin/res/drawable/footbar_search.png differ diff --git a/bin/res/drawable/footbar_search_1.png b/bin/res/drawable/footbar_search_1.png new file mode 100644 index 0000000..9dd9611 Binary files /dev/null and b/bin/res/drawable/footbar_search_1.png differ diff --git a/bin/res/drawable/footbar_select_bg.png b/bin/res/drawable/footbar_select_bg.png new file mode 100644 index 0000000..3de79d6 Binary files /dev/null and b/bin/res/drawable/footbar_select_bg.png differ diff --git a/bin/res/drawable/footbar_settings.png b/bin/res/drawable/footbar_settings.png new file mode 100644 index 0000000..040a673 Binary files /dev/null and b/bin/res/drawable/footbar_settings.png differ diff --git a/bin/res/drawable/footbar_settings_1.png b/bin/res/drawable/footbar_settings_1.png new file mode 100644 index 0000000..05db6fb Binary files /dev/null and b/bin/res/drawable/footbar_settings_1.png differ diff --git a/bin/res/drawable/footbar_unselect_bg.png b/bin/res/drawable/footbar_unselect_bg.png new file mode 100644 index 0000000..fe14eb2 Binary files /dev/null and b/bin/res/drawable/footbar_unselect_bg.png differ diff --git a/bin/res/drawable/horizontal_line.png b/bin/res/drawable/horizontal_line.png new file mode 100644 index 0000000..e56695f Binary files /dev/null and b/bin/res/drawable/horizontal_line.png differ diff --git a/bin/res/drawable/navigation_back.png b/bin/res/drawable/navigation_back.png new file mode 100644 index 0000000..901ba07 Binary files /dev/null and b/bin/res/drawable/navigation_back.png differ diff --git a/bin/res/drawable/navigation_back_1.png b/bin/res/drawable/navigation_back_1.png new file mode 100644 index 0000000..59f6260 Binary files /dev/null and b/bin/res/drawable/navigation_back_1.png differ diff --git a/bin/res/drawable/title_logo.png b/bin/res/drawable/title_logo.png new file mode 100644 index 0000000..d167c79 Binary files /dev/null and b/bin/res/drawable/title_logo.png differ diff --git a/bin/res/drawable/topbar_background.png b/bin/res/drawable/topbar_background.png new file mode 100644 index 0000000..851f92f Binary files /dev/null and b/bin/res/drawable/topbar_background.png differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ new file mode 100644 index 0000000..4f91148 Binary files /dev/null and b/bin/resources.ap_ differ diff --git a/client/Piztor/.classpath b/client/Piztor/.classpath deleted file mode 100644 index 7bc01d9..0000000 --- a/client/Piztor/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/client/Piztor/.project b/client/Piztor/.project deleted file mode 100644 index 97100ec..0000000 --- a/client/Piztor/.project +++ /dev/null @@ -1,33 +0,0 @@ - - - Piztor - - - - - - com.android.ide.eclipse.adt.ResourceManagerBuilder - - - - - com.android.ide.eclipse.adt.PreCompilerBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.android.ide.eclipse.adt.ApkBuilder - - - - - - com.android.ide.eclipse.adt.AndroidNature - org.eclipse.jdt.core.javanature - - diff --git a/client/Piztor/.settings/org.eclipse.jdt.core.prefs b/client/Piztor/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index b080d2d..0000000 --- a/client/Piztor/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/client/Piztor/AndroidManifest.xml b/client/Piztor/AndroidManifest.xml deleted file mode 100644 index 63cb8ff..0000000 --- a/client/Piztor/AndroidManifest.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/Piztor/bin/AndroidManifest.xml b/client/Piztor/bin/AndroidManifest.xml deleted file mode 100644 index 63cb8ff..0000000 --- a/client/Piztor/bin/AndroidManifest.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/ActMgr.class b/client/Piztor/bin/classes/com/macaroon/piztor/ActMgr.class deleted file mode 100644 index 1b1c693..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/ActMgr.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/ActStatus.class b/client/Piztor/bin/classes/com/macaroon/piztor/ActStatus.class deleted file mode 100644 index 1f3df48..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/ActStatus.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class b/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class deleted file mode 100644 index 496344b..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr$ActivityStatus.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr.class b/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr.class deleted file mode 100644 index 107bcad..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/AppMgr.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/BuildConfig.class b/client/Piztor/bin/classes/com/macaroon/piztor/BuildConfig.class deleted file mode 100644 index 566eb01..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/BuildConfig.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/EmptyStatus.class b/client/Piztor/bin/classes/com/macaroon/piztor/EmptyStatus.class deleted file mode 100644 index c656689..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/EmptyStatus.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/InitAct.class b/client/Piztor/bin/classes/com/macaroon/piztor/InitAct.class deleted file mode 100644 index 6a8e04d..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/InitAct.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/PiztorAct.class b/client/Piztor/bin/classes/com/macaroon/piztor/PiztorAct.class deleted file mode 100644 index 4a3fc81..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/PiztorAct.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$attr.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$attr.class deleted file mode 100644 index a95e1ab..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$attr.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$dimen.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$dimen.class deleted file mode 100644 index 4bc657f..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$dimen.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$drawable.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$drawable.class deleted file mode 100644 index 5444d98..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$drawable.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$id.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$id.class deleted file mode 100644 index 8577179..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$id.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$layout.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$layout.class deleted file mode 100644 index fab7556..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$layout.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$menu.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$menu.class deleted file mode 100644 index cec6e5a..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$menu.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$string.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$string.class deleted file mode 100644 index a78c834..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$string.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R$style.class b/client/Piztor/bin/classes/com/macaroon/piztor/R$style.class deleted file mode 100644 index 42ddcce..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R$style.class and /dev/null differ diff --git a/client/Piztor/bin/classes/com/macaroon/piztor/R.class b/client/Piztor/bin/classes/com/macaroon/piztor/R.class deleted file mode 100644 index d173856..0000000 Binary files a/client/Piztor/bin/classes/com/macaroon/piztor/R.class and /dev/null differ diff --git a/client/Piztor/gen/com/macaroon/piztor/BuildConfig.java b/client/Piztor/gen/com/macaroon/piztor/BuildConfig.java deleted file mode 100644 index 833e650..0000000 --- a/client/Piztor/gen/com/macaroon/piztor/BuildConfig.java +++ /dev/null @@ -1,6 +0,0 @@ -/** Automatically generated file. DO NOT MODIFY */ -package com.macaroon.piztor; - -public final class BuildConfig { - public final static boolean DEBUG = true; -} \ No newline at end of file diff --git a/client/Piztor/gen/com/macaroon/piztor/R.java b/client/Piztor/gen/com/macaroon/piztor/R.java deleted file mode 100644 index 9821c7f..0000000 --- a/client/Piztor/gen/com/macaroon/piztor/R.java +++ /dev/null @@ -1,70 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.macaroon.piztor; - -public final class R { - public static final class attr { - } - public static final class dimen { - /** Default screen margins, per the Android Design guidelines. - - Customize dimensions originally defined in res/values/dimens.xml (such as - screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. - - */ - public static final int activity_horizontal_margin=0x7f040000; - public static final int activity_vertical_margin=0x7f040001; - } - public static final class drawable { - public static final int ic_launcher=0x7f020000; - } - public static final class id { - public static final int action_settings=0x7f080000; - } - public static final class layout { - public static final int activity_init=0x7f030000; - } - public static final class menu { - public static final int init=0x7f070000; - public static final int main=0x7f070001; - } - public static final class string { - public static final int action_settings=0x7f050001; - public static final int app_name=0x7f050000; - public static final int hello_world=0x7f050002; - public static final int title_activity_init=0x7f050003; - } - public static final class style { - /** - Base application theme, dependent on API level. This theme is replaced - by AppBaseTheme from res/values-vXX/styles.xml on newer devices. - - - Theme customizations available in newer API levels can go in - res/values-vXX/styles.xml, while customizations related to - backward-compatibility can go here. - - - Base application theme for API 11+. This theme completely replaces - AppBaseTheme from res/values/styles.xml on API 11+ devices. - - API 11 theme customizations can go here. - - Base application theme for API 14+. This theme completely replaces - AppBaseTheme from BOTH res/values/styles.xml and - res/values-v11/styles.xml on API 14+ devices. - - API 14 theme customizations can go here. - */ - public static final int AppBaseTheme=0x7f060000; - /** Application theme. - All customizations that are NOT specific to a particular API-level can go here. - */ - public static final int AppTheme=0x7f060001; - } -} diff --git a/client/Piztor/ic_launcher-web.png b/client/Piztor/ic_launcher-web.png deleted file mode 100644 index a18cbb4..0000000 Binary files a/client/Piztor/ic_launcher-web.png and /dev/null differ diff --git a/client/Piztor/libs/android-support-v4.jar b/client/Piztor/libs/android-support-v4.jar deleted file mode 100644 index cf12d28..0000000 Binary files a/client/Piztor/libs/android-support-v4.jar and /dev/null differ diff --git a/client/Piztor/proguard-project.txt b/client/Piztor/proguard-project.txt deleted file mode 100644 index f2fe155..0000000 --- a/client/Piztor/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/client/Piztor/project.properties b/client/Piztor/project.properties deleted file mode 100644 index ce39f2d..0000000 --- a/client/Piztor/project.properties +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system edit -# "ant.properties", and override values to adapt the script to your -# project structure. -# -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt - -# Project target. -target=android-18 diff --git a/client/Piztor/res/drawable-hdpi/ic_launcher.png b/client/Piztor/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 288b665..0000000 Binary files a/client/Piztor/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/client/Piztor/res/drawable-mdpi/ic_launcher.png b/client/Piztor/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 6ae570b..0000000 Binary files a/client/Piztor/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/client/Piztor/res/drawable-xhdpi/ic_launcher.png b/client/Piztor/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index d4fb7cd..0000000 Binary files a/client/Piztor/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/client/Piztor/res/drawable-xxhdpi/ic_launcher.png b/client/Piztor/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 85a6081..0000000 Binary files a/client/Piztor/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/client/Piztor/res/layout/activity_init.xml b/client/Piztor/res/layout/activity_init.xml deleted file mode 100644 index 43e6253..0000000 --- a/client/Piztor/res/layout/activity_init.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/client/Piztor/res/menu/init.xml b/client/Piztor/res/menu/init.xml deleted file mode 100644 index c002028..0000000 --- a/client/Piztor/res/menu/init.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/client/Piztor/res/menu/main.xml b/client/Piztor/res/menu/main.xml deleted file mode 100644 index c002028..0000000 --- a/client/Piztor/res/menu/main.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/client/Piztor/res/values-sw600dp/dimens.xml b/client/Piztor/res/values-sw600dp/dimens.xml deleted file mode 100644 index 44f01db..0000000 --- a/client/Piztor/res/values-sw600dp/dimens.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/client/Piztor/res/values-sw720dp-land/dimens.xml b/client/Piztor/res/values-sw720dp-land/dimens.xml deleted file mode 100644 index 61e3fa8..0000000 --- a/client/Piztor/res/values-sw720dp-land/dimens.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - 128dp - - diff --git a/client/Piztor/res/values-v11/styles.xml b/client/Piztor/res/values-v11/styles.xml deleted file mode 100644 index 3c02242..0000000 --- a/client/Piztor/res/values-v11/styles.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - diff --git a/client/Piztor/res/values-v14/styles.xml b/client/Piztor/res/values-v14/styles.xml deleted file mode 100644 index a91fd03..0000000 --- a/client/Piztor/res/values-v14/styles.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - diff --git a/client/Piztor/res/values/dimens.xml b/client/Piztor/res/values/dimens.xml deleted file mode 100644 index 55c1e59..0000000 --- a/client/Piztor/res/values/dimens.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - 16dp - 16dp - - diff --git a/client/Piztor/res/values/strings.xml b/client/Piztor/res/values/strings.xml deleted file mode 100644 index 8e76dc0..0000000 --- a/client/Piztor/res/values/strings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Piztor - Settings - Hello world! - InitAct - - diff --git a/client/Piztor/res/values/styles.xml b/client/Piztor/res/values/styles.xml deleted file mode 100644 index 6ce89c7..0000000 --- a/client/Piztor/res/values/styles.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - diff --git a/client/Piztor/src/com/macaroon/piztor/ActMgr.java b/client/Piztor/src/com/macaroon/piztor/ActMgr.java deleted file mode 100644 index 81fa6f2..0000000 --- a/client/Piztor/src/com/macaroon/piztor/ActMgr.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.macaroon.piztor; - -import java.util.*; - -import android.annotation.SuppressLint; - -@SuppressLint("UseSparseArrays") -public class ActMgr { - // event - PiztorAct act; - ActStatus nowStatus; - HashMap> mp; - - ActMgr(PiztorAct act, ActStatus nowStatus, ActStatus[] r) { - this.act = act; - this.nowStatus = nowStatus; - mp = new HashMap>(); - for (int i = 0; i < r.length; i++) { - mp.put(r[i], new HashMap()); - } - } - - void trigger(int event) { - for (Integer i : mp.get(nowStatus).keySet()) - System.out.println(i); - if (mp.get(nowStatus).containsKey(event)) { - nowStatus.leave(event); - nowStatus = mp.get(nowStatus).get(event); - nowStatus.enter(event); - } else if (AppMgr.mp.get(act.getClass()).containsKey(event)) { - AppMgr.trigger(event); - } - } - - void add(ActStatus a, int event, ActStatus b) { - if (mp.containsKey(a)) { - HashMap h = mp.get(a); - h.put(event, b); - mp.put(a, h); - } else { - HashMap h = new HashMap(); - h.put(event, b); - mp.put(a, h); - } - } -} - -abstract class ActStatus { - abstract void enter(int e); - - abstract void leave(int e); -} - -class EmptyStatus extends ActStatus { - @Override - void enter(int e) { - } - - @Override - void leave(int e) { - } - -} diff --git a/client/Piztor/src/com/macaroon/piztor/AppMgr.java b/client/Piztor/src/com/macaroon/piztor/AppMgr.java deleted file mode 100644 index 9259786..0000000 --- a/client/Piztor/src/com/macaroon/piztor/AppMgr.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.macaroon.piztor; - -import java.util.HashMap; - -import android.annotation.SuppressLint; -import android.content.Intent; - -@SuppressLint("UseSparseArrays") -public class AppMgr { - // Status - public enum ActivityStatus{ - create, start, resume, restart, stop, pause, destroy - } - static ActivityStatus status; - static PiztorAct nowAct; - - static HashMap, HashMap>> mp; - - static void setStatus(ActivityStatus st) { - status = st; - } - - static void trigger(int event) { - - Intent i = new Intent(); - i.setClass(nowAct, mp.get(nowAct.getClass()).get(event)); - nowAct.startActivity(i); - } - - static void add(Class a, Integer event, Class b) { - if (mp.containsKey(a)) - mp.get(a).put(event, b); - else { - HashMap> h = new HashMap>(); - h.put(event, b); - mp.put(a, h); - } - } - - static void addTransition(Class a, int i, Class b) { - if (mp.containsKey(a)) { - HashMap> h = mp.get(a); - h.put(i, b); - mp.put(a, h); - } else { - HashMap> h = new HashMap>(); - h.put(i, b); - mp.put(a, h); - } - } - - static void addStatus(Class a) { - mp.put(a, new HashMap>()); - } - - static void init() { - mp = new HashMap, HashMap>>(); - addStatus(InitAct.class); - - } - -} diff --git a/client/Piztor/src/com/macaroon/piztor/InitAct.java b/client/Piztor/src/com/macaroon/piztor/InitAct.java deleted file mode 100644 index 1ce492c..0000000 --- a/client/Piztor/src/com/macaroon/piztor/InitAct.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.macaroon.piztor; - -import android.os.Bundle; -import android.app.Activity; -import android.view.Menu; - -public class InitAct extends Activity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_init); - } - - @Override - public boolean onCreateOptionsMenu(Menu menu) { - // Inflate the menu; this adds items to the action bar if it is present. - getMenuInflater().inflate(R.menu.init, menu); - return true; - } - -} diff --git a/client/Piztor/src/com/macaroon/piztor/PiztorAct.java b/client/Piztor/src/com/macaroon/piztor/PiztorAct.java deleted file mode 100644 index ad12b17..0000000 --- a/client/Piztor/src/com/macaroon/piztor/PiztorAct.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.macaroon.piztor; - -import android.app.Activity; -import android.os.Bundle; - -public class PiztorAct extends Activity { - String id; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - System.out.println(id + " on create"); - AppMgr.setStatus(AppMgr.ActivityStatus.create); - AppMgr.nowAct = this; - } - - @Override - protected void onStart() { - super.onStart(); - System.out.println(id + " on start"); - AppMgr.setStatus(AppMgr.ActivityStatus.start); - AppMgr.nowAct = this; - } - - @Override - protected void onStop() { - super.onStop(); - System.out.println(id + " on stop"); - AppMgr.setStatus(AppMgr.ActivityStatus.stop); - } - - @Override - protected void onResume() { - super.onResume(); - System.out.println(id + " on resume"); - AppMgr.setStatus(AppMgr.ActivityStatus.resume); - AppMgr.nowAct = this; - } - - @Override - protected void onPause() { - super.onPause(); - System.out.println(id + " on pause"); - AppMgr.setStatus(AppMgr.ActivityStatus.pause); - } - - @Override - protected void onRestart() { - super.onRestart(); - System.out.println(id + " on restart"); - AppMgr.setStatus(AppMgr.ActivityStatus.restart); - } - - @Override - protected void onDestroy() { - super.onDestroy(); - System.out.println(id + " on destroy"); - AppMgr.setStatus(AppMgr.ActivityStatus.destroy); - } - -} diff --git a/client/README.rst b/client/README.rst deleted file mode 100644 index ef377cc..0000000 --- a/client/README.rst +++ /dev/null @@ -1 +0,0 @@ -Here is the folder of android app implementation diff --git a/client/Socket-demo/Login.java b/client/Socket-demo/Login.java deleted file mode 100644 index 2dd386c..0000000 --- a/client/Socket-demo/Login.java +++ /dev/null @@ -1,6 +0,0 @@ -package com.example.test; - -public class Login{ - void success(int t){} - void failed(){} -} \ No newline at end of file diff --git a/client/Socket-demo/MainActivity.java b/client/Socket-demo/MainActivity.java deleted file mode 100644 index ab2ef0c..0000000 --- a/client/Socket-demo/MainActivity.java +++ /dev/null @@ -1,44 +0,0 @@ -package com.example.test; - -import android.app.Activity; -import android.os.Bundle; -import android.view.Menu; -import android.view.View; -import android.widget.TextView; - -public class MainActivity extends Activity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - TextView textview = (TextView)findViewById(R.id.textView1); - textview.setText("Server Created!"); - } - - @Override - public boolean onCreateOptionsMenu(Menu menu) { - // Inflate the menu; this adds items to the action bar if it is present. - getMenuInflater().inflate(R.menu.main, menu); - return true; - } - - - public void sendMessage(View view) { - - } - - - - - - - - -} - - - - - - diff --git a/client/Socket-demo/Myrequest.java b/client/Socket-demo/Myrequest.java deleted file mode 100644 index e5bfce2..0000000 --- a/client/Socket-demo/Myrequest.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.example.test; - -import java.util.Vector; - -public class Myrequest{ - public Vector contain; - Myrequest(){ - contain = new Vector(); - } -} \ No newline at end of file diff --git a/client/Socket-demo/Myrespond.java b/client/Socket-demo/Myrespond.java deleted file mode 100644 index ea6ef3b..0000000 --- a/client/Socket-demo/Myrespond.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.example.test; - -import java.util.Vector; - -public class Myrespond{ - public Vector contain; - public String wrong; - Myrespond(){ - wrong = null; - contain = new Vector(); - } -} \ No newline at end of file diff --git a/client/Socket-demo/SocketClient.java b/client/Socket-demo/SocketClient.java deleted file mode 100644 index df42484..0000000 --- a/client/Socket-demo/SocketClient.java +++ /dev/null @@ -1,107 +0,0 @@ -package com.example.test; - - -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; -import java.net.Socket; -import java.net.UnknownHostException; - -public class SocketClient { - - static Socket client; - - public SocketClient(String site, int port)throws UnknownHostException,IOException{ - try{ - client = new Socket(site,port); - }catch (UnknownHostException e){ - throw e; - }catch (IOException e){ - throw e; - } - } - - public Myrespond sendMsg(Myrequest req)throws IOException{ - try{ - DataOutputStream out = new DataOutputStream(client.getOutputStream()); - int tmp = (Integer) req.contain.get(0); - switch(tmp){ - case 0: - String id = (String) req.contain.get(1); - String pass = (String) req.contain.get(2); - out.writeUTF(id); - out.writeUTF(pass); - break; - case 1: - int tk1 = (Integer) req.contain.get(1); - int acc = (Integer) req.contain.get(2); - String mess = (String) req.contain.get(3); - out.writeInt(tk1); - out.writeInt(acc); - out.writeUTF(mess); - break; - case 2: - int tk2 = (Integer) req.contain.get(1); - double slot = (Double) req.contain.get(2); - double slat = (Double) req.contain.get(3); - out.writeInt(tk2); - out.writeDouble(slot); - out.writeDouble(slat); - break; - case 3: - int tk3 = (Integer) req.contain.get(1); - int gid = (Integer) req.contain.get(2); - out.writeInt(tk3); - out.writeInt(gid); - break; - } - out.flush(); - client.shutdownOutput(); - DataInputStream in = new DataInputStream(client.getInputStream()); - int type = in.readUnsignedByte(); - Myrespond r = new Myrespond(); - switch(type){ - case 0: - int id = in.readInt(); - int status = in.readUnsignedByte(); - r.contain.add(0); - r.contain.add(id); - r.contain.add(status); - break; - case 1: - r.contain.add(1); - //reserved - break; - case 2: - r.contain.add(2); - //reserved - break; - case 3: - int n = in.readInt(); - r.contain.add(3); - r.contain.add(n); - for(int i=1;i<=n;i++) - { - int tid = in.readInt(); - double lot = in.readDouble(); - double lat = in.readDouble(); - r.contain.add(tid); - r.contain.add(lot); - r.contain.add(lat); - } - break; - } - return r; - }catch(IOException e){ - throw e; - } - } - public void closeSocket(){ - try{ - client.close(); - }catch(IOException e){ - e.printStackTrace(); - } - } - -} diff --git a/client/Socket-demo/Transam.java b/client/Socket-demo/Transam.java deleted file mode 100644 index b5e2381..0000000 --- a/client/Socket-demo/Transam.java +++ /dev/null @@ -1,125 +0,0 @@ -package com.example.test; - -import java.io.IOException; -import java.net.UnknownHostException; -import java.util.Timer; -import java.util.TimerTask; - -import android.annotation.SuppressLint; -import android.os.Handler; -import android.os.Message; - -public class Transam implements Runnable { - public Timer timer; - public boolean flag = true; - public boolean reqlog = false; - public int cnt = 4; - public int port; - public String ip; - Thread thread; - Myrequest req; - Myrespond res; - Controller core; - Login log; - - - Transam(String i,int p,Myrequest r,Login l){ - port = p; - ip = i; - req = r; - log = l; - reqlog = true; - } - - Transam(String i,int p,Myrequest r,Controller c){ - port = p; - ip = i; - req = r; - core = c; - } - - public void run() { - final thd t = new thd(); - flag = false; - thread = new Thread(t); - cnt = 4; - thread.start(); - timer = new Timer(); - TimerTask task = new Timertk(); - timer.schedule(task,2000,2000); - } - - class thd implements Runnable { - @Override - public void run() { - try{ - SocketClient client = new SocketClient(ip,port); - res = client.sendMsg(req); - if(!reqlog){ - core.recieveInfo(res); - } - else{ - if((Integer) res.contain.get(2)==0){ - int t = (Integer) res.contain.get(1); - log.success(t); - } - else{ - log.failed(); - } - } - Message msg = new Message(); - msg.what = 1; - handler.sendMessage(msg); - client.closeSocket(); - }catch (UnknownHostException e){ - }catch (IOException e){ - } - - } - } - - @SuppressLint("HandlerLeak") - Handler handler = new Handler(){ - public void handleMessage(Message msg) { - switch (msg.what) { - case 1: - flag = true; - break; - case 2: - if(!reqlog){ - res = new Myrespond(); - res.wrong = msg.obj.toString(); - core.recieveInfo(res); - } - else{ - log.failed(); - } - break; - case 3: - final thd t = new thd(); - thread = new Thread(t); - thread.start(); - break; - } - super.handleMessage(msg); - } - }; - - class Timertk extends TimerTask { - public void run() { - if(flag==false&&cnt>0){ - cnt--; - } - else if(cnt==0) { - Message msg = new Message(); - msg.obj = "connecting failed"; - msg.what = 2; - handler.sendMessage(msg); - timer.cancel(); - } - else if(flag==true){ - timer.cancel(); - } - } - }; -} \ No newline at end of file diff --git a/client/gps-demo/AndroidGPSTracking/.AndroidManifest.xml.swp b/client/gps-demo/AndroidGPSTracking/.AndroidManifest.xml.swp deleted file mode 100644 index d03b360..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/.AndroidManifest.xml.swp and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/.classpath b/client/gps-demo/AndroidGPSTracking/.classpath deleted file mode 100644 index 5176974..0000000 --- a/client/gps-demo/AndroidGPSTracking/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/client/gps-demo/AndroidGPSTracking/.project b/client/gps-demo/AndroidGPSTracking/.project deleted file mode 100644 index a080853..0000000 --- a/client/gps-demo/AndroidGPSTracking/.project +++ /dev/null @@ -1,33 +0,0 @@ - - - AndroidGPSTracking - - - - - - com.android.ide.eclipse.adt.ResourceManagerBuilder - - - - - com.android.ide.eclipse.adt.PreCompilerBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.android.ide.eclipse.adt.ApkBuilder - - - - - - com.android.ide.eclipse.adt.AndroidNature - org.eclipse.jdt.core.javanature - - diff --git a/client/gps-demo/AndroidGPSTracking/.settings/org.eclipse.jdt.core.prefs b/client/gps-demo/AndroidGPSTracking/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index b080d2d..0000000 --- a/client/gps-demo/AndroidGPSTracking/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/client/gps-demo/AndroidGPSTracking/AndroidManifest.xml b/client/gps-demo/AndroidGPSTracking/AndroidManifest.xml deleted file mode 100644 index 137894c..0000000 --- a/client/gps-demo/AndroidGPSTracking/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/client/gps-demo/AndroidGPSTracking/bin/AndroidGPSTracking.apk b/client/gps-demo/AndroidGPSTracking/bin/AndroidGPSTracking.apk deleted file mode 100644 index 985304a..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/AndroidGPSTracking.apk and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/AndroidManifest.xml b/client/gps-demo/AndroidGPSTracking/bin/AndroidManifest.xml deleted file mode 100644 index 137894c..0000000 --- a/client/gps-demo/AndroidGPSTracking/bin/AndroidManifest.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes.dex b/client/gps-demo/AndroidGPSTracking/bin/classes.dex deleted file mode 100644 index 1a8d494..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes.dex and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity$1.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity$1.class deleted file mode 100644 index 3367336..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity$1.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity.class deleted file mode 100644 index 7df00e1..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/AndroidGPSTrackingActivity.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/BuildConfig.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/BuildConfig.class deleted file mode 100644 index 15960aa..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/BuildConfig.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$1.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$1.class deleted file mode 100644 index 8e2ea2b..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$1.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$2.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$2.class deleted file mode 100644 index 572f305..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker$2.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker.class deleted file mode 100644 index 6f6bd93..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/GPSTracker.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$attr.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$attr.class deleted file mode 100644 index 1dbe417..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$attr.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$drawable.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$drawable.class deleted file mode 100644 index f46f86d..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$drawable.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$id.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$id.class deleted file mode 100644 index 7d48158..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$id.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$layout.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$layout.class deleted file mode 100644 index 08f0ade..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$layout.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$string.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$string.class deleted file mode 100644 index 7c72195..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R$string.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R.class b/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R.class deleted file mode 100644 index 7f0475e..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/classes/com/example/gpstracking/R.class and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/dexedLibs/annotations-5b022f4578500e25e3bfa446659bd7d8.jar b/client/gps-demo/AndroidGPSTracking/bin/dexedLibs/annotations-5b022f4578500e25e3bfa446659bd7d8.jar deleted file mode 100644 index 61505d5..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/dexedLibs/annotations-5b022f4578500e25e3bfa446659bd7d8.jar and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/jarlist.cache b/client/gps-demo/AndroidGPSTracking/bin/jarlist.cache deleted file mode 100644 index 0565465..0000000 --- a/client/gps-demo/AndroidGPSTracking/bin/jarlist.cache +++ /dev/null @@ -1,3 +0,0 @@ -# cache for current jar dependency. DO NOT EDIT. -# format is -# Encoding is UTF-8 diff --git a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-hdpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/bin/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 882eb14..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-ldpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/bin/res/drawable-ldpi/ic_launcher.png deleted file mode 100644 index 18689f6..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-ldpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-mdpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/bin/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 02e96b9..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/bin/resources.ap_ b/client/gps-demo/AndroidGPSTracking/bin/resources.ap_ deleted file mode 100644 index 8c035b7..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/bin/resources.ap_ and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/default.properties b/client/gps-demo/AndroidGPSTracking/default.properties deleted file mode 100644 index 32299c2..0000000 --- a/client/gps-demo/AndroidGPSTracking/default.properties +++ /dev/null @@ -1,2 +0,0 @@ -# Project target. -target=android-8 diff --git a/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/BuildConfig.java b/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/BuildConfig.java deleted file mode 100644 index c164cb3..0000000 --- a/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/BuildConfig.java +++ /dev/null @@ -1,6 +0,0 @@ -/** Automatically generated file. DO NOT MODIFY */ -package com.example.gpstracking; - -public final class BuildConfig { - public final static boolean DEBUG = true; -} \ No newline at end of file diff --git a/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/R.java b/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/R.java deleted file mode 100644 index c747309..0000000 --- a/client/gps-demo/AndroidGPSTracking/gen/com/example/gpstracking/R.java +++ /dev/null @@ -1,26 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.example.gpstracking; - -public final class R { - public static final class attr { - } - public static final class drawable { - public static final int ic_launcher=0x7f020000; - } - public static final class id { - public static final int btnShowLocation=0x7f050000; - } - public static final class layout { - public static final int main=0x7f030000; - } - public static final class string { - public static final int app_name=0x7f040001; - public static final int hello=0x7f040000; - } -} diff --git a/client/gps-demo/AndroidGPSTracking/proguard.cfg b/client/gps-demo/AndroidGPSTracking/proguard.cfg deleted file mode 100644 index b1cdf17..0000000 --- a/client/gps-demo/AndroidGPSTracking/proguard.cfg +++ /dev/null @@ -1,40 +0,0 @@ --optimizationpasses 5 --dontusemixedcaseclassnames --dontskipnonpubliclibraryclasses --dontpreverify --verbose --optimizations !code/simplification/arithmetic,!field/*,!class/merging/* - --keep public class * extends android.app.Activity --keep public class * extends android.app.Application --keep public class * extends android.app.Service --keep public class * extends android.content.BroadcastReceiver --keep public class * extends android.content.ContentProvider --keep public class * extends android.app.backup.BackupAgentHelper --keep public class * extends android.preference.Preference --keep public class com.android.vending.licensing.ILicensingService - --keepclasseswithmembernames class * { - native ; -} - --keepclasseswithmembers class * { - public (android.content.Context, android.util.AttributeSet); -} - --keepclasseswithmembers class * { - public (android.content.Context, android.util.AttributeSet, int); -} - --keepclassmembers class * extends android.app.Activity { - public void *(android.view.View); -} - --keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); -} - --keep class * implements android.os.Parcelable { - public static final android.os.Parcelable$Creator *; -} diff --git a/client/gps-demo/AndroidGPSTracking/project.properties b/client/gps-demo/AndroidGPSTracking/project.properties deleted file mode 100644 index ea89160..0000000 --- a/client/gps-demo/AndroidGPSTracking/project.properties +++ /dev/null @@ -1,11 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-8 diff --git a/client/gps-demo/AndroidGPSTracking/res/drawable-hdpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index efc8f0a..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/res/drawable-ldpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/res/drawable-ldpi/ic_launcher.png deleted file mode 100644 index efc8f0a..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/res/drawable-ldpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/res/drawable-mdpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index efc8f0a..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/res/drawable-xhdpi/ic_launcher.png b/client/gps-demo/AndroidGPSTracking/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index efc8f0a..0000000 Binary files a/client/gps-demo/AndroidGPSTracking/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/client/gps-demo/AndroidGPSTracking/res/layout/main.xml b/client/gps-demo/AndroidGPSTracking/res/layout/main.xml deleted file mode 100644 index 430efa2..0000000 --- a/client/gps-demo/AndroidGPSTracking/res/layout/main.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - -