Author Archives

Smart switch Hunonic

Hello everyone, Currently I am making all kinds of smart switches Hunonic, This is the first step in a chain of Vietnamese smart home projects. Smart switch Hunonic allows you to control on smartphones and on the luxurious touch surface. Smartphone controls will help us a lot, especially when we want to […]

Android studio terminal adb on mac

I was try many, it run when setup, but after restart Android studio, terminal error adb command not found and I must setup again. Now I found way to make it run forever. Step 1: Open terminalStep 2: Create ~/.zshrc file by command: Step 3: Open this file and paste 2 lines, save and now it work forever.

Consulting experience programming

As a beginner programmer, especially the freshman, you or ask: he only children to learn programming, I ask him for less experienced programmers to learn. Hopefully this will help some of you have concerns similar to the conversation between himself (the right) and a beautiful girlfriend first year (left side). a military salute Alo e e […]

How to create a library for others to use Android

Hello everyone, Have you ever asked the android library in dependencies that you use other people, they create them how? Today I will teach you how to create and publish android library for others to use. And of course, you also have a minimum of a library for their many shared projects, support to rewrite or copy the resulting […]

Fix drawableStart resource not found API 19

Today try running on Android 4.4 (api 19) drawableStart resource is not found faulty API 19 taking drawableStart for TextView: android.content.res.Resources$NotFoundException: File res / drawable / drawable resource from ic_add.xml ID # 0x7f020 I checked back in build.gradle file has support vector as below but still pulled: Finally I was overcome by using library version 1.1.0-alpha01 appcompat (or later) implementation “androidx.appcompat:appcompat:1.1.0-alpha01” Then replace TextViews […]

[Java log] P3: Logging asynchronously to the database using ExecutorService

Articles published from blog Tung Huynh, was the consent of the author. Hello everyone, in 2 previously on logging[Java log] P1: The importance of logging in software development[Java log] P2: Log4j integrated into the memminh mentioned the importance of logging, some principles when logging, and guidance on how to integrate a program log4j […]

[Java log] P2: Log4j integrated into the software

Articles published from blog Tung Huynh, was the consent of the author. Hi everybody, at all before ([Java log] P1: The importance of logging in software development) I have shared the importance of logging and some guidelines when logging. This article I will guide how to integrate a basic module to the application log. You should get into the habit […]

[Java log] P1: The importance of logging in software development

Articles published from blog Tung Huynh, was the consent of the author. Hi everybody. These days, busy too, enlist new forever be sitting writing. Today I will share their experiences related to the issue of logging in software development. What is log? Comes to logging, it must have many of you know this is a work flow […]

Git – Some commonly used commands

Use one of the local branch delete 2 command: git branch -d branch_name branch_namegit branch -D option -d stands –delete, will remove branches, only when you push it with the remote and branch merger (on the server). your. -D option stands –delete –force, deleted branches despite the push state and merger did or not, so be careful when using this! […]

Learn about pathData of VectorDrawable in Android

Translated and edited articles from: Authors Ali Muzaffar medium.com Open any VectorDrawable an xml file you will see a number of cryptic characters in attribute pathData. Those who work regularly with paths can understand it and explain it to you know it draw something. Those who do not do much, it will be a mystery. What is VectorDrawable VectorDrawable is […]