Help with Android Permissions

About Monkey 2 Forums Monkey 2 Programming Help Help with Android Permissions

This topic contains 4 replies, has 3 voices, and was last updated by  Mark Sibly 5 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #15683


    Hello everyone at Monkey2 community!

    I’m having problem asking at run-time Android permissions.

    I’m testing this with the following code:

    When running the program from ADB, I get following lines:

    Some remarks:

    • I don’t see “Hello Wolrd from Request Permissions…”
    • DTS, ODTC are not allowed for Package : com.monkey2.monkey2game

    The problem is: The Android device doesn’t ask permissions to READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE.

    Please, someone experienced with these things, say something about the problem.



    I made some changes to \modules\std\permissions.monkey2 and now asking permission at run-time works like a charm…



    I’d suggest opening an ‘issue’ on Github with the solution — it would help others and save you having to manually change it each time if accepted.



    I opened an issue on Github on the permissions. I attached the permissions.monkey2 as such I altered it.


    Mark Sibly

    Thank you, I will integrate this with the next binary release.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.