MarcoRome Expert Licensed User Longtime User Mar 26, 2017 #1 Hi @Erel, All Talking with some colleagues in the Italian forum we have some questions raised: This code B4X: AddPermission(android.permission.READ_EXTERNAL_STORAGE) and this B4X: AddManifestText(<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"...../>) it should be the same. Using AddPermission appears in the "Permission List" ( Log Window ) using AddManifestText NOT results in the "Permission List" Why ? Thank you
Hi @Erel, All Talking with some colleagues in the Italian forum we have some questions raised: This code B4X: AddPermission(android.permission.READ_EXTERNAL_STORAGE) and this B4X: AddManifestText(<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"...../>) it should be the same. Using AddPermission appears in the "Permission List" ( Log Window ) using AddManifestText NOT results in the "Permission List" Why ? Thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2017 #2 MarcoRome said: Why ? Click to expand... The compiler doesn't parse the string added in AddManifestText. It just adds it, as is, to the manifest file. You should use AddPermission to add permissions. Upvote 0
MarcoRome said: Why ? Click to expand... The compiler doesn't parse the string added in AddManifestText. It just adds it, as is, to the manifest file. You should use AddPermission to add permissions.