DragonFireSDK Forum
Programming Discussions => Build Center => Topic started by: tim 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:
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!
-
:D
-
Great!!!!!!!
-
The update is free?
-
but we are obliged to provide the images for the 5-inch monitor or we can do as we please?
-
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?
-
The update is free?
Most likely.
-
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...
-
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...
-
Hi.
any estimated date for the new release?
-
Is 2.2 ready for download??¿?¿?
-
Where was 2.1?
-
2.1 is the current version but in the website is not noticed.
-
Is 2.2 ready for download??¿?¿?
Ready and downloaded!!! testing....
A question... how can activate iphone 5 simulator?
-
Just what we needed!!! THANK YOU!!! and its free :D
-
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."
-
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.
-
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
-
How do we download the 2.2 version?
-
How do we download the 2.2 version?
if you bought it, then you should have a download link in the build center.
-
Do I need to buy it against if I already bought DFSDK 2.0 ?!
-
No
-
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?
-
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
-
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.
-
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.
-
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.
-
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?
-
Then how do I test my iPhone5 app?! Putting in the store for testing doesn't seem feasible...
-
Any news here ...
Does the build center now supports the 4inch for the retina?