androidabe

git clone git://git.codymlewis.com/androidabe.git
Log | Files | Refs | Submodules | README

README.md (1057B)


      1 # Android ABE
      2 An experimental android application implementing an Attribute Based Encryption
      3 policy.
      4 
      5 ## Quick-Start
      6 With docker installed, pull the image with:
      7 ```sh
      8 docker pull codymlewis/androidabe:0.0.1
      9 ```
     10 
     11 Then to run the application in both a wear OS emulator and phone emulator:
     12 ```sh
     13 docker run codymlewis/androidabe:0.0.1
     14 ```
     15 ## Building your Own Version
     16 ### Requirements
     17 - Android SDK 29
     18 - Android NDK 21.1.6352462
     19 
     20 Then either the sdk cmdline-tools for a command line setup, or android studio
     21 for a GUI setup
     22 
     23 ### Setup
     24 run the following to get required submodules and clean some possible duplicate
     25 files:
     26 ```sh
     27 ./setup.sh
     28 ```
     29 
     30 Now you have two options for building and running
     31 
     32 ### Command Line
     33 #### Build
     34 Build the apks with:
     35 ```sh
     36 ./gradlew build
     37 ```
     38 
     39 #### Run
     40 Start up and run the application on a phone and smartwatch emulator with, this
     41 assumes that you have set up a phone emulator named phone, and wear OS emulator
     42 named watch:
     43 ```sh
     44 ./run.sh
     45 ```
     46 
     47 ### Android Studio
     48 Open this root folder from Android Studio, you can then build and run