Integrate a library like ShareKit in an AIR app? - ios

ShareKit is just an example, I need to know if native iOS libraries with UI, can be integrated, linked and used in AIR.

AIR has the concept of native applications, but those aren't linked with arbitrary libraries. However, native AIR application can load arbitrary helper applications, and those can use arbitrary libraries. You'll just be on your own in it - no support from AIR, usual native development.

Related

Can I split an iOS app to Two or more projects?

Working on an iOS app that can be divided in to two apps
which will implement, one with Swift and the other with Appcelerator.
is that possible ?
Of course it is possible, but you cannot share code between the 2 apps unless you use Hyperloop by Appcelerator (Which requires a Pro account).
Appcelerator is a tool to build cross platform apps using JavaScript with a layer to translate it to Objective-C and Java.

iOS & Adobe AIR working together

I know I can wrap native iOS code within an Adobe AIR application: Adobe calls it Native Extensions, which leverages native iOS API to offer features that Adobe AIR does not have.
My question is, what about the opposite way? Is there a way to wrap ActionScript/Adobe AIR code within a native iOS application? I know this is difficult, but I guess there must be some way.
Thank you for your advice.

Using twilio sdk for an iOS app?

I am planing to develop an VoIP iOS app and use Twilios SDK. I am making the choice to either use LiveCode, Appery.io, PhoneGap or build a native Objective C app. I am going to build the app for iOS, Android and HTML5 so the ideal would be to develope in JavaScript for all platforms, but as I understand the support for WebRTC is laking on the iPhone so the alternative for iOS is the native twilio SDK.
My requirements is:
be possilbe to use in iPhone 5 with iOS 7 be able to use twilio iOS
SDK´s voip functionality or twilio´s js SDK (if it is possible to
wrap a browser that supports RTC in the code?) be able to integrate
billing such as in-app payment or paypal with zooz or similar
communicate with REST API´s such as Amazon S3 or a node.js server
store temporary info in a SQLLite db when app is off line make fast
and responsive views (file listings etc) is very important
create cfuuid´s
I have seen several Twilio projects that use PhoneGap but none that are using LiveCode.
I have already built an iOS VoIP app in Objective C, but I want to be able to release it on several platforms also such as for Android and build a HTML5 app, without redoing everything.
This isn't really a programming question and should perhaps not be asked here.
You can create an external for LiveCode and quickly create an interface using the LiveCode IDE. This is probably a quick and easy way to make a working app. If you're starting with LiveCode but are experienced in Objective-C, creating an external won't be a problem for you.
LiveCode doesn't contain native iOS controls, which means that you have to emulate the GUI. If you use PhoneGap, you also will need to compile a plugin for PhoneGap using Objective-C, but you can use a framework, such as JQuery, to get the right GUI.
Either way, you will have to compile the SDK and you'll need to be quite profound in Objective-C.
LiveCode will meet all your requirements. However, Apple will deny your app if you use PayPal for in-app purchases. You'll have to use Apple's in-app purchasing feature. I believe this is possible in LiveCode now. I'm not sure how easy it is.
I'm not sure about file listings either. On iOS, you won't have complete access to all files on the phone. This isn't a LiveCode limation but a limitation of the OS.

Difference of Native packaging between Sencha touch2 and PhoneGap

What is the difference of native packaging between Sencha touch2 and PhoneGap?
Many people use PhoneGap to natively package app based on Sencha touch, but I find that Sencha touch 2 has a new feature of native packaging.
So which type of native package is better in Performance, scalability, functionality, maturity, etc. ?
How do you choose?
PhoneGap is a middle-platform which is able to access some native APIs on many platforms and its interface language is Javascript. This means that PhoneGap is able to work with many cross-platform mobile web frameworks, such as: Sencha Touch, Titanium, jQuery Mobile, etc.
Sencha Touch 2 also provides a few native APIs (currently available on iOS, Android) through its SDK.
If you are not going to use any native APIs, then they don't have any major differences on performance and functionality as the only work done is just to wrap your Javascript code into a webview native component on corresponding device.
Lastly, the 2 main differences are:
PhoneGap provides much more APIs than Sencha Touch SDK.
PhoneGap supports 7 platforms, while Sencha Touch SDK only 2.
I had the same questions, I agree it's a real mess at first glance. Here is a very good article that "clears up confusion" quite well.
To quote the gist of the article:
Sencha Touch (and jQuery Mobile) are mobile web frameworks. You can use these technologies to create web-based, mobile apps. They don’t have access to any native API’s.
You can use Sencha Touch and jQuery Mobile inside both PhoneGap and Titanium. If you decide your html/js is cool as a native app too, you can use either PhoneGap or Titanium to wrap a browser around your app and put it in the app store or marketplace. This is where, I think, the confusion comes. Putting your Sencha Touch or jQuery Mobile apps in a native wrapper doesn’t make it a native app. It makes it appear as if it is a native app. You might get some extra functionality from PhoneGap or Titanium API’s, but it’s still not necessarily a ‘native’ app. It’s a web app running locally on the device. It’s a great way to use web technologies inside a native-like area.
The difference is that Sencha Touch allows you to build native iOS-Applications even on Windows, whereas PhoneGap 'only' bundles your HTML files into an XCode project, which further needs to be compiled on OSX for distribution/packaging.

Is it possible to develop using Xcode and Adobe Flex at the same time?

I've been looking for interactive chart library for iOS but it seems like there's not so many options out there. I've tried CorePlot and two other commercial library but even though the licensing were very expensive they're not quite what I'm looking for or close to some of the charts found in Microstrategy or Roambi app like the on below ...
Then I found an article about Adobe Flex with a few sample applications build using Adobe Flex that can run on iOS. Pretty interesting technology but I'm mostly interested with its chart. Is it possible to create a library using Adobe Flex(with chart views) and import the library into Xcode?
It's possible to create applications with Flex/Flash for iOS using AIR. And there is also a great opportunity exists to import native iOS libraries created with Xcode to the Flex (find some samples here). So you just need to look for appropriate charts functionality implemented with flex/flash and try to launch it under the iOS to see whether you'll be satisfied with performance or not.
Flex = Flash, and iOS != Flash. Clearly, Xcode wouldn't allow it. You could try compiling a bundle from Adobe's cross compiler tool, if that is indeed possible, and use class-dump to access it. Perhaps.
Adobe Flex 4.5 and 4.6 have introduced ANE (Adobe Native Extensions). This allows extending the Adobe AIR runtime ( there is runtime for IPhone, IPad, Adroid, Blackberry 10, ) using native code.
For IPhone you can write a static library compiled as a .a file and import that into your Flex Iphone project and compile as ANE.
Flex also has some native things like vibration, camera etc support, but if you want to do anything nifty with it, just write native.
Compared to Titanium, PhoneGap, KendoUI etc - Adobe Flex 4.6 really stands out. One thing that you must be aware of that Adobe Air runtime needs to be on the device. From Adobe Flex 4.6 onwards, you can actually bundle the air runtime with your app - it is called the captive runtime.

Resources