Daniel Martí
36ff25a95c
Merge commit 'refs/merge-requests/53' of gitorious.org:f-droid/fdroidclient
2013-07-23 12:11:20 +02:00
Daniel Martí
38f2cadb80
Don't recommend incompatible versions ( closes : #311 )
2013-07-23 11:21:18 +02:00
Peter Serwylo
65244e6784
Refactored the compact layout preference in AppListAdapter.
...
Moved it to a getter, instead of directly accessing the property
throughout.
2013-07-23 09:03:02 +10:00
Daniel Martí
5761f32935
Never star vercodes larger than the current as recommended
2013-07-22 17:59:46 +02:00
Daniel Martí
38c0ae1972
Sharing apps now has a better plaintext structure
...
SUBJECT: "Android App: [name]"
TEXT: "[name] ([summary]) - [link]"
2013-07-22 16:57:24 +02:00
Daniel Martí
ff0f3a27f9
Use https when sharing an app
2013-07-22 16:19:41 +02:00
Daniel Martí
e44f8b67a7
Disabling repos now clears their apks as well
...
The current method is quite ugly, mainly because enabling and disabling repos
uses SQL and the list item click function does not tell us whether a repo is
being enabled or disabled. For now it works, but there's room for improvement.
2013-07-22 14:59:22 +02:00
Daniel Martí
632f18c4a2
Fix getAppsBasic
...
versionName was always null, hence hasUpdates was always false.
2013-07-22 14:57:40 +02:00
Daniel Martí
6bfcb338d4
Use the new /app/app.id uri scheme
...
Also, differentiate between market://details and http://f-droid.org/app
better.
2013-07-22 11:33:21 +02:00
Daniel Martí
f3ee1201e4
Use INDEX_CAN_UPDATE rather than its hard-coded id
2013-07-22 10:51:17 +02:00
Daniel Martí
25968d181d
Remove "X updates available" notification when entering the updates tab
...
Both in the old and new tab managers, when entering or programmatically
selecting the third tab (id 2) the notification with id 1 (updates
notification) will be cancelled i.e. deleted.
2013-07-21 19:01:07 +02:00
Daniel Martí
930cf7d613
Don't list apps with zero apks
...
After removing one or more repos, remove all the apps which don't have any
apks listed from the database.
2013-07-21 17:49:56 +02:00
Daniel Martí
4b32f92777
Get rid of unnecessary indentations
2013-07-21 17:03:26 +02:00
Daniel Martí
96f358d94c
New getAppsBasic to avoid retrieving unnecessary data
2013-07-21 17:00:05 +02:00
Daniel Martí
07a161c0a9
Don't crash if no apks are listed
2013-07-21 13:20:42 +02:00
Daniel Martí
b9d5e8f701
Invalidate app/apk cache when removing repos
2013-07-21 13:15:01 +02:00
Daniel Martí
c545139927
Forgot to default hasUpdates to false ( fixes : #297 )
2013-07-21 11:18:37 +02:00
Peter Serwylo
c8fa5303c4
Fixed issues with api version differences.
...
I moved the Utils.hasApi to the protected method in Compatibility.
It was misleading having it in Utils, because it is not as simple as
putting a "if(Utils.hasApi(11)) callApi_11_method()" there.
The problem isn't when the method is executed during runtime, it is when
the class is loaded into the VM using the classloader. At that point, it
tries to verify that indeed every method you call from your class
exists, so the conditional check doesn't work, hence VerifyError's and
breakage.
The appropriate way to do it is the same way as the Android support
library does it. The goal is to have an interface which only one
implementation is every loaded at runtime. Any implementations for
versions that your device doesn't support will never get loaded, so no
VerifyErrors. If you have the support library installed in your
Android SDK, check out
extras/android/support/v4/src/java/android/support/v4/view/MenuItemCompat.java
to see how the pattern works.
2013-07-21 08:14:57 +10:00
Daniel Martí
44824fa6cf
Make install and run to be always shown in AB
2013-07-19 23:24:54 +02:00
Daniel Martí
86464608d7
Use f-droid.org rather than fdroid.org
2013-07-18 12:36:55 +02:00
Daniel Martí
577a4250b6
Share via http://fdroid.org/app?id=app.id
...
Advantages:
- http links are linkified everywhere
- web browser request will fall back to our web repo
- we don't have to use our own scheme
2013-07-18 11:56:52 +02:00
Daniel Martí
de82ab4e1d
Typo in proposed code for selections
2013-07-16 15:08:27 +02:00
Daniel Martí
35d30e148e
Disable text selection as it didn't allow links.
...
Possible but wonky solution suggested in the source code comments.
2013-07-16 15:03:01 +02:00
Ciaran Gultnieks
9941e543ed
Merge branch 'master' of gitorious.org:f-droid/fdroidclient
2013-07-15 22:32:17 +01:00
Ciaran Gultnieks
63e37a879f
Better attempt at fixing boot crash when SD card is not ready?
2013-07-15 22:32:09 +01:00
Daniel Martí
77449ac165
Revert "Disable scrollbars altogether on the three main tabs"
...
This reverts commit c78ff5df303689341ea040847d5d2c53b56c9533.
2013-07-15 23:02:53 +02:00
Daniel Martí
89f8630f12
Add share (via fdroid://details?id=app.id) button
2013-07-15 16:49:03 +02:00
Daniel Martí
234b39acb7
Add support for fdroid://details?id=app.id uris
...
Also, launch them from inside AppDetails directly
2013-07-15 15:37:24 +02:00
Ciaran Gultnieks
79b789d2c0
Merge branch 'master' of gitorious.org:f-droid/fdroidclient
2013-07-11 13:55:40 +01:00
Daniel Martí
c78ff5df30
Disable scrollbars altogether on the three main tabs
2013-07-11 13:03:22 +02:00
Daniel Martí
a46b8e8663
Revert all the fast scroll always enabled changes
2013-07-11 12:45:13 +02:00
Ciaran Gultnieks
d01afa4cb6
Use icons from old .fdroid rather than downloading if possible
2013-07-10 17:51:06 +01:00
Daniel Martí
2b4147ed9f
Hide ActionBar title on AppDetails to make space
2013-07-10 15:51:58 +02:00
Daniel Martí
194cb24d2c
Move the "Uninstall" button to the Action Bar
2013-07-10 14:23:51 +02:00
Ciaran Gultnieks
9d51cd72ac
Use proper cache storage location (issue #239 )
2013-07-10 11:34:19 +01:00
Daniel Martí
ed54b028a9
Make the icon spacing a lot easier
2013-07-09 23:33:05 +02:00
Daniel Martí
91aa4610a1
Align summary with app name on compact layout.
2013-07-09 23:25:21 +02:00
Daniel Martí
80437abcc0
Fast scroll always on and with padding only on APIs >= 11
2013-07-09 16:36:21 +02:00
Daniel Martí
3caa411390
Fast scrolling always enabled. Also, add some padding.
2013-07-09 15:22:30 +02:00
Daniel Martí
2d11283db5
Enable fast scrolling for the search results
2013-07-08 15:45:44 +02:00
Daniel Martí
5230da8d68
Fix crashes on APIs <= 16 using compactlayout
2013-07-08 14:54:42 +02:00
Daniel Martí
8762efb86b
Load compactlayout setting only once. Buildfix.
2013-07-08 14:51:28 +02:00
Daniel Martí
09d21740c8
Updates/Insalled icons in compact layout need to be updated
2013-07-08 14:32:41 +02:00
Daniel Martí
0c259673d8
non-compact stuff is now hidden by default via xml
...
Also, forgot to add the backwards compatibility for END_OF
2013-07-08 14:26:07 +02:00
Daniel Martí
4d0c4babe6
Various speedups in the app views. Compact layout still needs restarting.
2013-07-08 12:54:44 +02:00
Daniel Martí
b05e38d761
Move the search function from the menu to the actionbar in SearchResults
2013-07-08 11:46:01 +02:00
Daniel Martí
66d16bf875
Add refreshApps header
2013-07-08 11:33:30 +02:00
Daniel Martí
3ce8cbf5bd
Restore old invalidations after apk installs/uninstalls. Do not refresh the same app multiple times.
2013-07-08 11:21:36 +02:00
Daniel Martí
686403d978
Add back to home function to the actionbar icon for apis >=11 ( fixes #291 )
2013-07-07 11:10:03 +02:00
Daniel Martí
948dfa55ec
We handle market:// now, so open play.google.com directly
2013-07-07 10:27:37 +02:00