mirror of https://github.com/PurpleI2P/i2pd.git
Browse Source
tabulation fixes configparser to comments dont need pre init webview readme changes delete submodules webview in main menu webview pre init delete modules delete submodulespull/1479/head
potatowipedlifereverse
5 years ago
7 changed files with 60 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||||
|
# how to compile? |
||||||
|
## Install the gradle + NDK or use android-studio |
||||||
|
[![https://gradle.org/install/]](https://gradle.org/install/) |
||||||
|
|
||||||
|
## Install the depencies |
||||||
|
``` |
||||||
|
git clone https://github.com/PurpleI2P/Boost-for-Android-Prebuilt.git -b boost-1_72_0 |
||||||
|
git clone https://github.com/PurpleI2P/android-ifaddrs.git |
||||||
|
git clone https://github.com/PurpleI2P/OpenSSL-for-Android-Prebuilt.git |
||||||
|
git clone https://github.com/PurpleI2P/MiniUPnP-for-Android-Prebuilt.git |
||||||
|
``` |
||||||
|
## Set libs in jni/Application.mk on 24 line: |
||||||
|
``` |
||||||
|
# change to your own |
||||||
|
I2PD_LIBS_PATH = /home/user/i2pd/android/ |
||||||
|
``` |
||||||
|
|
||||||
|
## compile apk file |
||||||
|
gradle clean assembleRelease |
@ -0,0 +1,13 @@ |
|||||||
|
<LinearLayout android:id="@+id/layout_prompt" |
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||||
|
android:layout_width="fill_parent" |
||||||
|
android:layout_height="fill_parent" |
||||||
|
tools:context=".I2PDActivity"> |
||||||
|
|
||||||
|
<WebView |
||||||
|
android:id="@+id/webview1" |
||||||
|
android:layout_width="fill_parent" |
||||||
|
android:layout_height="fill_parent"/> |
||||||
|
|
||||||
|
</LinearLayout> |
Loading…
Reference in new issue