😀: Five thousand-year ago, priests of the Chinese tribes had practiced meditation. Around one thousand year-ago, a Dao master🎓 who was a religious leader, LuDongBin(吕洞宾) collected teachings of meditation and simplified them to educate his students. His student recorded his teaching into a book, TaiYiJinHuaZongZhi — — 太乙金华宗旨 or Das Geheimnis der Goldenen Blüte: ein chinesisches Lebensbuch in German, as the main teaching material of Dao in the 🧭northern region of China.

To be honest, I have not opened the third eye, yet. I will update this story with pictures to describe what I have seen.

Chapter 1 —— 第一章

自然曰道,道无名相,一性而已,一元神而已

Dao is the…


It’s important to hide your secured information in your Android apps, such as an API key or token. The local.properties is a great file to store this kind of information. It’s not a problem to store in a different file but you need to manually insert the file name into configuration.

— === M e n U === —

🍓 1. Why use local.properties?
🐾 2.
Add a Property in Build.Gradle
🐩 3.
Use the New Property
🐝 4.
Other Choice: gradle.property

🍓 1. Why use local.properties? …… → Menu

Let’s open the Project View of your app, and open the .gitignore file.

*.iml .gradle /local.properties /.idea/caches /.idea/libraries /.idea/modules.xml /.idea/workspace.xml /.idea/navEditor.xml /.idea/assetWizardSettings.xml .DS_Store /build /captures…

😄: Relax…Let’s play 5x5 Mageminx at the weekend. Uh…Actually, this is a different type of code in cubie shape. I will make cube-turns looking like a programming code.

Cube’s Rotation: ↩️ → Variable; ↪️ → Variable`

— === MENU === —

💙 1. Build Around the Hearts ➗ 2. Form the Edges ✔️ 3–1. Diagonal Swap of Edge Pieces (R → L) ✔️ 3–2. Diagonal Swap of Edge Pieces (L → R) 👶 4. Create the First Face 🐣 5. Second Layer 🐋 6. Third Layer 🍋 7. Last Layer: Flip Edges 🍉 8. Last Layer: Flip Corners 🍑 9. Edges Permutation 🍓 10. Matching…


It’s 😓hard to get LiveData into the JobIntentService or any service library in a normal way. I assume that you have built your service file as YouIntentService.kt. After you start the service in an activity or fragment, You cannot monitor that service status from UI📵 because it is running in a background thread. In MVVM, you may want to get the LiveData into the service file. The system will keep fetch you an ❌error message that LiveData has not initialed through a function. You may want to inject the LiveData through the constructor. Another error will pop up that service…


You cannot test Ktx ViewModel directly if you switch from val to var. The system will give you a ❌ RED flag at once. Unless we wrap it up with a lazy function. Here is my process with my example:

— === Menu === —

🔌1. Gradle.Module
🔑2.
Add ProvideModel Function
⚜………………………..⭐ProvideViewModel.kt
🔬 3.
Test the ViewModel
⚜………………………..🏭 Fragment Factory
⚜………………………..✔️ LiveData Support Function
⚜………………………..✅ Test the ViewModel

🔌1. Gradle.Module …… → Menu

Add this line to your Gradle.module:

// Kotlin Reflect
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"

🔑2. Add ProvideModel Function …… → Menu

With Google ViewModel Ktx version, for example,

val viewModel: ShoppingViewModel by viewModels()

You can not test this viewModel in the test case. …


This is probably the third time I write about Retrofit. It’s easy to create a new Android app today with Retrofit library. You can open the Android Studio, insert your cloud package like this,

Right? They are POJO classes + Service file. Very easy👍, the problem is that you don’t know whether those codes were working. Yeah! You will have this doubt until your app is running. This burden is ❌not OK. That can cause your heart attack or digestion problem. Because you don’t know when you can run your first trial, maybe hours or even days. …


If you have visited Hilt test guide, you shall know that Fragment container won’t work in Hilt because of @AndroidEntryPoint. I have tried on the Hilt-Fragment test method for a while. I found that is not hard to get around.

— === Menu === —

🌐 1. Download Files
🔨 2.
Gradle Setup
📁 3.
Folder Setup
………………
debug folder
………………java folder
………………package
📌 4.
Install the Files
………………
Insert HiltTestActivity.kt
………………
Insert debug AndroidManifest.xml
………………
Insert HiltExt.kt
🔬 5.
Test the Fragment

🌐 1. Download Files ……Menu

You can download the files from Mitchtabian or Google:


In my opinion, this 🐛buggy 🏄MotionLayout is worth trying, not because I have to send tens of bugs back to Google in one day.

😱: What?! Are you sure?
👦🏻: You don’t have to. I often got a response email about it’s redirected to which group. No answer yet, Rome was not built in one day.

Ignored those bugs, the MotionLayout is a super easy tool to make the animated UI with two stops. Here is my today’s plan:

A resizable SAT Scores Board.

— === Menu === —

👣1. Linear Motion 🙌 2. Prepare the Components 🟢 3. Line Up in the First Layer 🌄 4. Design a ConstraintSet


Update:/

Here is my interview collection. It’s growing up because you🤔 have no clue who's hiring manager🐱 will ask 🐮. I guess that you have the same face as the cow does.

— === Menu === —

👤 0. Personal + Software Design(Agile)
🕊……….✔️ Android Experience
🕊……….❓ Questions at the end
🕊……….🐣 Advantages of Android 11
🕊……….🌿 Android Methodologies

🏗️ 1. Android Framework ⏱……….©️ Application components ⏱……….💠 Android Framework ⏱……….🏭 Android Architecture ⏱……….🗼Android Architecture Components ⏱……….🚀Android Jetpack ⏱……….❓ Simple Q: Context, Activity, Fragment ⏱……….👁‍🗨 ViewModel ⏱……….♐️ Project Structure ⏱……….©️ Components → New Android project ⏱……….🔧 Android SDK…


If you have trouble 😟 understanding the Android Tutorials of GStreamer, you can wind back to the C basic Tutorials, which have more detail 😇 to describe how the GStreamer plugin works 🛠.

— === Menu === —

🍬1. Download 1.8.13
♖…………➕ Path: Add bin Directory
♖…………➕ System variable
♖…………📹 CMD — — Video Test
♖…………🏓 CMD — — Pingpong Test
🍖 2
. Download the Tutorials
👨‍💼 3
. VS2019 — — tutorials.sln
🐭4
. Fix basic-tutorial-1
♖…………👷🏿 Working Directory
♖………… ⎌ C++ Additional Include
♖…………📞 Linker
👨‍🏫5. Analyze basic-tutorial-1
♖…………3️⃣ Variables
♖…………⚗️ Source
♖…………🚚 bus → Express Mail
♖…………♻️ Recycle
👻6
. Test with the Wrong Link

🍬1. Download 1.8.13 …… →Menu

Homan Huang

Computer Science BS from SFSU. I studied and worked on Android system since 2017. If you are interesting in my past works, please go to my LinkedIn.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store