xhdpi icons

Previously it’s been posted that if we include the 96x96 Icon-xhdpi.png file that Corona SDK apps would not use it, only using -ldpi, -mdpi and -hdpi. Today’s release notes mentions something about -xhdpi, but it has some camera reference.

Can someone explain exactly what this feature is and if we should start using Icon-xhdpi.png’s in our apps?

Thanks
Rob
[import]uid: 19626 topic_id: 30658 reply_id: 330658[/import]

Corona does not support xhdpi app icons yet… but we are preparing for it.

The Camera xhdpi icons mentioned in the release notes is used by Corona’s custom Camera activity window when you call the [lua]media.show()[/lua]. Corona uses its own custom Camera activity window if the following occurs:

  1. A camera app could not be found on the device.
  2. There is no external storage on the Android device needed to pass a photo between the Camera app and the Corona app. (Large photos cannot be passed between apps in memory on Android like how it is done on iOS.)
  3. The app does not have permission to access external storage.
    [import]uid: 32256 topic_id: 30658 reply_id: 122871[/import]

To expand on this, when Apple brought in the Retina display they now ask for a higher resolution Icon graphic for the store (not device build)

however, do we know if Kindle Fire HD thats sporting a 1920x1200 resolution will require a bigger icon on or in the device builds?

…with all the new devices coming out this may well be a month of pain… [import]uid: 88147 topic_id: 30658 reply_id: 122921[/import]

We’ve ordered a couple Kindle Fire HDs for testing. We’ll find out what their DPIs are (or at least which icon resource directory they pull from) once we’ve received them. Amazon custom themes their devices, so this is not something we can predict until we test it.

Side Note: I’m finding that the newer Android devices tend to use xhdpi, which is why we’re prepping for this. [import]uid: 32256 topic_id: 30658 reply_id: 122924[/import]

Corona does not support xhdpi app icons yet… but we are preparing for it.

The Camera xhdpi icons mentioned in the release notes is used by Corona’s custom Camera activity window when you call the [lua]media.show()[/lua]. Corona uses its own custom Camera activity window if the following occurs:

  1. A camera app could not be found on the device.
  2. There is no external storage on the Android device needed to pass a photo between the Camera app and the Corona app. (Large photos cannot be passed between apps in memory on Android like how it is done on iOS.)
  3. The app does not have permission to access external storage.
    [import]uid: 32256 topic_id: 30658 reply_id: 122871[/import]

To expand on this, when Apple brought in the Retina display they now ask for a higher resolution Icon graphic for the store (not device build)

however, do we know if Kindle Fire HD thats sporting a 1920x1200 resolution will require a bigger icon on or in the device builds?

…with all the new devices coming out this may well be a month of pain… [import]uid: 88147 topic_id: 30658 reply_id: 122921[/import]

We’ve ordered a couple Kindle Fire HDs for testing. We’ll find out what their DPIs are (or at least which icon resource directory they pull from) once we’ve received them. Amazon custom themes their devices, so this is not something we can predict until we test it.

Side Note: I’m finding that the newer Android devices tend to use xhdpi, which is why we’re prepping for this. [import]uid: 32256 topic_id: 30658 reply_id: 122924[/import]

Rob,

We’ve just added xhdpi icon support today. Expect to see it in daily build #943, tomorrow. [import]uid: 32256 topic_id: 30658 reply_id: 129411[/import]

Rob,

We’ve just added xhdpi icon support today. Expect to see it in daily build #943, tomorrow. [import]uid: 32256 topic_id: 30658 reply_id: 129411[/import]