Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flex mobile supports native mobile features?

Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).

Thanks

like image 437
Imran Avatar asked Jun 27 '11 10:06

Imran


2 Answers

Currently "all" native mobile features are "supported" via AIR native extensions.

You can read about AIR native extensions here

It is quite a new feature, but the point is, you can create bridge between native code SDK and your AIR application. It means, your application will be able to make calls to native SDK, and also receive events from native SDK.

Basically, if you want to present native feature in your Flex/AIR application, you create native code to achieve what you want (does require only little coding in most cases), bridge it with ActionScript interface, and package it as .ane (air native extension). This extension behaves like actionscript library you can then reuse for all your Flex projects if interested.

Link mentioned above also presents some examples - native notification is amongst them...

Since its fairly new feature, there are only few examples presented, but its not hard to code your own native extension for native feature you want - i did it myself and it worked... (here is simple native extension tutorial)

So the result is - you can present any native feature in your Flex app, as long as you have native extension for it...

like image 166
hendrix Avatar answered Nov 12 '22 01:11

hendrix


Does flex mobile supports In-App purchases,

Not integrated with the native store "procedures". I hear you can "build your own" using PayPal w/o much trouble; but It is not something I've personally investigated.

push notification

Yeah, it should. As long you're connecting to a server that supports push notifications. BlazeDS and GraniteDS use long polling to accomplish this. WebORB and LiveCycle use RTMP.

It's hard to quantify what "etc" may mean.

like image 24
JeffryHouser Avatar answered Nov 12 '22 00:11

JeffryHouser