Skip to content

zdavatz/AmiKo-Android

Repository files navigation

AmiKo-Android

Build

make amiko or make comed.

To create .aab App Bundle:

make bundleAmiko make bundleComed

these will also download the all the files (DB, Report and Interactions).

run make -B amiko to rebuild.

Setup for Android Studio

This setup is gradle based.

1. Install Android Studio

https://developer.android.com/studio/

2. Open Project with Android Studio

3. Database

databases are in

src/amiko/assets/ form here: http://pillbox.oddb.org/amiko_db_full_idx_de.zip (AmiKo, DE) src/comed/assets/ from here: http://pillbox.oddb.org/amiko_db_full_idx_fr.zip (CoMed, FR)

3.1 Full text search database

src/amiko/assets/ form here: http://pillbox.oddb.org/amiko_frequency_de.zip (AmiKo, DE) src/comed/assets/ from here: http://pillbox.oddb.org/amiko_frequency_fr.zip (CoMed, FR)

4. Report File

report files are in

src/amiko/assets/ from here: http://pillbox.oddb.org/amiko_report_de.html (AmiKo, DE) src/comed/assets/ from here: http://pillbox.oddb.org/amiko_report_fr.html (CoMed, FR)

5. Constants.java

in Constants.java set APP_VERSION, GEN_DATE and DB_VERSION to build with Intellij this does not have to change.

5.1 HIN Credentials

Copy src/main/java/com/ywesee/amiko/hinclient/HINClientCredentials.java.sample to HINClientCredentials.java, and fill in the fields.

6. AndroidManifest.xml

in AndroidManifest.xml increase versionName (=APP_VERSION in Constants.java)

7. Launch Icon Desitin

change android:icon to @drawable/ic_launcher

in these locations:

res/layout/splash_screen.xml
res/values/styles.xml

License

GPLv3.0