Posts

Countdown

Image
Users usually don't expect they have to queue in an app. If queueing is a must, please use Notification to tell your how long they have to wait. So they can switch to other apps. Otherwise, should the user keep this page active?

Micro Moment

Image
On mobile devices, users expect they can finish the task within a few minutes. e.g. in the metro, or in a lift.  Don't block user from using the app if the update is not critical. 

Clipboard

Image
Clipboard is NOT a secure. NEVER store information such as National ID, credit card PAN ... etc in the clipboard.

Dialogs

Image
When showing a Dialog to user, make sure the title, content, and buttons are displayed correctly. There are tips for creating Dialogs on developer.android.com.

Security with HTTPS and SSL

Image
After Let's Encrypt , the next to come is Hongkong Post Root CA . For users in HK, the impact is even larger because it is not supported by the following OS. It is affecting web browsers and app. Android 10 and below macOS iOS, iPadOS, watchOS, and tvOS Starting from Android 7.0 (API 24), developers could add a network security configuration file to  configure a custom CA .  Developer could also learn the best practices about  Security with HTTPS and SSL  from developer.android.com.

Barcode Scanning

Image
Some developer may be still using ZXing  to add barcode scanning function in their app. However, ML Kit on Android also provide barcode scanning function. And more important is, it is powered by Machine Learning. Making barcode scanning faster.

Notification

Image
Developer should always use NotificationCompat.Builder  to build a notification. Otherwise, the Notification may not be displayed property.