aaronk Well-Known Member Licensed User Longtime User Jan 14, 2016 #1 Hi, I have been following the tutorial on adding items to the settings app: https://www.b4x.com/android/forum/t...gs-to-the-default-settings-app.48778/#content I have looked at the Gmail iOS app and found that it has a version label in it's settings screen. I can't seem to work out how they added this version label (also noticed a few other apps having this). It's like a textfield that can't be edited. Any ideas on how to add this ?
Hi, I have been following the tutorial on adding items to the settings app: https://www.b4x.com/android/forum/t...gs-to-the-default-settings-app.48778/#content I have looked at the Gmail iOS app and found that it has a version label in it's settings screen. I can't seem to work out how they added this version label (also noticed a few other apps having this). It's like a textfield that can't be edited. Any ideas on how to add this ?
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2016 #2 Create a text field and then edit the plist file and change PSTextFieldSpecifier to PSTitleValueSpecifier. Upvote 0
Create a text field and then edit the plist file and change PSTextFieldSpecifier to PSTitleValueSpecifier.
aaronk Well-Known Member Licensed User Longtime User Jan 14, 2016 #3 Erel said: Create a text field and then edit the plist file and change PSTextFieldSpecifier to PSTitleValueSpecifier Click to expand... Now it's saying 'Access to the path denied' when I try to compile my app (in debug mode). I have closed Notepad++, and even rebooted my PC so I know nothing can have access to this file. The file is stored in Objects\src\Settings.bundle\Root.plist and is the file that it saying is denied. Any ideas on what could be causing it to denied access to this file when it's not being used except in B4i ? Upvote 0
Erel said: Create a text field and then edit the plist file and change PSTextFieldSpecifier to PSTitleValueSpecifier Click to expand... Now it's saying 'Access to the path denied' when I try to compile my app (in debug mode). I have closed Notepad++, and even rebooted my PC so I know nothing can have access to this file. The file is stored in Objects\src\Settings.bundle\Root.plist and is the file that it saying is denied. Any ideas on what could be causing it to denied access to this file when it's not being used except in B4i ?
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2016 #4 Is the B4J settings app still running? Try to close it. Upvote 0
aaronk Well-Known Member Licensed User Longtime User Jan 14, 2016 #5 Erel said: Is the B4J settings app still running? Try to close it. Click to expand... I actually thought the same thing. I closed it and then deleted the file so I know it's not running. Still the same issue. Upvote 0
Erel said: Is the B4J settings app still running? Try to close it. Click to expand... I actually thought the same thing. I closed it and then deleted the file so I know it's not running. Still the same issue.
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2016 #6 Can you delete or rename the file? Upvote 0
aaronk Well-Known Member Licensed User Longtime User Jan 14, 2016 #7 Erel said: Can you delete or rename the file? Click to expand... Yes. I can even create a new folder and move the file to that new folder. I have rebooted my computer many times and still have the same issue. FYI.. Running B4i on a VM (running on a MacBook) but was working fine before this issue come up. Upvote 0
Erel said: Can you delete or rename the file? Click to expand... Yes. I can even create a new folder and move the file to that new folder. I have rebooted my computer many times and still have the same issue. FYI.. Running B4i on a VM (running on a MacBook) but was working fine before this issue come up.
aaronk Well-Known Member Licensed User Longtime User Jan 15, 2016 #8 OK, I have worked out how to fix the issue.. I went to Objects\src\Settings.bundle\Root.plist and right mouse click on that file, and choose properties and unticked the 'read only' tick box. Now when I compile the app it works and no longer says it's denied access. Upvote 0
OK, I have worked out how to fix the issue.. I went to Objects\src\Settings.bundle\Root.plist and right mouse click on that file, and choose properties and unticked the 'read only' tick box. Now when I compile the app it works and no longer says it's denied access.