Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Camera and Microphone permissions on Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8529

    Jan

    Hey,

    my game wants to have camera and microphone permissions on Android. I would really like to cut that communication line , as extended permissions keep people from installing the game.

    I’ve got the Chartboost and Facebook plugins installed and therefore added the following permissions to the Android Manifest:

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

    How can I disable Camera and Microphone permissions?

    Thanks in advance,

    drosophila

    #8530

    Alex
    Felgo Team

    Hi,

    the permissions are automatically added by Qt as long as your AndroidManifest.xml file contains the line

    <!-- %%INSERT_PERMISSIONS -->

    Removing the line should fix the issue.

    Best,

    Alex

     

    (The permissions are actually only needed if you use Qt Mobility APIs).

    #8531

    Jan

    Thanks! Works just fine. Although I have to confess, that I don’t quite get, why the absence of a “comment” in XML makes a difference to the binary ­čÖé

    • This reply was modified 5 years, 10 months ago by  drosophila.
Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.