DragonFireSDK Forum

Programming Discussions => Build Center => Topic started by: tim on October 23, 2012, 12:36:49 pm

Title: DragonFireSDK and iPhone 5 Support
Post by: tim on October 23, 2012, 12:36:49 pm
DragonFireSDK Customers,

DragonFireSDK 2.2 supports iPhone 5.

  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!
Title: Re: Build Center Update Coming Soon!
Post by: DeadSn0wMan on October 23, 2012, 02:15:48 pm
 :D
Title: Re: Build Center Update Coming Soon!
Post by: jousepo on October 24, 2012, 12:58:36 am
Great!!!!!!!
Title: Re: Build Center Update Coming Soon!
Post by: maxscharwath on October 24, 2012, 03:48:48 am
The update is free?
Title: Re: Build Center Update Coming Soon!
Post by: Nico91 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?
Title: Re: Build Center Update Coming Soon!
Post by: glina126 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?
Title: Re: Build Center Update Coming Soon!
Post by: tim on October 25, 2012, 09:23:49 am
The update is free?

Most likely.
Title: Re: Build Center Update Coming Soon!
Post by: tim 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...
Title: Re: Build Center Update Coming Soon!
Post by: tim 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...
Title: Re: Build Center Update Coming Soon!
Post by: jousepo on November 16, 2012, 09:52:08 am
Hi.
any estimated date for the new release?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: jousepo on January 21, 2013, 04:35:59 am
Is 2.2 ready for download??¿?¿?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: nednones on January 21, 2013, 08:04:04 am
Where was 2.1?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: jousepo on January 21, 2013, 08:05:40 am
2.1 is the current version but in the website is not noticed.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: jousepo 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?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: glina126 on January 21, 2013, 06:16:02 pm
Just what we needed!!! THANK YOU!!! and its free :D
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: glina126 on January 21, 2013, 06:23:03 pm
Is 2.2 ready for download??¿?¿?

Ready and downloaded!!! testing....

A question... how can activate iphone 5 simulator?

This is a direct quote from the help ;) "On the Simulator in Windows, change the UIType value in DragonFireSDK.ini to the value 2.  This will cause the Simulator screen to be taller, like the iPhone 5."
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: jousepo on January 22, 2013, 01:21:00 am
Is 2.2 ready for download??¿?¿?

Ready and downloaded!!! testing....

A question... how can activate iphone 5 simulator?

This is a direct quote from the help ;) "On the Simulator in Windows, change the UIType value in DragonFireSDK.ini to the value 2.  This will cause the Simulator screen to be taller, like the iPhone 5."

i've make that but nothing.... will try again later at home!!! :(

EDIT:
I've see that DragonFireSDK.h in MyFirstApp folder isn't the same than the root of DragonFire installation. In other side, i've deleted all debug files too. Then, iphone 5 simulator has appeared.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: glina126 on January 22, 2013, 02:42:24 pm

i've make that but nothing.... will try again later at home!!! :(

EDIT:
I've see that DragonFireSDK.h in MyFirstApp folder isn't the same than the root of DragonFire installation. In other side, i've deleted all debug files too. Then, iphone 5 simulator has appeared.

yea and make sure to recompile between simulator interface switches! otherwise your running the same build
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: Micboy on January 22, 2013, 03:47:57 pm
How do we download the 2.2 version?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: glina126 on January 22, 2013, 05:16:30 pm
How do we download the 2.2 version?

if you bought it, then you should have a download link in the build center.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: cydia31 on January 31, 2013, 02:17:15 pm
Do I need to buy it against if I already bought DFSDK 2.0 ?!
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: DeadSn0wMan on February 01, 2013, 07:58:54 am
No
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: ciuffolo on February 01, 2013, 02:18:07 pm
This is an upgrade, you don't need to buy it another time. Which are the differences between iphone 5 draognifre sdk application and iphone 4 application? Only the graphics?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: marcog on June 11, 2013, 04:36:49 am
After May 1 is mandatory 4-inch display in all new Apps (or new release)
for this feature exist DragonFireSDK  iPhone5 simulator?

Apple guide: Make Your Apps Look Great on the Retina Display and iPhone 5
March 21, 2013
Starting May 1, new apps and app updates submitted to the App Store must be built for iOS devices with Retina display and iPhone apps must also support the 4-inch display on iPhone 5. Learn about preparing your apps by reviewing the

Title: Re: DragonFireSDK and iPhone 5 Support
Post by: marcog on June 11, 2013, 06:57:55 am
After May 1 is mandatory 4-inch display in all new Apps (or new release)
for this feature exist DragonFireSDK  iPhone5 simulator?

Apple guide: Make Your Apps Look Great on the Retina Display and iPhone 5
March 21, 2013
Starting May 1, new apps and app updates submitted to the App Store must be built for iOS devices with Retina display and iPhone apps must also support the 4-inch display on iPhone 5. Learn about preparing your apps by reviewing the


DragonFire Support response:
You can do this in the Windows Simulator by changing the DeviceType setting in DragonFireSDK.ini to 2.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: intellaffect on June 12, 2013, 12:39:32 pm
My app on iPhone 5 model MD654LL/A, 4 inch screen, purchased new May 2013, 640 x 1136 resolution.

DeviceGetUIType return 0, and none of the @2x.png images load, including the Default images.

Anyone have an idea why the SDK thinks I am on an iPod touch?

- Dan R.
IntellAffect Inc.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: tim on June 20, 2013, 10:03:20 am
My app on iPhone 5 model MD654LL/A, 4 inch screen, purchased new May 2013, 640 x 1136 resolution.

DeviceGetUIType return 0, and none of the @2x.png images load, including the Default images.

Anyone have an idea why the SDK thinks I am on an iPod touch?

- Dan R.
IntellAffect Inc.

Build Center is still using an older SDK, so it doesn't yet know about the larger screen size.  This will return the correct value for App Store builds, however.
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: BakerCrew on July 31, 2013, 04:38:08 pm
My app on iPhone 5 model MD654LL/A, 4 inch screen, purchased new May 2013, 640 x 1136 resolution.

DeviceGetUIType return 0, and none of the @2x.png images load, including the Default images.

Anyone have an idea why the SDK thinks I am on an iPod touch?

- Dan R.
IntellAffect Inc.

Build Center is still using an older SDK, so it doesn't yet know about the larger screen size.  This will return the correct value for App Store builds, however.

Is the Build Center still not capable of building for the iPhone 5 (4 inch) display?
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: roarribbit on September 16, 2013, 04:29:23 pm
Then how do I test my iPhone5 app?!  Putting in the store for testing doesn't seem feasible...
Title: Re: DragonFireSDK and iPhone 5 Support
Post by: Ghost-Worker on September 14, 2014, 10:27:04 am
Any news here ...

Does the build center now supports the 4inch for the retina?