How to embed flash files in iOS app - iphone

I have some flash files and i need to integrate those files in iPad app. i searched lot but everyone's answer is
- iOS will not support flash.
- even if you integrate flash files app store will not accept.
But my app is not for app store this is an enterprise app. Instead of integrating flash files we can do all the animation in our objective-c itself. But client is demanding to integrate flash files in iPad app. Is there any alternate solution. Please guide me.

Sure you can run Flash apps on iOS, you just have to build them using AIR:
Adobe AIR is a cross-platform runtime that enables you to use your
existing Flash/ActionScript or HTML/JavaScript development skills and
tools to build and deploy applications, games, and videos outside the
browser and on mobile devices.
Here is the specific resources page on how to build Flash ActionScript 3 apps targeting any iOS device.
The beauty of AIR is that if the code of your app is well organized, you can reuse most of it for any build being it for Android, iOS, Blackberry, or even a desktop app (windows and macosx) or the web.

Hybrid way:
Flash to html5 conversion then open HTML document using webview
Google swiffy:
Swf to HTML 5
Note:
maximum of 1 mb only be converted at present
Link:
click here
Adobe wallaby:
Fla to HTML 5
Note:
At present cs5 only supported.the lower versions have to be resaved in cs5 to convert.
Link:
click here
Native way:
Adobe air:
One could run actioscript flash content directly in ios devices.
Note:
At present you could make stand alone ios apps only you can't integrate with existing app.
Link:
click here

It is a detour only, but you could install the Photon browser and call it from your app.

Related

SWF on the IOS applications from web url

I had developed a mobile application for realestate company. They have a website and every thing are loading from the website. Now, they wants to add a virtual tour feature to their website. We are looking for a solution that be useful for both website and mobile platforms.
After many consults I thing making virtual tours with flash is a good item but there is a big concern. Do we can download swf files from internet and then user play them on the ios applications?
I heard that ios do not support swf files on their applications and even reject application with swf files. Is it true?
The scenario that I imagine is downloading swf virtual link from web and playing it under a tab at iphone and ipas. Is that possible and valid under ios ?
Thank you
Even Adobe themselves have given up on Flash on mobile devices.
http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-update.html
We announced last November that we are focusing our work with Flash on PC browsing and mobile apps packaged with Adobe AIR, and will be discontinuing our development of the Flash Player for mobile browsers.
Android and iOS devices have no Flash playing capability, period. While you can author native apps using Adobe's tools, that's an entirely different and isn't going to be an option on a website.

iPhone app in Flash Builder

I've created an android app that uses WebView, through Eclipse, to display a website and navigate through it. However, now I've been assigned with creating the same app for the iPhone/iPad.
Is there any way to implement something as simple as a WebView for the iPhone while programming it through Flash Builder? (First time developing for Apple products...)
Any help will be much appreciated!
Thanks
With Adobe Air 3 you can publish apps for iOS. Making a UIWebView in objective-c (cocoa) and then load an external flash app (or site) won't work, since iOS devices don't allow flash embedded objects
Create app with NewDigitalTimes Free Apps Creator based on Adobe Air technology. This immediately gives all the functionality for push-notifications, analytics and advertising. Else you can use animation in app. Customize the showing Web site in the native iOS application with specifying the link.

By using PhoneGap can we convert iphone app to android app?

Can we build an iphone app and convert the application to the android application using phonegap framework?
I have been through various links.
We basically need to develop a webapp for that and that can be converted to an android app or an iphone app respectively.
I am an iphone application developer and i am not at all familiar to android.
Links or example code would be greatly appreciated.
PhoneGap will not enable you to "port" an existing iphone application to Android. However, if you develop an application within the PhoneGap framework (which means using html, css and javascript), you will be able to deploy it on multiple mobile platforms such as iPhone, Android, Nokia, Blackberry, etc.
The downside is that you will eventually be developing a packaged mobile website - your application consist of html pages, css styling and javascript behaviour/logic, combined whith access to phone internals such as gps, disk, database, camera, etc. It will usually not "feel" fully native on most platforms. For example, you will not be using the system's "native" ListView.
There are javascript libraries such as JQuery-mobile, JQTouch, etc, that make your application look nicer on mobile devices, but it's still not as good as the native experience.
The app you build will not be a native Android or IPhone app but a HTML Web App wrapped in the PhoneGap wrapper and packaged into a native app. So yes you can build for both platforms as long as you build a Web App
Edit -(a Web App is just a plain html/css/javascript + server-side(php, asp etc) website)

Can we Integrate flash in iPhone application?

I want to integrate flash in my iPhone application so is it possible to integrate?
You can write apps in Flash that will run on the iPhone by using the Packager for iPhone. It only works with Flash and not Flash Builder. Adobe just released a revision after Apple changed its SDK license again so that it can run. Note that to run on the iPhone your app has to be compiled by Flash to a native iPhone app. You can't run just any SWF.
Also yesterday Adobe announced AIR 2.5 which claims to let you program for one runtime (AIR) and target multiple platforms including iPhone and iPad. The release notes explain that they will be updating their Packager to work with AIR 2.5 for feature parity with AIR 2.5 for Android.
There is an application called Packager for iPhone from Adobe, which can be used to make iPhone app from Flash. I never used it though, but I think you should give it a try.
No.
Adobe Packager appears to only be able to create entire apps, not library code that will integrate inside a larger app. There also is no complete Flash interpreter in a form that you might be able to bundle with your app (although there appear to be a few open source projects that claim to run a limited subset of Flash). Thus there is no way to integrate Flash into a larger iPhone application that will run offline.
Online, you might be able to run a Flash application remotely on a server, and serve the graphic results to an iPhone app using something like the VNC protocol.
A new parser called hiramkei will soon be available for adding Flash animation SWF files into Xcode projects for iPhone. Here is the site http://www.flash-on-iphone.com/demo

Flash Component in iPhone

i have few questions regarding flash components in iphone
I would like to know if a safari browser in iphone can play a flash component(swf file).
Do i need to download a plugin for safari ? If so will the plugin update the existing safari browser or will it be another standalone application which plays the swf file in the safari browser? same doubt i have with mozilla browser in iphone.
I have a swf file .Will i be able to embed that to a native application in iphone.
I saw that iphone flash application can be developed and such applications are present in app store.If so which version of adobe flash has that capability ? (cs4 or cs5)
The Flash plugin is not available on iPhone, and will certainly never be...
You might take a look at Adobe Flash CS5, which will be able to create native iPhone apps from AS code.
http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
You might be able to embed a Flash SWF into your app using Hirameki. Still not ready for market, but it plays Flash animations directly from a SWF file inside a native app.
http://flash-on-iphone.com/demo