Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: README.md

Issue 29379647: Issue 4948 - add possibility to not send data depending on connection properties (Closed)
Left Patch Set: updated dependency to libadblockplus-binaries Created March 28, 2017, 5:50 a.m.
Right Patch Set: updated dependency to binaries, updated comment for allowed connection type Created March 30, 2017, 2:12 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | dependencies » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 Adblock Plus Library for Android 1 Adblock Plus Library for Android
2 ================================ 2 ================================
3 3
4 An Android library project, tests and demo application for AdblockWebView widget . 4 An Android library project, tests and demo application for AdblockWebView widget .
5 5
6 ## Updating the dependencies 6 ## Updating the dependencies
7 7
8 Adblock Plus for Android has dependencies that aren't in this repository. 8 Adblock Plus for Android has dependencies that aren't in this repository.
9 To update those, call: 9 To update those, call:
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: 75 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.:
76 76
77 sdk.dir = /some/where/sdk 77 sdk.dir = /some/where/sdk
78 ndk.dir = /some/where/ndk 78 ndk.dir = /some/where/ndk
79 79
80 In the project root directory run: 80 In the project root directory run:
81 81
82 ./gradlew assembleDebug 82 ./gradlew assembleDebug
83 83
84 This will generate *.aar library artifact in the 'libadblockplus-android/build/o utputs/aar/' directory. 84 This will generate *.aar library artifact in the 'libadblockplus-android/build/o utputs/aar/' directory.
85
86 **Android permissions note**
87
88 An app that uses the library have to add the following permissions to `AndroidMa nifest.xml`:
89 * `<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>`
90 * `<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>`
91
92 (added automatically if building with Gradle or should be added manually otherwi se).
85 93
86 ## Library tests 94 ## Library tests
87 95
88 Android tests for the library. 96 Android tests for the library.
89 You can find them in the 'libadblockplus-android-tests' directory. 97 You can find them in the 'libadblockplus-android-tests' directory.
90 98
91 ### Requirements 99 ### Requirements
92 100
93 Make sure _Library_ requirements are present. 101 Make sure _Library_ requirements are present.
94 102
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 295
288 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry. 296 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry.
289 297
290 #### Building with Gradle 298 #### Building with Gradle
291 299
292 In the project root directory run: 300 In the project root directory run:
293 301
294 ./gradlew assemble 302 ./gradlew assemble
295 303
296 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory. 304 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory.
LEFTRIGHT
« no previous file | dependencies » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld