Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 Adblock Plus for Samsung Internet | 1 Adblock Plus for Samsung Internet |
2 ================================= | 2 ================================= |
3 | 3 |
4 A content blocker application that serves our filter lists to Samsung's | 4 A content blocker application that serves our filter lists to Samsung's |
5 content blocker enabled internet browser. | 5 content blocker enabled internet browser. |
6 | 6 |
7 | 7 |
8 Building with Gradle | 8 Building with Gradle |
9 -------------------- | 9 -------------------- |
10 | 10 |
11 #### Requirements | 11 #### Requirements |
12 | 12 |
13 - [Android SDK][1] | 13 - [Android SDK][1] |
14 - Android Build Tools 25.0.3 * | 14 - Android Build Tools 25.0.3 * |
15 - Java 7 | 15 - JDK 7 or above |
anton
2017/05/10 06:16:52
It may be not clear a bit - i'd prefer to write "J
diegocarloslima
2017/05/10 14:27:22
Acknowledged.
| |
16 | 16 |
17 \* Edit `buildToolsVersion` in the root `build.gradle` to change the Build Tools version, if necessary. | 17 \* Edit `buildToolsVersion` in the root `build.gradle` to change the Build Tools version, if necessary. |
18 | 18 |
19 #### Building | 19 #### Building |
20 | 20 |
21 - In the root dir, create a `local.properties` file and set the `sdk.dir=/your/p ath/here` | 21 - In the root dir, create a `local.properties` file and set the `sdk.dir=/your/p ath/here` |
22 - From the root dir, run `./gradlew assembleDebug`. This will generate an .apk f ile in the `adblockplussbrowser/adblockplussbrowser/build/outputs/apk` dir. | 22 - From the root dir, run `./gradlew assembleDebug`. This will generate an .apk f ile in the `adblockplussbrowser/adblockplussbrowser/build/outputs/apk` dir. |
23 | 23 |
24 Importing into Android Studio | 24 Importing into Android Studio |
25 ----------------------------- | 25 ----------------------------- |
26 | 26 |
27 #### Requirements | 27 #### Requirements |
28 | 28 |
29 - [Android SDK][1] | 29 - [Android SDK][1] |
30 - [Android Studio][3] | 30 - [Android Studio][2] |
31 - Android Build Tools 25.0.3 * | 31 - Android Build Tools 25.0.3 * |
32 - Java 7 | 32 - We're compiling against Android API 25, so make sure you have that one |
33 installed. | |
34 - JDK 7 or above | |
33 | 35 |
34 \* Edit `buildToolsVersion` in the root `build.gradle` to change the Build Tools version, if necessary. | 36 \* Edit `buildToolsVersion` in the root `build.gradle` to change the Build Tools version, if necessary. |
35 | |
36 We're compiling against Android API 25, so make sure you have that one | |
37 installed. | |
38 | |
39 | 37 |
40 #### Importing | 38 #### Importing |
41 | 39 |
42 Open Android Studio and select *Open an existing Android Studio Project*, then n avigate to the `adblockplussbrowser` dir. | 40 Open Android Studio and select *Open an existing Android Studio Project*, then n avigate to the `adblockplussbrowser` dir. |
43 | 41 |
44 Importing into Eclipse | 42 Importing into Eclipse |
45 ---------------------- | 43 ---------------------- |
46 | 44 |
47 #### Requirements | 45 #### Requirements |
48 | 46 |
49 - [Android SDK][1] | 47 - [Android SDK][1] |
50 - [Eclipse][4] | 48 - [Eclipse][3] |
51 - ADT (Android Developer Tools), available via *Eclipse Marketplace* | 49 - ADT (Android Developer Tools), available via *Eclipse Marketplace* |
52 - Java 7 | 50 - We're compiling against Android API 25, so make sure you have that API |
53 | 51 installed. |
54 We're compiling against Android API 25, so make sure you have that API | 52 - JDK 7 or above |
55 installed. | |
56 | 53 |
57 #### Importing | 54 #### Importing |
58 | 55 |
59 Choose *File*->*New*->*Other*->*Android*->*Android Project from Existing Code*, | 56 Choose *File*->*New*->*Other*->*Android*->*Android Project from Existing Code*, |
60 then navigate to the `adblockplussbrowser/adblockplussbrowser` dir. | 57 then navigate to the `adblockplussbrowser/adblockplussbrowser` dir. |
61 | 58 |
62 | 59 |
63 Testing | 60 Testing |
64 ------- | 61 ------- |
65 | 62 |
66 To test the whole functionality of the application you will need a Samsung | 63 To test the whole functionality of the application you will need a Samsung |
67 Android device with Android 5.0+ (Lollipop) and Samsung Internet 4.0+. | 64 Android device with Android 5.0+ (Lollipop) and Samsung Internet 4.0+. |
68 | 65 |
69 Emulators won't help you here, unfortunately. | 66 Emulators won't help you here, unfortunately. |
70 | 67 |
71 | 68 |
72 [1]: http://developer.android.com/sdk/ | 69 [1]: http://developer.android.com/sdk/ |
73 [2]: https://ant.apache.org/ | 70 [2]: https://developer.android.com/studio/index.html |
74 [3]: https://developer.android.com/studio/index.html | 71 [3]: https://eclipse.org/ |
75 [4]: https://eclipse.org/ | |
LEFT | RIGHT |