rfresh Well-Known Member Licensed User Longtime User Mar 13, 2012 #1 How can I detect if an Android device has an SD Card installed? By default I'm assuming it does and am using this in my file I/O: B4X: File.DirRootExternal ...but I realize this will not work if there is no SD Card. I can switch over to using File.DirRootInternal if I can detect no card, right? Thanks...
How can I detect if an Android device has an SD Card installed? By default I'm assuming it does and am using this in my file I/O: B4X: File.DirRootExternal ...but I realize this will not work if there is no SD Card. I can switch over to using File.DirRootInternal if I can detect no card, right? Thanks...
NJDude Expert Licensed User Longtime User Mar 13, 2012 #2 You could use File.ExternalWritable Last edited: Mar 14, 2012 Upvote 0
rfresh Well-Known Member Licensed User Longtime User Mar 13, 2012 #3 Do I need a Lib for this? I'm getting an unknown member on the ExternalWritable part: B4X: If File.ExternalWriteble = True Then Msgbox("SD Card Installed","Main Resume") Else Msgbox("No SD Card","Main Resume") End If Upvote 0
Do I need a Lib for this? I'm getting an unknown member on the ExternalWritable part: B4X: If File.ExternalWriteble = True Then Msgbox("SD Card Installed","Main Resume") Else Msgbox("No SD Card","Main Resume") End If
NJDude Expert Licensed User Longtime User Mar 13, 2012 #4 You have a typo, I think you just copy-pasted my post It's File.ExternalWritable. You better always double check buddy or read the docs. Upvote 0
You have a typo, I think you just copy-pasted my post It's File.ExternalWritable. You better always double check buddy or read the docs.