Y yzhy-mail Member Oct 5, 2021 #1 https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content In this example,I find fileProvider in B4J folder no library. Is that fileProvider just for B4a ? How can I do this exampe use B4X ?
https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content In this example,I find fileProvider in B4J folder no library. Is that fileProvider just for B4a ? How can I do this exampe use B4X ?
DonManfred Expert Licensed User Longtime User Oct 5, 2021 #2 yzhy-mail said: Is that fileProvider just for B4a ? Click to expand... Yes. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 5, 2021 #3 I'm not sure what you mean with B4X, in this case. You can use FileProvider with B4XPages. And a relevant example: https://www.b4x.com/android/forum/t...-save-and-load-external-files.132731/#content Upvote 0
I'm not sure what you mean with B4X, in this case. You can use FileProvider with B4XPages. And a relevant example: https://www.b4x.com/android/forum/t...-save-and-load-external-files.132731/#content
Y yzhy-mail Member Oct 5, 2021 #4 Erel said: I'm not sure what you mean with B4X, in this case. Click to expand... Thank you replay! Yes I mean B4XPages. Erel said: And a relevant example: https://www.b4x.com/android/forum/t...-save-and-load-external-files.132731/#content Click to expand... In this example of B4j ,there is no HideKeyboard in the compilation conditions ,So I get error. ********** B4XMainPage - 71: Undeclared variable 'result' is used before it was assigned any value. B4XMainPage - 58: Undeclared variable 'success' is used before it was assigned any value. B4XMainPage - 39: Undeclared variable 'hidekeyboard' is used before it was assigned any value. B4XMainPage - 11: Variable 'txtField' was not initialized. (warning #11) FileHandler - 134: Sub 'CreateLoadResult' is not used. (warning #12) ************ I am a freashhand in B4x.I cann't run relevant example correctly in B4J. Upvote 0
Erel said: I'm not sure what you mean with B4X, in this case. Click to expand... Thank you replay! Yes I mean B4XPages. Erel said: And a relevant example: https://www.b4x.com/android/forum/t...-save-and-load-external-files.132731/#content Click to expand... In this example of B4j ,there is no HideKeyboard in the compilation conditions ,So I get error. ********** B4XMainPage - 71: Undeclared variable 'result' is used before it was assigned any value. B4XMainPage - 58: Undeclared variable 'success' is used before it was assigned any value. B4XMainPage - 39: Undeclared variable 'hidekeyboard' is used before it was assigned any value. B4XMainPage - 11: Variable 'txtField' was not initialized. (warning #11) FileHandler - 134: Sub 'CreateLoadResult' is not used. (warning #12) ************ I am a freashhand in B4x.I cann't run relevant example correctly in B4J.
Erel B4X founder Staff member Licensed User Longtime User Oct 5, 2021 #5 TextEditor is a B4A / B4i example. It mainly demonstrates features more relevant of Android and iOS. In B4J you should use FileChooser to choose files. Upvote 0
TextEditor is a B4A / B4i example. It mainly demonstrates features more relevant of Android and iOS. In B4J you should use FileChooser to choose files.
Y yzhy-mail Member Oct 6, 2021 #6 Thank yuu Erel ! DonManfred said: Yes. Click to expand... Thank you Manfred ! Upvote 0