It is possible to protect API keys or any other parameters using CMake in Android projects. Using CMake, you can make your API keys (or some other parameters which you want to protect) invisible when your .apk file is decompiled.

Let’s look at how to do it.

CONTENTS

  • Install CMake simple highlighter plugin

1. In Android Studio, open File Settings Plugins and search “CMake simple highlighter” plugin under the Marketplace…


It might seem overwhelming to add a banner/interstitial ad to your project, but it is definitely not! When you read the entire article, you will be able to add ads easily.

Since every tiny detail is included in the article, it may seem that it will take too long to add a banner/interstitial ad. Actually, the whole process is not as hard as it looks :)

CONTENTS:

WHAT ARE BANNER AND INTERSTITIAL ADS?

ADD BANNER AND INTERSTITIAL ADS TO YOUR APP


Cloud Translate API is one of the most useful API which Google offers to developers. Implementation of Cloud Translate API to your project is really simple, so you can prefer to use it in your translation projects.

As we know, every beautiful thing has a price. Before implementing Cloud Translate API to your project, you can check the pricing from the link: https://cloud.google.com/translate/pricing

Important Note: The steps of getting credentials file (in JSON format) from Cloud Translation API are going to be explained in detail until step 19. …

Cansu Yeksan Aktaş

Android Developer

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