Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.73 KB

Readme.md

File metadata and controls

51 lines (33 loc) · 2.73 KB

Neptune\Client.Android

Client application for Android. Sends notification data (your Android device's notifications) to a remote server (the Server application).

Written in Java.
Use this as the root path for Android app development.
https://developer.android.com/studio

Dependencies: https://github.com/patrickfav/hkdf 1.1 implementation group: 'at.favre.lib', name: 'hkdf', version: '1.1.0'
https://github.com/google/gson 2.10.1, Json library implementation 'com.google.code.gson:gson:2.10.1'
https://developer.android.com/jetpack/androidx/releases/constraintlayout 2.1.4 implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
https://androidx.tech/artifacts/test.espresso/espresso-intents/ 3.5.1 androidTestImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
https://developer.android.com/jetpack/androidx/releases/test#runner 1.5.2 androidTestImplementation 'androidx.test:runner:1.5.2'
https://developer.android.com/jetpack/androidx/releases/test#rules 1.5.0 androidTestImplementation 'androidx.test:rules:1.5.0'
https://androidx.tech/artifacts/test.ext/junit-ktx/ 1.1.5 androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5'

Java version: 1.8
Min SDK: 23
Target SDK: 32
Compile SDK: 32

Building

Open this folder in Android Studio.
To run, use the toolbar in the upper right of Android Studio. Run toolbar in Android Studio

To build, select the "Build" drop down menu -> "Build Bundle(s) / APK(s)" -> "Build APK(s)" Build APK

See Android's build and run your app for more information.

Testing

Testing is done using Android Studio.\

  1. Expand ./app/java/ in Android Studio.
  2. Right click the green com (androidTest)folder. (Neptune/Client/Android/app/src/androidTest/java/com/neptune/app)
  3. Click Run 'Tests in 'com'' this will run behavioral and unit tests inside an emulator or connected device

Run requiring Android

  1. Right click the green com (test) folder. (Neptune/Client/Android/app/src/test/java/com/neptune/app)
  2. Click Run 'Tests in 'com'' this will run unit tests that are not require to run on Android

Run tests NOT requiring Android