Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
In this course, author Paul Trani demonstrates how to create, test, and publish a mobile app that works across multiple platforms (iOS, Android, and BlackBerry Tablet OS) and adapts to either a smartphone or tablet display. The course also tackles the issue of various screen sizes and density and how to scale and adjust content.
Any app that wants to be taken seriously really has to be on iOS devices. It has to be on those iPhones, iPads and iPods. But there are some things that you need to do as far as setup goes in order to develop for this platform. The things that you'll need is you will need actually in iOS devices. You'll need an iPhone, iPad, iPod. It helps to have a Mac 4 development so MacBook Pro whatever the case may be; now you can use a Windows machine, but it's just much easier on a Mac computer.
Also you need iTunes on that computer to be able to sync up your apps. And you do need to join the iOS Developer Program, again a developer.apple.com. And once you have all those things in place, you can develop and actually use Flash to make those apps. So what we are going to start off with, are the certificates. So you need to go ahead and sign your app so let's users know that hey this came from Paul. You know do you trust that sort of thing. But basically identifies you with that app.
And that's what we are going to begin in Flash Pro. And here I am in Flash Pro. You can see I have the Publish Settings set to Air for iOS and it's going to make an ipa file. Everything looks pretty good in here. I will change the Resolution to High resolution, because I want to be using a retina display device so an iPhone 4, and with that all looking good I can go to the Deployment tab, because this becomes the most important parts. And really I want to start by creating this certificate.
And a great place to begin is this More Info button, so just select that and it will take you to an Adobe help page on publishing out apps for iOS devices. It was formerly known as the Packager for iPhone, so keep that in mind it's just basically AIR for iOS and you can find information on also developing on a Windows machine in here. But really where I want to begin is with this Important Concepts area. And you can peruse this Glossary, because that will be throwing some new terms at you.
But really I am going to be creating this Certificate. From here I can go ahead and link out to the developer portal site. I have already signed in and then signed up as an iOS Developer and you can see my name right there, gives me access to the iOS Developer Program. I can jump into the Provisioning Portal. And now I'm going to go ahead and jump into the Certificates, because that's what I need to generate. Each one of these tabs has a How To section, which is nice.
But really I want to jump into Request Certificates and here it gives you a list of how to create a development certificate. And it will sometimes make a reference to X code, where we are not using X codes you can ignore that part. This is going to be specific for flash but it does tell me to go ahead and launch Keychain Access, which is what I am going to do right now. Here I have Keychain Access open. And I am going to change the Preferences under the Certificates tab.
I want to go ahead and turn these Off. I don't need a Status Protocol or any Revocation lists anything like that, turn those off just like that. And now, under Keychain Access, I am going to go ahead and use the Certificate Assistant to Request a Certificate from a Certificate Authority. This gets a little weird because since I'm the only developer on this, I'm actually approving of a certificate that I actually created in the first place, so it's more for a team environment if that helps you think about the process.
But nonetheless, I am going to go ahead and request a CA or Certificate Assistant. I am going to use the Email Address I use to sign up in the Developer Portal and I am just going to Save this to the desk. Save this to my desktop, just like that, click Done. Now I can go back in here into the Development area and Choose that file I just created. There it is on my Desktop, CertificateSigningRequest, so I am requesting it to be signed, Submit and then you might need to hit the Refresh button a couple of times, and it might take a little bit of time, but ultimately it will give you option to download.
All right, here it is. Now that it's ready to download, I can click that Download button. It downloads it to my Downloads folder. Now I have just created this Certificate, but what flash uses is a P12 Certificate. So I need to take this Apple Certificate and convert it to a P12 Certificates. So I am going to go ahead and just double -click on the identity certificate that just got downloaded it, here it is. If I right-click on it, I can now Export this out as a P12 certificate so I can use it right away.
And I will put in my Desktop, call Pauls DevCert, just like that, click Save and this actually is used to protect all of your exported items. So this really has your identity rolled up in it. So, make it somewhat strong and then password to your computer, just like that and it saves out that file. So I can Quit out of Keychain Access since I'm done with it. And I can go back to Flash Pro. Here I am in Flash Pro.
I'll now go ahead and go to my Desktop and point to that Developer Certificate I just created, click Open and punch in the Password that you gave it earlier and that's good to go. This is great. Now, any app I create will be signed with my specific certificate identifying me as the owner and really the creator of this app. So that's really only one of the things you need to do, but we are half way there. The next step will be setting up my device, so I can actually publish out this app to a specific test device.
There are currently no FAQs about Building Mobile Apps for Multiple Devices with Flash Professional.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.