Commit Graph

60 Commits

Author SHA1 Message Date
Brad Fitzpatrick 162575e221 Remove Base64.NO_PADDING. Was necessary. 2010-12-21 18:12:53 -08:00
Brad Fitzpatrick f5a72c68d3 Don't spin. 2010-12-21 17:25:21 -08:00
Brad Fitzpatrick 3307e5c15f Enable StrictMode for Android uploader. 2010-12-21 16:05:20 -08:00
Brad Fitzpatrick 20e838b0be Android uploader: work on sha1 caching speed, thread wakelock bugs, etc 2010-12-21 15:28:36 -08:00
Brad Fitzpatrick 59e07efc7f Android uploader: clean up prefs and start/stopping service 2010-12-20 22:20:44 -08:00
Brad Fitzpatrick 4f41021d30 Android upload: respect AUTO-on-POWER setting, stop service in more places 2010-12-20 21:31:10 -08:00
Brad Fitzpatrick 052ba3446b Android client: do Authorization pre-emptively; don't double all HTTP requests
Stupid painful Apache HttpClient.

This also bumps minimal SDK version to 8 (Froyo) instead of 4 (Donut) because I'm
lazy and wanted to use the android.util.Base64 in Froyo.  Should fix that later.
2010-12-20 19:27:22 -08:00
Brad Fitzpatrick dfc058a4c6 Android uploader: send Content-Type and redundant filename parameter. 2010-12-20 18:51:38 -08:00
Brad Fitzpatrick 2567346b70 Extra debugging 2010-11-28 14:51:18 -08:00
Brad Fitzpatrick 98d97c45e8 Send content lengths. 2010-10-03 13:48:42 -07:00
Brad Fitzpatrick e360dbee7c sha1 caching 2010-08-01 21:23:43 -07:00
Brad Fitzpatrick 7415c59235 auto-upload on power 2010-08-01 20:39:34 -07:00
Brad Fitzpatrick b3f186680b add MyTracks directories 2010-08-01 20:26:19 -07:00
Brad Fitzpatrick 60efbf15df upload all 2010-08-01 20:22:19 -07:00
Brad Fitzpatrick 8c65f36662 Merge branch 'master' of danga.com:camlistore 2010-08-01 17:25:19 -07:00
Brad Fitzpatrick 7c22a659fa Merge branch 'master' of danga.com:camlistore 2010-08-01 17:24:40 -07:00
Brad Fitzpatrick 660d7de764 Add an Upload All button. 2010-08-01 17:21:28 -07:00
Brad Fitzpatrick d4566398d6 move some stuff out of try block 2010-08-01 17:20:35 -07:00
Brad Fitzpatrick 078760fed5 use startService() instead of queue in the activity. 2010-08-01 17:17:23 -07:00
Brad Fitzpatrick f127b622b0 Fix Service lifecycle issue & some crashes. 2010-07-26 10:45:05 -07:00
Brad Fitzpatrick 12e80c91ed deal with IOExceptions when sha-1'ing files 2010-07-26 10:44:11 -07:00
Brad Fitzpatrick 9547f12f89 have WifiPowerReceiver startService(UploadService) with command intents on changes 2010-07-26 00:50:01 -07:00
Brad Fitzpatrick 85789bd0ad start of listening for boot, wifi, power, etc intents 2010-07-26 00:11:03 -07:00
Brad Fitzpatrick 0587431d1d Auto-upload working.
No wifi or power or on-boot stuff yet, though.
2010-07-25 18:11:22 -07:00
Brad Fitzpatrick ec1bf1b850 add an icon 2010-07-25 15:48:36 -07:00
Brad Fitzpatrick f12b256b77 notification while uploading 2010-07-25 15:32:54 -07:00
Brad Fitzpatrick f7d626db42 Counter for digesting, stop button, don't stop service while digesting,... 2010-07-25 13:45:09 -07:00
Brad Fitzpatrick c3d41f2329 bytes in flight progress, and usability improvements 2010-07-25 11:41:28 -07:00
Brad Fitzpatrick 46abac4d43 remove unused hexification code 2010-07-25 10:47:00 -07:00
Brad Fitzpatrick bfe2d7a259 add forgotten file from earlier commits 2010-07-25 10:39:08 -07:00
Brad Fitzpatrick 28c59c1f47 work around AsyncTask queue length limitations. 2010-07-25 10:25:53 -07:00
Brad Fitzpatrick 196a5f268b stop service in more cases 2010-07-24 18:09:28 -07:00
Brad Fitzpatrick beee3f30c7 keep service alive while uploading 2010-07-24 18:05:38 -07:00
Brad Fitzpatrick ff29b06ab9 remove testing progressbar positions 2010-07-24 15:35:32 -07:00
Brad Fitzpatrick 64e9e5197a doc change 2010-07-24 15:35:00 -07:00
Brad Fitzpatrick d9c87a7ddb bit of localization. ears popping during descent. 2010-07-24 14:34:26 -07:00
Brad Fitzpatrick d1df138efa start of progressbars. on airplane; untested. 2010-07-24 14:25:29 -07:00
Brad Fitzpatrick a3a63779d8 more UI work, make stop/start button work, etc. 2010-07-24 12:15:22 -07:00
Brad Fitzpatrick e57c940b85 first crack at a basic UI. 2010-07-24 11:09:35 -07:00
Brad Fitzpatrick 969cd5d78b also take out a wifi lock 2010-07-23 23:21:58 -07:00
Brad Fitzpatrick 2302186d12 add some permissions 2010-07-23 23:16:24 -07:00
Brad Fitzpatrick 80cf70eeba skip uploading blobs that server already has. 2010-07-23 23:10:42 -07:00
Brad Fitzpatrick f20bde4c07 android: use WakeLock while uploading 2010-07-23 14:35:57 -07:00
Brad Fitzpatrick 2d26146df8 android: multi-upload and related share intent. 2010-07-23 12:31:42 -07:00
Brad Fitzpatrick c803634610 upload barely works now. yay. 2010-07-22 17:48:53 -07:00
Brad Fitzpatrick 76b2d0cc88 More upload work 2010-07-22 10:12:02 -07:00
Brad Fitzpatrick ffa79bc324 android: QueuedFile 2010-07-22 09:31:53 -07:00
Brad Fitzpatrick 0bad0f73f2 android: sha1 files. upload WIP. 2010-07-21 21:32:27 -07:00
Brad Fitzpatrick dfc79a96fd slurp and parse JSON in preupload 2010-07-21 19:49:10 -07:00
Brad Fitzpatrick 373a336bc6 android client: start of preupload 2010-07-21 17:13:09 -07:00