A content blocker application that serves our filter lists to Samsung's content blocker enabled internet browser.
- Android SDK
- Android Build Tools 25.0.3 *
- JDK 7 or above
* Edit buildToolsVersion in the root build.gradle to change the Build Tools version, if necessary.
- In the root dir, create a
local.propertiesfile and set thesdk.dir=/your/path/here - From the root dir, run
./gradlew assembleDebug. This will generate an .apk file in theadblockplussbrowser/adblockplussbrowser/build/outputs/apkdir.
- Android SDK
- Android Studio
- Android Build Tools 25.0.3 *
- We're compiling against Android API 25, so make sure you have that one installed.
- JDK 7 or above
* Edit buildToolsVersion in the root build.gradle to change the Build Tools version, if necessary.
Open Android Studio and select Open an existing Android Studio Project, then navigate to the adblockplussbrowser dir.
If new strings that require translation have been added to the project, the gradle task uploadTranslationsSourceFile() must be started manually. It uploads the strings.xml file to the XTM backend and the C&T team is automatically notified that new translations are needed. In case of a successful upload, you should see an according status message printed out.
To test the whole functionality of the application you will need a Samsung Android device with Android 5.0+ (Lollipop) and Samsung Internet 4.0+.
Emulators won't help you here, unfortunately.