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.
Related
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.
The apps provide the same functionality, but have different code bases.
Is this possible?
I'm not entirely sure what you mean by "bundle" in this instance. PhoneGap provides the ability to deploy your app to numerous platforms (iOS, Android, Windows Phone) by writing in just HTML5, CSS, and Javascript. Your question states that you have a functioning HTML5 version of the app written for the PhoneGap platform. If this is the case, what is the need for the Objective-C iPhone app? Simply maintaining the HTML5 app should be sufficient to deploy to both iPad and iPhone. PhoneGap currently supports iOS, iPad, and retina displays.
From the PhoneGap documentation, you can specify differences in your interface using config.xml.
You can mix phonegap and native code fairly easily - just have the startup code check the platform type and display either the native view or the phonegap webview.
However, whatever you do at this point will result in some inconvenience to users - the only way to share in app purchases across devices is to have a single universal app. If you want to keep existing purchases, you have to add an ipad view to the existing iphone app, but that will not show up as an update for anyone who has the existing iPad app.
There are other possibilities such as setting up a server to track purchases in both apps, but that gets a lot more complicated than standard in app purchase and only works if your app includes a login system.
I would like to develop a simple contact list iPhone application in Flash CS5.
I'm a web developer, and I have no experience with iPhone yet.
How can I save the data of contacts? As I know, flash just post the data to a page, but what page, if it is an app?
It's a off-line app, where the database should be?
Flash CS5 Packager for iPhone doesn't support the Address Book Framework on iOS. The Packager for iPhone only support the following native iOS API:
MultiTouch
Screen Orientation
Saving images to Photo Library
Accelerometer
Geo-location
Cut / Copy / Paste
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
For instance, could a web app access the mic on an iPhone and transmit voice back to a server?
Or is it possible to build Safari extensions for the iPhone that can operate transparently on a web page? For instance, is it possible to build an extension that removed ads from Google result pages for the iPhone, without the user clicking any buttons to activate the ad-removal functionality?
You pretty much hit the main limitations.
You have no access to hardware that's not supported by HTML5 (geolocation is, but things such as acceleration and audio/video recording are not).
You can't build Safari extensions for the iPhone at this time, you can only use JavaScript like usual.
Some frameworks like PhoneGap make attempts to provide more hardware features via a native app container, but it appears Apple is trying to prevent those apps from going on the App Store, to some extent.