mirekk36 Member Licensed User Longtime User Jan 8, 2018 #1 I have maybe basic android question. Is that possible to write some file (string into file) but if there isn't external SD card and I will that this file will not be deleteted when I uninstall my application .. It can be useful for me if I can write some string to some android log , some cache folder etc I need to read this file (string) just if I do new installation of my application I need to know if user of my demo application try to uninstall and then install the same demo application. Or? ... maybe is another solution to check if my application was unninstaled just before installing (I need check such situation) Last edited: Jan 8, 2018
I have maybe basic android question. Is that possible to write some file (string into file) but if there isn't external SD card and I will that this file will not be deleteted when I uninstall my application .. It can be useful for me if I can write some string to some android log , some cache folder etc I need to read this file (string) just if I do new installation of my application I need to know if user of my demo application try to uninstall and then install the same demo application. Or? ... maybe is another solution to check if my application was unninstaled just before installing (I need check such situation)
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2018 #2 Save it under File.DirRootExternal or in a custom subfolder. Upvote 0
mirekk36 Member Licensed User Longtime User Jan 8, 2018 #3 ok but when user don't have a SD memory card ? Upvote 0
DonManfred Expert Licensed User Longtime User Jan 8, 2018 #4 mirekk36 said: ok but when user don't have a SD memory card ? Click to expand... File.DirRootExternal is on the internal SDCard. Upvote 0
mirekk36 said: ok but when user don't have a SD memory card ? Click to expand... File.DirRootExternal is on the internal SDCard.
eurojam Well-Known Member Licensed User Longtime User Jan 8, 2018 #5 this is a helpful tutorial: https://www.b4x.com/android/forum/threads/text-files.6690 Upvote 0
mirekk36 Member Licensed User Longtime User Jan 8, 2018 #6 DonManfred said: File.DirRootExternal is on the internal SDCard. Click to expand... BIG THX ! I apologize for my little knowledge about android Upvote 0
DonManfred said: File.DirRootExternal is on the internal SDCard. Click to expand... BIG THX ! I apologize for my little knowledge about android
mirekk36 Member Licensed User Longtime User Jan 8, 2018 #7 eurojam said: this is a helpful tutorial: https://www.b4x.com/android/forum/threads/text-files.6690 Click to expand... THX too Upvote 0
eurojam said: this is a helpful tutorial: https://www.b4x.com/android/forum/threads/text-files.6690 Click to expand... THX too