215 Commits

Author SHA1 Message Date
Henrik Tunedal
176c9173ae Add preference for SQLite "synchronous" flag
By default SQLite runs with synchronous=FULL, which is the safest mode
and uses fsync() a lot, but this interacts very badly with Samsung's
infamous RFS filesystem. With this preference the user can decide
whether to sacrifice some safety for reasonable performance.
2011-02-13 20:37:35 +01:00
Henrik Tunedal
24aa230f14 Make the repository checkboxes work.
The checkboxes on the repository management screen did
nothing. Calling Cursor.getCount() on the returned cursor magically
fixed it - perhaps there's some sort of lazy evaluation? - but the
less magical execSQL method seems like a better way.
2011-02-11 00:56:30 +01:00
Henrik Tunedal
f602e4586c Improved logging of exceptions. 2011-02-03 20:55:27 +01:00
Henrik Tunedal
47a3db7767 Changed button order in app details dialog.
Most Android applications have the cancel button on the right, but
this dialog had it on the left (Cancel/Install). It was especially
confusing as pressing "Install" immediately leads to a system dialog
with Install/Cancel buttons (i.e. in the opposite order).
2011-02-03 20:55:27 +01:00
Ciaran Gultnieks
b4ea49744a Fixed initialise of pubkey in a brand new database 2011-02-03 08:51:39 +00:00
Ciaran Gultnieks
937a15bf16 Correction to e12ecbdb - need to add that after the db upgrade, now it's using a new field 2011-01-30 22:00:17 +00:00
Ciaran Gultnieks
21ce8ad164 Correction to b30fc715 - need to get rid of the check in the update service as well 2011-01-30 20:53:53 +00:00
Ciaran Gultnieks
51bb6ed852 Removed some unused imports 2011-01-30 17:52:11 +00:00
Ciaran Gultnieks
e12ecbdb08 Use signed repo immediately on new install (although it will auto-switch to it anyway 2011-01-30 17:51:48 +00:00
Ciaran Gultnieks
497722c634 Ability to read signed indexes (and switch from unsigned to signed if a signed one is detected 2011-01-30 15:16:10 +00:00
Ciaran Gultnieks
8c30e0cfdb Added database support for repo public key 2011-01-29 09:41:40 +00:00
Ciaran Gultnieks
2de6a41447 Commented out some excessive debug logging 2011-01-26 23:25:14 +00:00
Ciaran Gultnieks
b30fc71500 Don't pre-check network state, just try and read. Gets rid of a nasty permission 2011-01-26 23:22:43 +00:00
Ciaran Gultnieks
4be4b8ddaa Issue #20 - network failure during repo update shouldn't empty the app list 2011-01-26 23:02:27 +00:00
Ciaran Gultnieks
6fddf13fb3 Potential crash when using new version without updating repo index 2011-01-26 18:41:53 +00:00
Ciaran Gultnieks
25a9c6ab9f Menu on search results to allow repeat searching (without a hardware search button) 2011-01-17 22:36:14 +00:00
Ciaran Gultnieks
3d913be808 Narrative to go with search results 2011-01-17 22:05:31 +00:00
Ciaran Gultnieks
6cae359505 Cancel is probably more appropriate there 2011-01-17 20:25:11 +00:00
Ciaran Gultnieks
3d19b7f2c1 Basic search implemented, just needs a bit of tidying up (e.g. tell you what you searched for) 2011-01-17 17:58:48 +00:00
Ciaran Gultnieks
45a32f45ba That should deal with the antifeatures filtering, but it needs testing 2011-01-17 17:45:53 +00:00
Ciaran Gultnieks
f05905c855 Can now detect attempt to install an apk with a different signature and tell the user to uninstall first 2011-01-16 16:07:42 +00:00
Ciaran Gultnieks
3aa6d5a7a9 Formatting fixes only - seems I had the wrong settings on one of my machines at some point 2011-01-16 12:21:35 +00:00
Ciaran Gultnieks
c629a6884f Slight adjustment signature md5 calculation, to match server 2011-01-14 23:08:34 +00:00
Ciaran Gultnieks
0881142023 Might be better to show that dialog before the thread starts - possible FC on gingerbread 2011-01-13 22:55:03 +00:00
Ciaran Gultnieks
df6a37a705 Expert mode - currently just displays md5 of signature for installed apps 2011-01-04 23:52:04 +00:00
Ciaran Gultnieks
a5d4399e28 Show number of available updates in tab heading 2010-12-16 22:44:26 +00:00
Ciaran Gultnieks
bec725da56 Get and store anti-features data from repo 2010-12-16 21:47:58 +00:00
Ciaran Gultnieks
24f5f0a5d8 Fixed an inconsistency in the updates listed after a repo update 2010-12-14 22:54:36 +00:00
Ciaran Gultnieks
38fc4bfec1 Resolved a crash, under some circumstances, after installing an app and returning 2010-12-09 10:57:28 +00:00
Ciaran Gultnieks
b9a41878f8 Deal more gracefully with apps in the repo that have no packages available 2010-12-08 15:59:06 +00:00
Ciaran Gultnieks
08e4ebaa29 Don't show an older installed version as an update 2010-12-08 15:31:06 +00:00
Ciaran Gultnieks
234bdd16fb Use SQL parameter binding for performance (statements can be cached) 2010-12-08 15:26:18 +00:00
Ciaran Gultnieks
bcd0b185dc Issue #17 - don't keep trying to update from an invalid repo 2010-12-08 13:45:24 +00:00
Jan-Christoph Borchardt
2186e2daba this shouldn't be here, right? 2010-12-03 20:49:34 +01:00
Ciaran Gultnieks
48dca0e52c Correction to previous commit 2010-11-14 22:31:10 +00:00
Ciaran Gultnieks
ab8feedea0 Made new strings (and a couple previously missed) translatable) 2010-11-14 22:28:08 +00:00
Ciaran Gultnieks
55c06a203e Added the ability to have the actual apk file sourced from elsewhere 2010-11-14 20:05:17 +00:00
Ciaran Gultnieks
a2c1b3da17 Auto update from repos when empty, plus database rejig and less unnecessary list repopulation 2010-11-14 18:28:01 +00:00
Ciaran Gultnieks
fb772cb015 Close databases when activities are destroyed 2010-11-13 22:53:17 +00:00
Ciaran Gultnieks
589147d591 Don't notify updates of applications that aren't installed 2010-11-13 13:29:24 +00:00
Ciaran Gultnieks
d6c4402356 Use temporary local storage while downloading and processing index, instead of SD 2010-11-13 11:59:24 +00:00
Ciaran Gultnieks
87ea1dfc3f Moved 'reset DB' to the preferences screen 2010-11-13 10:35:39 +00:00
Ciaran Gultnieks
f3eca41937 Update notifications, and version number on the about box 2010-11-12 22:14:25 +00:00
Ciaran Gultnieks
6477be4c6c Fixed a bug in the repo XML reader 2010-11-12 08:54:42 +00:00
Ciaran Gultnieks
e2c7ca10dc A bit of extra debug logging 2010-11-12 08:06:06 +00:00
Ciaran Gultnieks
3c3c4185e6 File missing from previous commit 2010-11-10 21:46:58 +00:00
Ciaran Gultnieks
4f864aaf10 Only do background updates when the main activities are not in the foreground 2010-11-08 23:49:22 +00:00
Ciaran Gultnieks
cb11bcf6dd (Re/un)schedule the update service when preferences are changed 2010-11-08 20:06:31 +00:00
Ciaran Gultnieks
9c193f237d First effort (untested) at doing scheduled repo updates 2010-11-08 08:47:05 +00:00
Ciaran Gultnieks
53a9e0e796 Added preferences screen and implemented (optional) caching 2010-11-07 23:06:46 +00:00