[android-developers] Re: HTC One V getExternalStorageState

2013-06-27 Thread amey523
Try installing a File Manager from the Play Store. I haven't developed on HTC devices for a while now. The last one I used was the HTC Desire HD. It didn't come with a built-in File Manager like on the Samsung phones. I installed a free File Manager from the Play Store and used it to debug my

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-24 Thread TreKing
On Sat, Jun 22, 2013 at 6:45 PM, Tamás Kovács falcon.firebre...@gmail.comwrote: Therefore, users who don't have an external SD card inserted into their HTC One V will not be able to install my application. Well, this is a risk you take when using extra features. My app uses GPS and won't be

[android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread Tamás Kovács
Please, even if someone has One V and does NOT encounter this problem (i.e. internal storage is assigned to getExternalFilesDir), let me know. 2013. június 22., szombat 22:43:04 UTC+2 időpontban Tamás Kovács a következőt írta: Hello, getExternalStorageState() and getExternalFilesDir(null)

[android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread Kostya Vasilyev
Is this yet another phone that has a large built-in memory partition -- *and* a microSD card? This has been a mess for years. Android APIs will return the large built-in memory partition as the external storage, and you're on your own trying to discover the path to microSD.

[android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread Tamás Kovács
Thanks for your reply. Unfortunately, my problem is exactly the opposite!! On this device, Android API returns the external SD card instead of the large in-built partition! And since SD card is not mandatory, it will not find it and my app needs it. 2013. június 23., vasárnap 0:07:46 UTC+2

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread TreKing
On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács falcon.firebre...@gmail.comwrote: 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.

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread Tamás Kovács
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

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread RichardC
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

Re: [android-developers] Re: HTC One V getExternalStorageState

2013-06-22 Thread Tamás Kovács
You misinterpret the issue (read my posts again) Indeed, SD card is not equal to external storage. But it CAN be, if the manufacturer decides to return it when you call getExternalFilesDir or getExternalStorageState. This is exactly my problem: in case of HTC One V, the API considers the SD