External Storage != SD Card (read the docs) External Storage is the part of the Android file system mounted "externally" when you attach the phone to a computer (via USB) and enable file sharing. It does NOT need to be the SD Card.
On Saturday, June 22, 2013 11:55:14 PM UTC+1, Tamás Kovács wrote: > > Of course I do. My problem is that if the user has no SD card put to the > optional slot, my app will not install (it needs APK Expansion from Google > Play). This is because getExternalStorageState() and getExternalFilesDir() > will not return the internal storage unfortunately, even though my app > could install there. They return the optional CD card slot on HTC One V. > > > > 2013. június 23., vasárnap 0:32:40 UTC+2 időpontban TreKing a következőt > írta: >> >> >> On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács <[email protected]>wrote: >> >>> And since SD card is not mandatory, it will not find it and my app >>> needs it. >>> >> >> So check that the external storage exists first. >> >> >> ------------------------------------------------------------------------------------------------- >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >> transit tracking app for Android-powered devices >> > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

