|
Speaker: Kevin Sawicki
Intro to using the Aptana plug-in for iPhone developement.
|
Hi. This is Kevin Sawicki with Aptana, and today I'll be showing you iPhone
Development Support inside the Aptana IDE.
So, I've already installed the iPhone Plugin, and as you will see it's
contributed to my Samples View.
We have three iPhone samples here, and I'm
right-clicking on them, and going to Preview Sample will bring up the application
inside an iPhone browser. So, the width and height of the browser are similar to what
they would be on the iPhone, and selecting the iPhone will toggle its orientation and
the orientation of the application running inside the browser. So, you'll see these examples
are fully interactive, and I can check out other ones. And then when I actually want to start
using one of these samples, right-click and select Import Sample as Project, select
Finish, and now you'll see I have an iPhone project created. Now, opening up an HTML
file, you'll see the addition of an iPhone preview tab, which will show you your application of
this current HTML file inside an iPhone browser preview.
So, if I want to go ahead and created an iPhone project from scratch, go to Project > New,
select iPhone > iPhone Project. Give your iPhone application a name, and if you go ahead
and add a link anywhere on your page, and go to the iPhone Preview, and select this link, you can
now navigate the controls similar as they would be on an iPhone. So, selecting forward and back
will take you back, and selecting any new links, and then you can go all the way back to your original
page, and this can be done in both orientations.
Now, if I want to add an Ajax Library of Support inside this application, right-click and
select Import, and under Other, select Ajax Library Project Wizard, and now you
can add a tool kit. And you'll see that now I have a jQuery sample that I can preview in the iPhone.
And now to find out more information about the iPhone and the iPhone Plugin, go to
Help > Aptana Start Page, and here you'll see we have a section for Apple iPhone Development.
This will tell you what build of Aptana you need to have in order to use the iPhone Plugin, and we'll
also provide you with the link to download and install the Plugin.
[End of Video]
|