Author Topic: DragonFireSDK and iPhone 5 Support  (Read 13516 times)

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
DragonFireSDK and iPhone 5 Support
« on: October 23, 2012, 12:36:49 pm »
DragonFireSDK Customers,

DragonFireSDK 2.2 supports iPhone 5.
  • DragonFireSDK apps have a minimum iOS version requirement: 4.3.
  • Make sure you include Retina versions of your icons and launch images in your Build Center and App Store submissions.  If you omit one of these images, your app (during testing) will have a DFSDK default icon or launch image as a placeholder.  During App Store distribution, if you fail to provide high resolution icons or launch images, we will remove any references to them, so you will be unaffected in this case.  See here for naming conventions and file names of these required files: http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#How_do_I_include_my_own_launch_image.28s.29_and_icon.28s.29_for_my_app.3F
  • For iPhone / iPod touch apps, you will need to get in the habit of detecting the UI type and lay out your views accordingly (taking into account the height of the screen).  To accomplish this, you will need to call DeviceGetUIType() to know whether your app is running on the 3.5-inch iPhone / iPod touch screen (return value==0; 320x480) or the iPad (return value==1; 768x1024) or the 4-inch iPhone / iPod touch screen (return value==2; 320x568).
  • Also, you will want to consider supporting Retina displays within your app with "@2x" versions of all your images.  This will enhance the value of your app, especially with customers with Retina displays and maybe even make you some money in the App Store.  See here for information on how to support Retina displays: http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#Does_DragonFireSDK_support_Retina_displays.3F

  Here is a simple example of how to get the UI Type:
Code: [Select]
int interfaceType;
int screenHeight;

void AppMain()
{
interfaceType=DeviceGetUIType();
if (interfaceType==0) // UI Type 0 = 3.5 iPhone / iPod touch screen
screenHeight=480;
else if (interfaceType==1) // UI Type 0 = iPad (including mini) screen
screenHeight=1024;
else if (interfaceType==2) // UI Type 0 = 4.0 iPhone / iPod touch screen
screenHeight=568;
// etc.
}

Thanks!
« Last Edit: January 18, 2013, 03:56:51 pm by tim »
Tim Sommers
DragonFireSDK Team

DeadSn0wMan

  • Guest
Re: Build Center Update Coming Soon!
« Reply #1 on: October 23, 2012, 02:15:48 pm »
 :D

jousepo

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
    • View Profile
Re: Build Center Update Coming Soon!
« Reply #2 on: October 24, 2012, 12:58:36 am »
Great!!!!!!!

maxscharwath

  • Guest
Re: Build Center Update Coming Soon!
« Reply #3 on: October 24, 2012, 03:48:48 am »
The update is free?

Nico91

  • Guest
Re: Build Center Update Coming Soon!
« Reply #4 on: October 25, 2012, 01:53:46 am »
but we are obliged to provide the images for the 5-inch monitor or we can do as we please?

glina126

  • Guest
Re: Build Center Update Coming Soon!
« Reply #5 on: October 25, 2012, 04:42:15 am »
What about all the other functions? Are they getting affected? If it is an iPhone will my OnTouch function now return coordinates in 640x1136 or 320x568?

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
Re: Build Center Update Coming Soon!
« Reply #6 on: October 25, 2012, 09:23:49 am »
Tim Sommers
DragonFireSDK Team

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
Re: Build Center Update Coming Soon!
« Reply #7 on: October 25, 2012, 09:26:41 am »
but we are obliged to provide the images for the 5-inch monitor or we can do as we please?

No.  You don't have to provide the 4-inch launch image.  If you don't provide the image, a default DFSDK one will be provided for test builds.  App Store builds will not support the taller screen if you don't provide the launch image for those devices and your app will run "letterboxed" on those devices...
Tim Sommers
DragonFireSDK Team

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
Re: Build Center Update Coming Soon!
« Reply #8 on: October 25, 2012, 09:29:09 am »
What about all the other functions? Are they getting affected? If it is an iPhone will my OnTouch function now return coordinates in 640x1136 or 320x568?

Coordinates for 3.5-inch screens (even Retina) will remain 320x480.

Coordinates for 4-inch screens are 320x568.

The only difference will be that the iPhone 5 / iPod touch 5th Gen devices will have 82 more pixels to play with...
Tim Sommers
DragonFireSDK Team

jousepo

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
    • View Profile
Re: Build Center Update Coming Soon!
« Reply #9 on: November 16, 2012, 09:52:08 am »
Hi.
any estimated date for the new release?

jousepo

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
    • View Profile
Re: DragonFireSDK and iPhone 5 Support
« Reply #10 on: January 21, 2013, 04:35:59 am »
Is 2.2 ready for download??¿?¿?

nednones

  • Guest
Re: DragonFireSDK and iPhone 5 Support
« Reply #11 on: January 21, 2013, 08:04:04 am »
Where was 2.1?

jousepo

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
    • View Profile
Re: DragonFireSDK and iPhone 5 Support
« Reply #12 on: January 21, 2013, 08:05:40 am »
2.1 is the current version but in the website is not noticed.

jousepo

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-0
    • View Profile
Re: DragonFireSDK and iPhone 5 Support
« Reply #13 on: January 21, 2013, 08:38:39 am »
Is 2.2 ready for download??¿?¿?

Ready and downloaded!!! testing....

A question... how can activate iphone 5 simulator?
« Last Edit: January 21, 2013, 08:49:32 am by jousepo »

glina126

  • Guest
Re: DragonFireSDK and iPhone 5 Support
« Reply #14 on: January 21, 2013, 06:16:02 pm »
Just what we needed!!! THANK YOU!!! and its free :D