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…


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


❓: Why do I use Dagger-Hilt🔪?

😍: Because it’s convenient to inject the object/class on any views. Second, I can use this singleton item to save time to transfer data. You don’t need to recreate a new instance in another view, save old data into a cache, and load them onto the new instance. Aren’t you working in the way that I am talking about?

😱: Blah, blah, blah! It’s a hell of the circle.

😄: Don’t worry, the Hilt can save a lot of works for you. Let’s add something to the MediaPlayer.

— === Menu === —

🐐…


Good News😍: Tutorial 4 is a real player! It loads a 52s online video🎬, so you can test the player. The C code has no much increased than Tutorial 3. It’s simpler than the other tutorial. But I like you to challenge this tutorial to decouple the C code from the activity and redesign the pattern from MVC to MVVM. Don’t you like challenges?

🤔: Yeah, can I …
🦸‍♂️: Good! Let’s begin.

— === Menu === —

🏗️ 1. Insert a Common Module 🏳………🔌 Modify Gradle 🏳………🔗 Add Shared Functions 🏳………📦 Add GStreamer.java ♋️ 2. Translate Tutorial 4 to…


😄: Don’t you like Part 2? That is an audio player without an audio file. Don’t be surprised! Part 3 has a similar method.
😲: What?
😅: It’s the video player without a video file because it broadcasts the same image repeatedly. In this tutorial, you’ll learn visual effects on the video screen.

— === Menu === —

👶 1. Make Tutorial-3 Run
👽 2
. Translate to Kotlin
🎁 3
. New View: GStreamerSurfaceView
🔀 4
. Comprare Tutorial-2 and Tutorial-3
👻 5
. How does the video play?
🎊 6
. Special Effects
📆 7
. Subtitle

👶 1. Make Tutorial-3 Run

< === Menu

If you have gone…


Let’s continue to Tutorial #2. This is a very simple 🔊 audio player. The C code is more complex than the first one. I assume that you are familiar with C/C++ 👌. Don’t worry, you’ll be known them well if you are a coder of Java or another programming language, because C is the 👸🏼 mother Queen among them. By following my steps, you’d have clear clue how the GStream audio player works. let’s dig into the Tutorial-2.

— === Menu === —

🤖 0. Update Project from Tutorial-2 to Tutorial-5 🐣 1. Purpose of Tutorial-2 🚁 2. Java to…


GStreamer is commonly found in a lot of hardware (such as Intel, NEC) and software (such as Media player). Some scientists claimed that the analysis functions of GStreamer helped them find the Gravity Wave of the universe. GStreamer is Cool!

On the site of GStreamer, it trains people how to use it freely, even in Android. However, those tutorials won’t be easily understood by newbies 😣 or lack skills in JNI and C/C++. I will break down each tutorial one by one, so you can study the GStreamer library in a better way😍.

— === Menu === —

🎬1. Prepare…

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