Android Question B4XPage

Sergey_New

Well-Known Member
Licensed User
Longtime User
I started using B4XPage and ran into a problem creating an application folder on my phone.

B4X: Copy
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    Root.LoadLayout("MainPage")
    rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
    Wait For B4XPage_PermissionResult(permission As String, Result As Boolean)
    Log(Result)
    File.MakeDir(File.DirRootExternal, "test")
End Sub
There is permission in the manifest.
The folder was not created.
 

Attachments

What is your TargetSDK in manifest?
Private app or for Google play?
 
Upvote 0
Try setting it to 26.
Anyway the problem it's not related to B4XPages.
 
Upvote 0
Try lowering to 26
I tried it, the folder appeared. It’s strange, it works on B4A on version 29. What needs to be done so as not to downgrade the version?
 
Upvote 0
Thanks, it works with version 29, but no higher.
 
Upvote 0

Similar Threads

Replies
8
Views
17K
Replies
2
Views
13K
Replies
22
Views
42K
  • Locked
  • Article Article
Replies
4
Views
23K
Back
Top