Harmony OS = HongMeng OS 鸿蒙
Its Ark Compiler (方舟) supports Java, Javascript, Google’s Kotlin, C/C++, runs 60% faster than in Android JVM.
Huawei announces HarmonyOS, an open-source platform for every device
Harmony OS = HongMeng OS 鸿蒙
Its Ark Compiler (方舟) supports Java, Javascript, Google’s Kotlin, C/C++, runs 60% faster than in Android JVM.
Huawei announces HarmonyOS, an open-source platform for every device
https://www.androidauthority.com/lets-build-custom-keyboard-android-832362/
Videos Demo:
1. Android Studio3: Choose “No Activity Template” since we don’t create any activity, so no need MainActivity.java and activity_main.xml. xml
2. AndroidManifest. xml insert permission, service and meta-data as shown in video.
References:
1. InputMethod:
https://developer.android.com/guide/topics/text/creating-input-method.html
2. AndroidManifest. xml
https://android.googlesource.com/platform/development/+/master/samples/SoftKeyboard/AndroidManifest.xml
3. ON-Screen Sizes Adjustment: App vs Keyboard
https://android-developers.googleblog.com/2009/04/updating-applications-for-on-screen.html
4.
https://github.com/codepath/android_guides/wiki/Working-with-the-Soft-Keyboard
Xamarine is based on MS Visual Studio to build both IOS and Android Mobile apps with the same codes in C#.
Caveat is the language is C#, slightly less verbose than Java, not functional programming like Kotlin or Scala.
Explore Xamarine / C# if you are from the old Object-Oriented school of programming.
If you are a Mac user, then sorry Xamarine/Visio Studio/.Net / C# only run on PC Windows.
https://www.androidauthority.com/xamarin-cross-platform-android-development-817516/
1) Design a soft keyboard
https://code.tutsplus.com/tutorials/create-a-custom-keyboard-on-android–cms-22
2) recyclerView
https://www.raywenderlich.com/126528/android-recyclerview-tutorial
https://www.raywenderlich.com/170075/android-recyclerview-tutorial-kotlin
3) ProGuard (Shrink Apps Code Size to remove unnecessary support libraries)
Key tips:
Android development in Java is a pain for programmers, although an alternative “Kotlin” (version 1.03) is supported officially since May 2017, Java is still the hate-and-love MUST tool if you want to develop Android apps for the near future.
http://www.androidauthority.com/android-app-development-courses-780232/
If you want to develop mobile apps on android devices, you have no choice but to learn Java — the Android core lingo.
Here is the list of free Java and Android resources:
https://plus.google.com/wm/1/app/basic/stream/z12ethmqksm1hzhgh04cjxnjumelyr2xe0c
Free online BEST Java Book: Thinking in Java (3rd Edition)
Google’s new language Go is invented to replace Java, hence free from Oracle’s threat of Java license in all Android Smartphones.
Go Language is invented by Ken Thompson, the father of Unix and B language, which was transformed into the famous C language by his Bell Lab’s teammate Dennis Ritchie.
Go impresses me of its concurrency best suitable for parallel programming, given today’s most hardware including smartphones are made of multi-core CPU, yet none of today’s languages is designed inherently to take advantage of it, even Java.
If we can say Cobol is for the 1st generation Mainframe computing, C the 2nd generation Unix-based Minicomputer computing, Java the 3rd generation Client-Server computing, then Go will be the 4th generation Mobile-Cloud computing.
Try the Go simulator here:
http://golang.org
Note 1: Do not confuse with another Agent-based language “Go! “, differs by “!” sign.
Note 2: Review of Go multicore concurrency feature:
http://mobile.eweek.com/developer/google-go-lets-developers-work-more-with-multicore-parallel-computing