nc-wc-ndk_pub/docs/weekly_2019-02-11.rst

82 lines
2.1 KiB
ReStructuredText

===============
Weekly Progress
===============
=======
WORKING
=======
* UI: Activity: plaintext, encrypt
* NC: add more tests
Flutter
=======
* flutter doctor
- cofigured for android
- installed to /Users/j3g/apps/flutter
- sym-linked to /usr/local/bin/flutter
- CocoaPods setup (seems very large 2+ GB !!)
* https://flutter.dev/docs/get-started/codelab
* https://flutter.dev/docs/reference/tutorials
* https://flutter.dev/docs/resources/videos
Android Layouts
===============
* Android ConstraintLayout 1.1.3
- Design + Blueprint
- attach the constaints, use margins, use the bias too
- app:layout_constraintHorizontal_bias="0.2"
* android:theme="@style/Theme.AppCompat.NoActionBar"
Android Theme
-------------
* Generate Icons, Labels
- https://jgilfelt.github.io/AndroidAssetStudio/icons-launcher.html
- https://romannurik.github.io/AndroidAssetStudio
* https://developer.android.com/guide/topics/ui/look-and-feel/themes
* Base.Theme.AppCompat
NOTES
=====
* Debug Android binaries:
- https://resources.infosecinstitute.com/guide-debugging-android-binaries/
* Android Library: https://developer.android.com/studio/projects/android-library
* Android Dependencies: https://developer.android.com/studio/build/dependencies#duplicate_classes
* NDK Obfuscation: https://github.com/Fuzion24/AndroidObfuscation-NDK
* NDK SWIG example: https://github.com/sureshjoshi/android-ndk-swig-example
COMPLETED
=========
* NC: added JNI connection code for all crypto
* Create Two Projects
- nc-wc-ndk (remove android GUI code)
- all crypto-core, java wrapper code, for copius+cipher+chain
- add mods to wolfssl-oem, mod AES "s-boxes", figure out 512bit key AES
- ccc-gui-a (android GUI)
- pretty user interface for the crypto-core
* test JNI lib !!! =)
- try some java code that will call a C-hook
* create distributed library package
- generage wolfssl-jni.aar
ISSUES
======
* how to include NDK ABI Libs and also java class files??
- use a ".aar" file, it is generated from gradle
- ./build/outputs/aar/.aar
- apply plugin: 'com.android.library'