Skip to main content
Participant
March 16, 2013
Question

Integrate Adobe PhoneGap with Adobe Air?

  • March 16, 2013
  • 4 replies
  • 3730 views

We have developed a few screens on air (which require video streaming and animation) and a few on phonegap.. How do we integrate both into a single apk ?

Thanks

This topic has been closed for replies.

4 replies

Participant
June 10, 2014

I have tried the Air Native Extension to integrate. I am able to deploy the air application however, when I invoke the phonegap/cordova app, it displays the error ""connection to the server was unsuccessful".

How do I solve this?

Thanks.

Inspiring
August 13, 2013

Doesn't StageWebView not really let you interact with the HTML at all? I'm curious about how to integrate HTML content into a mobile AIR app, too, because HTMLLoader seems to be unavailable...

Colin Holgate
Inspiring
August 13, 2013

PhoneGap is a wrapper for HTML content. You can use that HTML content in AIR with StageWebView, and not need the PhoneGap stage.

Known Participant
August 13, 2013

But does stagewebview has better performance than an Objective C WebView?

Colin Holgate
Inspiring
August 13, 2013

No, StageWebView uses Objective C WebView, so the performance is the same.

I recently had to make an AIR app demo of an app that was being done in PhoneGap. Some of the navigation around the site didn’t work, because the HTML was talking to layers in PhoneGap, but for the pages that did work, the AIR version worked better. For example, maps that were in the pages would zoom and pan in AIR, but were static in PhoneGap.

Participating Frequently
March 19, 2013

You can integrate PG with Native app. Look up for code snippets on Phonegap Google groups.

AltrosynAuthor
Participant
March 19, 2013

yes but I need to integrate with Air

Participating Frequently
March 19, 2013

You might -- write ANE that will be bridge between your air app and PG as webview (or something). Just look up how they do it with native apps and PG bridge -- from there it should be straightforward .

Now, after reading your post in more detail, what's the purpose to use PG that Adobe Air + ANEs can't do? Really, I'm extremely curious.