Select to view content in your preferred language

Flex and the iPad

1115
11
08-30-2012 07:05 AM
deleted-user-yA_w_FC9FKe5
Deactivated User
I've been working with Flex Viewer which is an awesome program.  However, my boss just informed me that he wants to be able to see any developement work on his iPad.  So as far as I know the Viewer will not work on it.  From what I thought I heard at the conference is that native Flex would work on the iPad so I downloaded Flex Builder and created a simple map.  We tried it on his iPad and it is still asking for adobe flash. 

I sent him this link which works on my pc - http://servername/Flex/CompanyGIS/bin-debug/CompanyGIS.html

Did I misunderstand or what am I missing here?

Thanks,

Michael
Tags (2)
0 Kudos
11 Replies
deleted-user-yA_w_FC9FKe5
Deactivated User
I don't know of any specific apps that were built with the ArcGIS API for Flex, but if you just want to see a functionality app check out http://flex.org/flexgame/.

Android tablets: https://market.android.com/details?id=air.com.riagora.flexgame
iPad: http://itunes.apple.com/us/app/game-of-flex/id483389384

Source: http://riagora.com/pvt_content/flexgame/FlexGame-source.fxp

Also check out the mobile samples in the Tour de Flex app (http://flex.org/tour)
[ATTACH=CONFIG]17408[/ATTACH]


Thanks for the help.  Two final questions.  What is the emulator and how do you use it?  It sounds like I could view the app as if it were an ipad app without having to go through all of these steps.  Do you have any good articles on that one.

Also how do I give you points or whatever for this thread.  You have been very helpful..
0 Kudos
MarkHoyland
Frequent Contributor
Hi
I have ported my ArcGIS Flex API web site 'Sutherland Shire Maps':
https://mapping.ssc.nsw.gov.au/Sutherland/
into an ipad app using flex builder. It is in the appstore freely available.

It is not a trivial task!
Firstly, you NEED a mac to load to the App Store.

If you do not want to load to the appstore, you will have to register all devices with the apple dev site which will create the provisioning files etc. that you need. You can then use itunes on pc to load the app to each of the registered devices.
Creating the licencing and provisioning files can be quite confusing when starting out. Especially if you are using windows to do it.

The emulator is built in to FlashBuilder. When you create a mobile flex app, you can choose run configurations and select the device to emulate , and it will run on your pc when you click the run button in the Fash Builder IDE.

There are many controls in Flex spark which are not compatible or recommended for mobile apps.
Optimising controls for mobile is where I spent a lot of time when porting my web app to a mobile app.
It took about 2 weeks to port across.

A lot of the documentaion about flex to ios make it look seemless and easy, but dont be fooled. I found myself scratching my head a few times along the way.
The end result runs and looks great on the ipad, so it is worth the effort.
0 Kudos