Tool Library permissions

Discussion in 'Additional libraries, classes and official updates' started by HotShoe, Apr 26, 2015.

  1. HotShoe

    HotShoe Well-Known Member Licensed User

    A user in the chat room asked if there was an easy way to find what permissions various libraries add to an app. There really isn't any easy way, so I created one.

    [​IMG]

    libinfo is a simple little program that lists all of your JAR libraries in the Additional Libraries directory and when you click on one, it will list all permissions that that lib will add to your app. If it does not list any permissions, then that lib does not add them or that lib does not have a corresponding XML file and is not a B4A library.

    There is no installation, just unzip it to any location on your drive and run it or create a shortcut to it on your desktop. The program is re-sizable in case some of the permissions are longer than the default window sizes.

    The zip file is a bit over 230k and is available at this link.

    Version 1.0.0 - Initial release

    --- Jem
     
  2. NJDude

    NJDude Expert Licensed User

    Awesome!
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Thank you for sharing this, however this is not the correct way to see the permissions added to your app.

    I will explain, no permission is added when you add a library. Only when you dim a variable, permissions are added based on the permissions of this specific object.

    A better way to see the permissions added is to compile your app in release mode and then click on the List Permissions button:

    [​IMG]
     
    thedesolatesoul likes this.
  4. HotShoe

    HotShoe Well-Known Member Licensed User

    Yes it only lists the POSSIBLE permissions that will be added to your app. I should have worded the post a bit better.

    --- Jem
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice