Commit graph

119 commits

Author SHA1 Message Date
YuviPanda
9476ec6484 Start using Fragments appropriately 2013-02-21 12:14:53 +05:30
YuviPanda
540b760c76 Cleanup of ContributionsActivity to stop using Cursor directly 2013-02-21 10:04:12 +05:30
YuviPanda
b37f1f3b21 Add appropriate User Agent 2013-02-20 20:27:20 +05:30
YuviPanda
a89e2c8214 Add Device / Platform / App info to EventLogging 2013-02-20 19:22:23 +05:30
YuviPanda
1a860c6729 Cleanup gridview code to use appropriate Java object 2013-02-19 23:41:08 +05:30
YuviPanda
8f75ed2801 Fix bug in releasing service connection 2013-02-19 12:57:41 +05:30
YuviPanda
3f025aa68a Minor spacing fix 2013-02-19 12:35:27 +05:30
YuviPanda
1ec9be01f8 Fix to make notifications not crash in 2.3
This removes the progressbar from the notifications on 2.3, which
is much less than ideal. However after blindly debugging for about
a week, I couldn't really figure out a way to make custom views
in Notifications work across both platforms. So this will have
to do until I figure a proper way out.
2013-02-19 12:24:48 +05:30
YuviPanda
5396541f4e Stop leaking Service Connections! 2013-02-19 12:10:13 +05:30
YuviPanda
ffaac44f3a Removed dead constants (killed by prior commit) 2013-02-19 01:57:07 +05:30
YuviPanda
34eb356108 Add EventLogging for Login success / failure 2013-02-19 01:20:59 +05:30
YuviPanda
6e2c3341b7 Fix bug causing in-progress uploads to be marked as failed 2013-02-18 16:27:25 +05:30
YuviPanda
2df1b1b02f Remove dead code for ActionBar overlay 2013-02-18 15:42:22 +05:30
YuviPanda
6b20dcecb1 Make UploadService a purely bound service 2013-02-18 15:42:22 +05:30
Ori Livneh
0b0af4fd04 Rename 'schema_rev' => 'scid'
For convenience, the documentation and code for EventLogging refer
to (schema_name, revision_ID) pairs as 'SCIDs'. It'd be nice (but
not required) if android-commons stuck to this convention, too.
2013-02-18 01:45:23 -08:00
Ori Livneh
d607324ecc Drop 'isValid' optional field from EventLog
I laughed when I saw it, but anyhow 'isValid' is deliberately not marked as
'required'; you should only set if if you are performing client-side validation
of data, which you're not.
2013-02-18 01:45:23 -08:00
YuviPanda
0dbe8de0f9 Minor fix to EventLogging code 2013-02-17 11:50:08 +05:30
YuviPanda
5271cc57d1 Initial cut of EventLogging support 2013-02-15 18:19:49 +05:30
YuviPanda
ea509a7847 Abstract out the handler code in UploadService
Should make building other services much easier
2013-02-10 00:44:34 +05:30
YuviPanda
e6a8f4d626 Cleanup contributions state when service starts.
This will clean up stale 'Uploading' or 'Queued' entries that
failed to do so because of service crashes
2013-02-08 17:34:50 +05:30
YuviPanda
297f3277de Tap to retry failed uploads implemented
UploadService can now be bound to as a local service. Yay!
2013-02-08 16:34:41 +05:30
YuviPanda
91aa440eac Refactor a little bit to avoid too much Intent passing around 2013-02-08 03:08:52 +05:30
YuviPanda
9ea843b8a9 Make UploadService a Service rather than an IntentService 2013-02-08 02:57:38 +05:30
YuviPanda
ba76b5fe0f Remove dead code 2013-02-07 04:26:10 +05:30
YuviPanda
af73954cd1 Include tracking template on all uploads 2013-02-07 03:50:37 +05:30
YuviPanda
1986b2455c Do not add duplicate photos when syncing 2013-02-07 03:39:46 +05:30
YuviPanda
b8dd312869 Save canonical filename of uploaded files
Also display filenames in a 'pretty'ier way
2013-02-06 19:16:51 +05:30
YuviPanda
b4c1c2a06c Change DOWNLOAD to UPLOAD appropriately in constants
I am a geraffe
2013-02-06 17:08:27 +05:30
YuviPanda
9f51fdf9b4 Re-jiggle sort order of contributions 2013-02-06 03:37:05 +05:30
YuviPanda
859065f2d9 Enable contributions sync provider by default! 2013-02-06 03:21:43 +05:30
YuviPanda
eac6807fe3 Added Sync Provider for syncing previous contributions 2013-02-06 03:05:01 +05:30
YuviPanda
4abf3156e7 Enforce signin before my contributions is visible 2013-02-04 19:38:38 +05:30
YuviPanda
23af3c16ce Support for content URIs that do not report their size
Also brought back ACTION_GET_CONTENT - people should pick from wherever
they want!
2013-02-04 03:01:51 +05:30
YuviPanda
399609a9d3 Only pick images that we are 100% sure we can upload
Means nothing that is synced to picasa, etc
2013-02-04 02:46:21 +05:30
YuviPanda
cff7ff8437 Add clarifying comment 2013-02-04 02:14:30 +05:30
YuviPanda
959cff3ae2 Show upload progress in my contributions
Abandoned local broadcast based approach, and 'went with the flow'.
Now have a 'transferred' column in sqlite database & the
content provider
2013-02-04 01:28:30 +05:30
YuviPanda
d1f0539bbe Fixed typo when checking for upload success 2013-02-04 01:26:21 +05:30
YuviPanda
59caee38a9 Show failed uploads in my contributions 2013-02-04 00:34:59 +05:30
YuviPanda
a57d0316f8 Have 'Pick from Camera' work on Non-Samsung phones
Implement hack laid out in http://stackoverflow.com/a/5054673/17865

Thanks to Reedy & ragesoss for testing!
2013-02-03 01:58:55 +05:30
YuviPanda
ad0377a20a Added ACRA error reporting (via Email) 2013-02-03 00:09:01 +05:30
YuviPanda
35d9e8f69c Adjustmenst for better experience in tablets 2013-02-02 23:33:19 +05:30
YuviPanda
d319132c1b Avoid loading the same image multiple times.
Prevents 'flashing' when content of a list item changes
2013-02-02 22:48:30 +05:30
YuviPanda
9724bfd8f5 Sort images in my contributions as people would expect them to 2013-02-02 20:01:39 +05:30
YuviPanda
006558ccd3 Add support for uploading pictures taken from camera 2013-02-02 17:49:38 +05:30
YuviPanda
999b8a0c0e Added menu option to Upload from Gallery 2013-02-02 17:12:33 +05:30
YuviPanda
86711188e1 Moved strings in code back to strings.xml 2013-02-02 16:17:17 +05:30
YuviPanda
569143e44b Indentation fixing.
Unsure how it got so out of whack to begin with
2013-02-02 15:30:01 +05:30
YuviPanda
da92ec7235 Show uploaded date in my contributions 2013-02-02 15:22:25 +05:30
YuviPanda
fe47b00081 Use Android Universal Image Loader library for loading images 2013-02-02 13:31:27 +05:30
YuviPanda
d8c6c304fd Set title for launcher activity appropriately 2013-02-02 03:19:51 +05:30