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
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:
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. …
Android Developer