archos

Android check for SD Card mounted always returns true

非 Y 不嫁゛ 提交于 2019-12-24 04:16:51
问题 I'm not sure what the source of the problem is - older android version with bug or if I'm doing something wrong, but my problem is that no matter what I do, android reports the SD card as mounted. Even if it's not physically in the tablet (archos 7o).. public boolean saveToDisk(String filename, String header) { /* first check to see if the SD card is mounted */ if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { //throw some exception so we can display an error

Emulating density of 320 dpi on android emulator

旧时模样 提交于 2019-11-30 11:45:40
We're trying to emulate devices with the new density of 320 dpi in Android 2.3 - such as Archos 101, and we can't seem to be able to define an emulator with such density, even after downloading the latest 2.3 sdk. I would really appreciate some ideas on this one :) Many thanks! That is quite simple. Modify the attribute hw.lcd.density=320 at avd config file: /Users/yourUserName/.android/avd/CustomDevice_API_19.avd/config.ini , and reboot your virtual device. I'm already test it, and it works to me! Warnning: Make sure you set the correct density, otherwise you will receive an error: qemu:

Emulating density of 320 dpi on android emulator

南楼画角 提交于 2019-11-29 17:00:45
问题 We're trying to emulate devices with the new density of 320 dpi in Android 2.3 - such as Archos 101, and we can't seem to be able to define an emulator with such density, even after downloading the latest 2.3 sdk. I would really appreciate some ideas on this one :) Many thanks! 回答1: That is quite simple. Modify the attribute hw.lcd.density=320 at avd config file: /Users/yourUserName/.android/avd/CustomDevice_API_19.avd/config.ini , and reboot your virtual device. I'm already test it, and it