Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
DelphiRAD Studio

Easily Control Android App Permissions In Delphi With Mobile Permissions Component

easily-control-application-permissions-with-mobile-permissions-component

Since Android 6.0 Marshmallow, users can control the permissions needed by an application. And developers should maintain the accessibility of their applications by handling these permissions properly.

In this post, you’ll learn how to easily control android app permissions in Delphi using the Mobile Permissions Component and Android App Builder Software. More information about the Android Permission Module can be found on DocWiki. In DocWiki, you can also learn how to configure app permissions on the project in the IDE.

With Delphi FireMonkey you can control application permissions by creating proper functions to handle permission requests, permission results, and messages to show to the user.

Here is a simple example of how you can request permission using Delphi

But there is another approach to work with Android permissions. Mobile Permissions Component for Android helps you to write less code and manage easily. This component has the main purpose, to facilitate the request of resource permissions on Android. With just a few lines of code, it is possible to facilitate this work in mobile Android applications.

Head over and check out the Mobile Permissions Component for Android on the GetIt portal and download the component within the IDE.

embarcadero-getit-mobile-permissions-library-delphi-7558236

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

5 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES