iPhone/iPod Touch

iphone-6-3x-resolution

Is the iPhone 6 going to support 3x retina images

Retina devices require developers to create 2 types of images, an @2x resolution for retina displays and normal resolution for regular displays. Well, Apple may be adding a 3X resolution display to iOS 8. Marck Gunman reported that Apple was testing a 1704x960px resolution display for the iPhone 6, which would be achieved by tripling each pixel from the “base resolution”.

new-iphone6-size

According to an iOS developer, James Thomson, a newly discovered bug in iOS 8 loads 3x images instead of 2x images. Is this an accident or is this intentional?

james-thomson-tweetThis means that in the future we may have to add another image size to our export list. We’ll have to export all of our asset images at normal resolution, 2x resolution, and 3x resolution. All I can say is I’m hoping this is just a fluke. The less work I have to do to make my images look nice on any device means more time to focus on other things.

It’s still to be determined whether we’ll have to export images at 3x resolution in the future, but if this is the case you’ll want to make sure to get started sooner than later. Be sure to checkout Apples next key note, scheduled for September 9th for the unveiling of iOS 8.

Learn more about the next Apple keynote here: http://wheniskeynote.com/

To read more about the possible 3x resolution, you can find more information over at 9to5Mac.

Have you checked out Chrome for iOS?

That’s right, the long awaited Google Chrome for your iOS devices has finally arrived. Just a couple days ago Google released their Chrome browser in the Apple Store and it already has 5-stars with over 3,000 ratings.

The advantages of using the Chrome browser include global bookmarks, simple search from the nav bar, quick tab scrolling and switching, and quick private browsing mode. You can checkout the tour at: www.google.com/chrome/ios/tour. (You’ll have to click and drag if you are not viewing from an iPad or iPhone)

Unfortunately we will not experience a much faster web experience with Google Chrome. The reason being is that it is not built under the same speedy Chrome engine on devices such as Android. Instead it’s been built behind the underlying Apple standard webkit. Apple has limited developing apps for the iOS so that they’re unable to change those underlying components. Additionally, for now there is no way to change your default browser on an iOS device. So when you open a link from your email or any other app, Safari will be there to greet you whether you like it or not :(

Nonetheless, head over to the Apple Store and download your free copy and give it a try.

Youtube – iFrame not displaying correctly on iOS devices

The new Youtube iFrame embed is great; however, it seems that there are still some bugs that YouTube is trying to fix. One of those bugs is displaying the iFrame embed code on iOS mobile devices. If you try embedding an iFrame youtube video on a page and view the page on an iOS device you are probably going to see that the width and height of the video are either expanded or not displaying with the correct ratio size.

There is a simple resolution to this. If the user is on an iOS mobile device we will display the object embed code; otherwise we’ll display the iFrame embed code. I am going to use the code that I explained in the previous article titled: Detecting iPhone, iPad, or iPod device using PHP

Using the code from this article we can simply solve this problem with the following code:

<?php 
 
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad')) {
?>
 
<object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/Q5im0Ssyyus?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="560" height="349" src="http://www.youtube.com/v/Q5im0Ssyyus?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>
 
<?php } else {  ?>
      // display default iframe embed code.
<?php  }  ?>

Now, if the user is on an iPhone, iPad, or iPad device the page will display the old youtube object embed code. If the user is on any other device we will show the youtube iframe video embed. Hope this fix helps someone else ;)

Best iPhone Game Frameworks

Do you have a general knowledge of programming and want to learn how to create iPhone, iPad, or mobile games? If you are unfamiliar with Objective-C or Cocoa; you still have many alternatives. There are several great game frameworks available for download. Some of these frameworks require little to no programming experience and, best of all, some of them are free. In this article you will find a list of the best to date iPhone and mobile game development frameworks:


CORONA MOBILE DEVELOPMENT PLATFORM

Skill Level: Intermediate (Basic knowledge of programming techniques)

Corona, as it claims, is one of the world’s most advanced mobile development platform. Built by Anscamobile, Corona makes it easy for any user with little programming knowledge to create full featured mobile applications. Corona abstracts Objective-C from mobile development and brings to life the ease of the LUA programming language. Using Corona and LUA, you can easily create a ‘Hello World’ application in one line of code, or easily implement physics in only 5 lines. Creating mobile games has never been easier. Corona has a fantastic built-in mobile simulator, so you can test and build everything out without having to use Xcode.

Unfortunately, in order to distribute your game using the Corona SDK, you will need a license, which will cost as follows:

iOS developer: $199/yr

iOS+ Android developer: $349/yr

The trade off for the price and the Corona SDK is well worth it. So, be sure to head over to Ansamobile’s site and begin learning and creating. Click here to go to the Corona Framework site.


COCOS 2D

Skill Level: Intermediate/Advanced (basic programming knowledge and basic understanding of the C-programming language)

Cocos2d for iPhone is a framework for creating 2d games, demos, and interactive interfaces. Cocos2d is an open source Objective-C library. Using Cocos2D, you will need a basic understanding of the C-language. The libraries and API’s for Cocos2d allow developers to easily use scene management, sprites, effects, particles, menus, and much much more. If you would like to start creating 2d games for your iPhone and have a basic understanding of the C-language, then Cocos2D is the framework for you.

Best of all this Application is Open Source and available for:

FREE

Cocos2D has a great library of functions and API’s that will have you creating the next popular iPhone 2d game in no time. So head on over to Cocos 2D and start creating your 2D game.


GAME SALAD

Skill Level: Beginner

GameSalad is an excellent tool/framework for creating iPhone games. It’s not only for beginners, even if you are an advanced game developer you will still be able to take advantage of some of the awesome features that GameSalad has to offer. GameSalad has a WYSIWYG creator where you can literally drag and drop images and objects onto the creator. Then you can assign specific attributes to these objects and images such as collision detection, gravity, animation, and much more. You don’t need to have any programming experience to develop your iPhone game masterpiece. Mmmm… Salad never tasted so good :)

And fortunately enough the cost for this download is… Drum-roll please…

FREE

What more could you ask for in an application. So, break out the spoons and forks with a side of ground-breaking ideas and put them together with GameSalad, click here to begin your iPhone Game journey!


iTorque 2D

Skill Level: Beginner/Intermediate (A little knowledge of C++ would be helpful)

Torque Game Builder is one of the worlds easiest to use 2d game creator. GarageGames has now created a branch of the Torque 2D game builder which is called iTorque2D.  iTorque2D has a WYSIWYG interface which allows users to drag and drop elements onto the interface and add functionality to each object through a simple to use interface. There may be some portions of this engine that may require a user to manipulate a little C++ code; however, the engine is very intuitive to new game creators.

Torque is known for having great documentation and delivering good products, so it shouldn’t be a surprise that iTorque2D can be purchased for a small price of:

$99

If you have ever used any of GarageGames engines, you will be certain to get the same great experience with iTorque2D, so open up the hood and head over to GarageGames to start constructing, click here to checkout iTorque2D.


Sparrow Framework

Skill Level: Intermediate/Advanced (You will need knowledge of basic C-programming techniques)

Sparrow Framework is an open-source project which eliminates the need for any OpenGL code. Sparrow Framework allows developers to write clean C-code which blends seamlessly with Cocoa. Additionally, Sparrow allows users to leverage their Flash and Flex skills with no need to learn a new API. If you consider yourself a good C-programmer and would like to leverage features that cut your development time in half, you may want to check out the Sparrow Framework.

This excellent framework is also offered as open-source and:

FREE

Head on over to the Sparrow Framework website and find out if this is the right framework for you. Check out the features they offer, and soon you can start creating your game in less time. Click here to head over to the Sparrow Framework site.


Unity 3D Game Development Tool

Skill Level: Advanced (You will need basic programming knowledge as well as 3d knowledge)

Unity 3D has the all-in-one programming and graphic creation tools for mobile, console, and desktop game publishing. If you are familiar with 3D rendering tools and have a basic knowledge of programming and scripting, you are well on your way to create your first 3D mobile game. The easy-to-use tools by Unity 3D integrate easily and seamlessly with each other.

Unity is offered as two different types of licenses. Unity and Unity Pro. If you are a company that turned over more than $100,000 for the previous fiscal year you must purchase Unity Pro. Otherwise, as a small indie developer you can have the license for free:

Unity Pro: $1500

Unity: FREE

Unity 3D is one of the greatest 3d Game platform tools. If you have a craving to create the next 3D hit game for the mobile platform (or even the computer platform) head on over to Unity 3D and get your game on. Click here to visit the Unity 3D site to begin.

Lastly, there is a similar framework to Unity is called Shiva, which may be worth taking a look into. With Shiva, you can develop games for the computer platform, console platform (such as the Nintendo Wii), and the mobile platform.

So there ya go!

You should have more than enough resources to begin your iPhone game creation journey. Simply select the framework that works best for you and get your creative juices flowing ;)

PhoneGap.com – Build native mobile apps using HTML/CSS/Javascript

I’m sure most people who are into the new mobile device revolution have thought about creating an app one time or another. The hassle with creating an app may be the lack of knowledge you have about programming languages. It’s kind of a large ‘Gap’ to fill from having a great mobile app idea and learning a new programming language. Well, thanks to the smart people over at PhoneGap.com they have built a framework that can compile HTML, CSS, and Javascript web pages into 6 different types of mobile applications. If you have a little knowledge of HTML, CSS, and Javascript you are only a few skips away from creating your first mobile application.

PhoneGap.com has well-documented resources to help you get started. Click Here to figure out just how easy it is to begin.

Another great thing about PhoneGap, is that they have an API for you to use many mobile device functionalities such as:

So, be sure to head on over to PhoneGap and start creating your mobile apps. Creating mobile applications could’nt have been easier ;)

PhoneGap External Link

When I began learning PhoneGap, a simple HTML/CSS/Javascript mobile framework, I immediately found out how easy it was to create an iPhone app. The only problem with PhoneGap is that it opens all links inside of the application itself. So, instead of the application opening up an external link in Safari, it would open up right in the app. This was really annoying, but luckily for you there is an easy solution:

Navigate to appnameAppDelegate.m and replace the following function:

- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
	return [ super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType ];
}

with:

 
- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
	NSURL *url = [request URL];
 
	// Intercept the external http requests and forward to Safari.app
	// Otherwise forward to the PhoneGap WebView
	if ([[url scheme] isEqualToString:@"http"] || [[url scheme] isEqualToString:@"https"]) {
		[[UIApplication sharedApplication] openURL:url];
		return NO;
	}
	else {
		return [ super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType ];
	}
}

So, basically what the code is doing differently is it’s telling the application if a link contains ‘http’ in the url to open up the link in Safari. And that’s it. Hope this helps out someone else ;)

Turn your iPhone into a WiFi Hotspot

As I had stated before, I recently purchased my new iPad (the WiFi version). I had thought about paying the extra couple hundred for the 3G and Wifi version and I’m glad that I did not go with that one. First off, AT&T’s plans for iPad 3G are 250mb for $14.99 and 2GB a month for $24.99. I can easily bite through 2GB in less then a day… So, instead I have decided to purchase the iPad WiFi version & turn my iPhone into a wireless hot spot. I will describe how you can easily achieve this. There are two things you will need to do:

  1. Jailbreak your iPhone
  2. Download and install the MyWi App

Jailbreak your iPhone

The easiest way to Jailbreak your phone is to go to jailbreakme.com, you can view the post here: Simplest way to jailbreak your iPhone

Download and install the MyWi app

After you jailbreak your phone using JailBreakMe you will notice that there is a new icon on the home screen of your phone called ‘Cydia’. Open up this app and you should see a screen similar to the following:

Click on the search button at the bottom right of the app and search for the app called MyWi. It should be one of the first results. After you click on the correct app you will be taken to the app page where there is an install now button. Click to install. After the app has been installed a popup might display telling you that your phone is being restarted.

After your phone restarts open up the MyWi app. You will have to sign up for a new account and you will be given a 10 day trial period for MyWi after that it’s only $9.99 to permanently have this app. MyWi is very easy to setup.

Now, all that is required is to switch the WiFi Tethering option to ‘On’ and you’re all set. Optionally, you can change the name of your WiFi hot spot. Then when you go to network settings from your iPad you can click to connect to that specific WiFi name. It’s super simple and much better then paying an extra $25 a month for a tablespoon of internet bandwidth.

Simplest way to Jailbreak your iPhone 4

So, about a couple months ago I told myself I was not going to jailbreak my iPhone anymore due to previous complications; Well… I may have lied. Thanks to JailBreakMe.com, Jailbreaking your iPhone couldn’t be any easier… All you have to do is simply go to their website from your iPhone and slide the slider to Jailbreak your phone. The process couldn’t be simpler. Take a look at the screenshots below:

So, be sure to head on over to Jailbreakme.com from your iPhone (make sure to sync your phone to a computer just in case anything happens you can restore your previous sync). The list of compatible devices is listed as follows:

iPod 1G on 3.1.2, iPod 1G on 3.1.3, iPod 2G on 3.1.2, iPod 2G on 3.1.3, iPod 2G on 4.0, iPod 3G on 3.1.2, iPod 3G on 3.1.3, iPod 3G on 4.0, iPad on 3.2, iPad on 3.2.1, iPhone 3G on 3.1.2, iPhone 3G on 3.1.3, iPhone 3G on 4.0, iPhone 3G on 4.0.1, iPhone 3G[S] on 3.1.2, iPhone 3G[S] on 3.1.3, iPhone 3G[S] on 4.0, iPhone 3G[S] on 4.0.1, iPhone 4 on 4.0, iPhone 4 on 4.0.1

Flash on the iPhone 5

Yeah, Yeah…. iPhone os 4.0 had just recently been released. Now, it’s time to start talking about os 5.0. What should be included in the software/hardware upgrade. If anything is for sure, Adobe Flash support would be phenomenal. Adobe and Apple have been butting heads ever since Apple has decided not to support Adobe Flash in the Safari browser. Apple’s CEO, Steve Jobs, believes that flash is buggy and not well-formed. In return he thinks this would reflect badly upon the iPhone if it allowed flash support. Apple is encouraging developers to use HTML5 to make their online applications compatible with the iPad and iPhone.

Flash has been around for a long time and the buggy code is only dependent upon the developer who creates the Flash content. Apple is wrong for denying flash support on the iPad and iPhone. It seems like Steve Jobs has an unspoken grudge against Adobe. Apparently his parents never taught him to play nice. Perhaps if given enough crap Steve Jobs will allow flash support on the next release of the iPhone software. Of course this may be a long time away, but believers can alway keep their fingers crossed. FLASH SUPPORT ON IPHONE 5!

I hope Adobe doesn’t fail us and give up trying. Unfortunately this may be the case. Take a look at the following article: Adobe Gives Up on Flash for iPhone, iPad | Gadget Lab | Wired.com. Adobe, don’t fail us now. There are still many people who believe that flash support should be enabled and have chosen to do something about it. So, if you are familiar with Jailbreaking your iPhone and would love to get flash installed on your mobile device checkout the following article: Install Flash on an iPhone 4

The rest of the world is on your side Flash!

Spirit Jailbreak iPhone 3GS to iOS 4.0

I’m sure many of us have seen our friends with cool new skins or themes on their iPhone because they have jailbroken their phone to gain all these cool features. One of the newest Jail-breaks called spirit, located at: http://www.spiritjb.com/ allows you to jailbreak an iPhone firmware 3.1.12, 3.1.13, or 3.1.2. The application is very simple and easy to use. This is my second time jailbreaking my phone. The first time my phone crashed and would not boot up any longer. So, I had to restore my iPhone in recovery mode.

After time had went by, I thought to myself that it would be fun to jailbreak my phone again. This time I used the Spirit Jailbreak. Well two weeks of adding some awesome themes, snes games, and other free applications and I ran into a wall again. I tried installing a tethering feature through Cydia, rebooted my phone, and I could no longer access anything. It was frozen at the apple screen. I tried waiting a half hour, rejailbreaking the phone, and no luck. So, I knew I was going to have to restore my phone again, unfortunately if you have firmware 3.2 you may not be able to restore your phone because apple requires verification of your current firmware. Since I had a jailbroken firmware it would not allow me to automatically restore my phone.

Finally after much frustration and digging around on the web, I found an excellent post that helped me out through the process. What I had to do was manually download the iOs4 upgrade restore and the latest version of iTunes. Then you have to manually select which file to restore your phone. It was just a huge pain in the @$$. So, if you find yourself in the same predicament, you might want to head on over to: Upgrading a Spirit-Jailbroken iPhone 3GS to iOS 4.0.

Sometimes, I don’t know if Jail-breaking my phone is worth the hassle of running into bugs, having to research the problem, and then having to restore your phone. I feel that the trade-off is not worth the hassle; however, give me another couple months and we’ll see if I’ve truly learned my lesson ;)