List Headline Image
Updated by Victor Celer on Feb 21, 2022
Headline for Android programming: advanced tips and tricks
Victor Celer Victor Celer
8 items   2 followers   13 votes   10 views

Android programming: advanced tips and tricks

A collection of free open source projects and articles for Android developers. How to build an app without using an IDE? How to generate a unique device identifier? How to mitigate security threats? How to use the SIMcard as a security module?


How to build an Android APK from the command line?

How to build an Android APK from the command line, without using an IDE. This can be useful to create your own app builder, to learn how the SDK works under the hood or to customize the building process.

How to build an AAB bundle from the command line?

This simple project shows how to build an Android App Bundle (AAB) using the command line tools only, without any IDE. The AAB bundle is the preferred format for Google Play.

How to Generate Unique Android Device Identifiers

This article presents various methods to generate a unique Android device identifier: android_id, Bluetooth MAC, timestamp. A combination of such methods should cover most of the cases.

Using the SIMcard as a Security Module (HSM)

The SIMcard can be used as a security module in Android applications. It is possible to store keys inside the SIM, encrypt sensitive information, among other uses. The SIMcards are devices designed to resist any hacking attempt. These devices include automatic locking mechanisms to protect sensitive information.

Security vs. Usability in Android Apps

About the balance between security and usability in Android applications, alternative authentication technologies, web-app interfaces. One of the greatest app development problems is the balance between ease of use and functional load.

Reverse Engineering Mitigation in Android Apps

If the app is updated frequently and its cost is low, this app would be less attractive to the pirates. However, even free apps are distributed illegally. The pirates can inject different kinds of malware into the app to steal the users' personal information, passwords, ...

Android Permissions Control

The evolution of the Android permissions control; install-time permissions vs. runtime permissions; carrier privileges. If you're developing for mass use, it's important to reduce the use of permissions, especially sensitive permissions.

Open yet Secure Platforms

Security concerns in Android, as an open platform. The balance between security and permissiveness in different Android versions. Keeping Android open, while counteracting the security threats, is one of the greatest challenges for Google.