
Solves issue # 453. Previously, it was reading one line at a time of the index file. Turns out that the entire index is only on about 5 lines, thus the 5th line is about 2mb. The solution here is to switch to reading a fixed length of 4096 characters at a time rather than entire lines. This ends up a bit more complex (because I wrote a custom tokenizer rather than being able to use Java String methods such as indexOf). There are still other memory issues on low memory devices, to do with trying to parse ~1000 app value objects into memory, each with numerous string objects associated with them. But that particular issue will be solved in the future, with the ContentProvider stuff.
F-Droid Client
Client for F-Droid, the Free Software repository system for Android.
Building from source
The only required tools are the Android SDK and Apache Ant.
git submodule update --init
./ant-prepare.sh # This runs 'android update' on the libs and the main project
ant clean release
The project itself supports Gradle, but some of the libraries it uses don't. Hence it is currently not possible to build F-Droid with Gradle in a clean way without manual interaction.
Direct download
You can download the application directly from our site.
Contributing
You are welcome to submit Merge Requests via the Gitorious web interface. You can also follow our Issue tracker and our Forums.
Translating
The locale
dir is automatically updated via the
android2po tool, and translations
are pulled from our Pootle translation server at
f-droid.org/translate. You should only add or
remove strings in the res/values/
dir, since all the res/values-*
dirs are
also generated automatically.
License
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.