02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

AIR Application setup Android and IOS

You need to manually update your AIR inside flash and download and configure the Android development. For iOS you must spend $99 a year and download a lot of software. how to test should you use the emulator or the device?

Video Transcript

00:00So let's talk about setting up an Android app. And one of the first things you want to do is, although you actually don't
00:06need it, is go ahead and get the Android
00:10SDK from the URL here. What it really
00:14gives you is really that last one.
00:18DTMS, the Dalvik debug monitor simulation. And that's
00:22actually going to be great for
00:26screenshots.
00:30And, you know, if you really get into this, there's some deeper stuff. And if you don't
00:34have a device, that's how you're actually going to get the emulator.
00:38Get to that in a little bit. And then, obviously, you're going to need to download
00:42the Air SDK. Now, right now,
00:46you're going to have to manually update your version of Flash
00:50Professional CS55 to the latest version
00:54of the SDK. There is a really nice tutorial at
00:58SwiftGeek.com on how to go in and
01:02properly update your installation of Air
01:06inside Flash. Air 3.2
01:10is in beta at the moment.
01:14Nothing from mobile, it's only desktop. So, you can imagine
01:18that there's going to be a release, probably, with Air 3.2
01:22before we see a new version of Flash Professional.
01:26So, I would definitely go learn how to manually overlay
01:30the Air SDK inside your Flash Professional and
01:34bookmark it, print it, file it away, because you'll be doing it
01:38often. iOS, a little different, a little more expensive.
01:44So, you can get the Android SDK for free. It does
01:48cost $25 to get into the marketplace, I think that is for
01:52a lifetime, not for a year. For iOS,
01:56pretty much you're going to need to spend $99 a year. You're going to have to
02:00have an iOS developer agree to their terms of service,
02:04download Xcode and a whole bunch of other things in order to
02:08create and install your apps on your device. There's no way around
02:12that. And again, same thing about downloading the
02:16Air 3.1 SDK and overlaying it there.
02:20So, like I said, you're going to need to update your Air SDK.
02:24Here's the long URL. He actually wrote this
02:28when the release candidate was out.
02:32So, you'll have a release candidate and go with final. But it's a really nice
02:36straightforward tutorial of what files you need to update, what
02:40XML files you need to touch, if you happen to be
02:45in a pre-release program that may or may not exist, you might be doing this a lot.
02:49So, I mentioned emulators and development environments.
02:55And this is a big deal, because with most
02:59mobile development, it is a process of
03:03test on device, twiddle,
03:07test, fiddle, test, fiddle, back and forth, back and forth.
03:11And it's a real big issue.
03:15I'm just saying emulated here. So, on the left, you tend to see the default Android
03:19emulator. And, you know, on the right, it's on Android
03:23phone.
03:27The Android emulator is painful.
03:31There's no other way to say it. It's slow,
03:35it's
03:39slow. I mean, go out for a cup of coffee, come back,
03:43it may have started up and your app may be there. If you don't have
03:47a solution, you know, pick up another
03:51job and buy a phone.
03:55Getting it on, even just the simplest device on Android is so easy,
03:59and I actually will show that a little later in the slide deck,
04:03that I haven't fired up the emulator in a year and a half.
04:07So, having a device on the
04:11Android side is wonderful. Publishing over there,
04:15it takes all 15 seconds.
04:19IOS is different. IOS has this whole complicated
04:23provisionings and certificates that have to be loaded on the phone and
04:27in compilation. They actually have not an emulator, but a
04:31simulator. So, it's actually running more at the speed of your computer
04:35rather than trying to emulate what the device is. So, actually
04:39running the IOS simulator isn't too painful. I would
04:43say I would probably spend in my IOS development probably about 75%
04:47of my time is just inside there. I'm comfortable
04:51enough in what I'm doing over there.
04:55But, again, having to get back on the device, you know, always
04:59has to happen. I've actually found, you know,
05:03unless your application requires it,
05:07an iPod Touch works as a wonderful IOS development
05:11device. I mean, it doesn't have everything that a true iPhone has.
05:15But, you know, if your app isn't using that feature,
05:19it's a whole lot cheaper, doesn't come with a contract.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!