Hiding Business Rules in the NDK

Many Android apps contain business logic that may have taken many years to develop, and not understanding the repercussions of others being able to decompile your Android app means essentially giving away all that work for free.

Some examples that I’ve come across recently are connecting to a Bluetooth device in a car that had a proprietary data stream and connecting to a VoIP server API to make phone calls. The value of both of these apps is based on the business logic to allow the user to easily connect to external systems. The apps are not as attractive anymore if there are other cheaper apps on the marketplace that have copied this code.

The Native Developer Kit (NDK) enables developers to write code as a ...

Get Bulletproof Android™: Practical Advice for Building Secure Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.