Mobile App Packaged as Desktop (with air runtime)???

Okay, so I have this application that is basically the ubiqutous page turning component you can find online, but modified for mobile.  It's for kid's storybooks.  It's a mobile flex application in FlashBuilder 4.6.  When I export release build for my mobile project, I see an option for desktop .air packaging rather than mobile.  Works and looks great....but you can't sell a .air file on Mac App Store.  I want to bundle the air runtime to create a  .app, which hopefully I can get on the app store.  However, this option is not available in a mobile project.  I've tried figuring it out via commandline...
java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle ShortBook.app ShortBook-app.xml ShortBook.swf
but that results in.... no such file /Users/jamesabrannan/Documents/test/ShortBook.app
So then I saw that perhaps some of the google results might be wrong/outdated and I was actually simply supposed to indicate the folder the app was to be created in, okay, so....
java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle . ShortBook-app.xml ShortBook.swf
But that results in....
Files "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" and "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" have conflicting package paths: /Users/jamesabrannan/Documents/test/ShortBook-app.xml
What I want to do is take my mobile application and package it with the OS X runtime for adobe air.  It must be possible, but I'll be darned if I can figure it out.  Looks like I have AIR 2.6, or whatever is standard in FlashBuilder 4.6
I'm trying to avoid creating a desktop app, adding the mobile framework, and then transfering my code to it.
Any help would be appreciated.  This would be a great boon, as some tablet apps would be totally applicable - with a few slight modifications - on a desktop.
Thanks,
James A. Brannan
Brannan Technical Solutions LLC
www.floopiebooks.com

If you're using the MAX preview release then make sure both the device and your PC are on the same network and connected.

Similar Messages

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Kind Chef mobile app, used Starling and Adobe AIR

    Hi everyone,
    Recently we were busily working on an idea called "KindChef" which is a system that helps restaurants and we as customers.
    We have started a campaign for it on Indiegogo site, which is a crowdfunding site backed by Google as some of you may have heard about it, so that we can find the ones who are interested in the idea and can back us and contribute to it to help us make it happen...
    here is the campaign link: http://igg.me/at/kindchef/x/5769968
    We have developed a MVP (Minimum viable product) mobile app for it, using Starling and Adobe AIR. But it's not the end product and is not so optimized yet. It's just a sample app to show how the system works, but yet so many other features will be added to it's release version as we have discussed on the campaign page.
    We're also going to develop a control panel for restaurants too to manage their restaurant better. we're also going to develop a desktop app for them using Adobe AIR.
    Honestly, there are two reasons why I am talking about it here:
    1) the  Web developer’s perks, which provides AS3 programmers with many useful designs and OOP code snippets that we have used while developing the project and can help you a lot on your projects.
    Also we are giving away all of the Adobe AIR Native Extensions that have been used inside of the project.
    2) the second reason is to spread the word. Because sharing a campaign is a really important thing as Indiegogo counts this as a positive point for the campaigns, so if you just share it you have helped us a lot in our way,  or you may also contribute to it
    Please visit the link above and find more information about it for yourself.
    The most important way that you can help us, is by sharing the campaign link with your friends.
    Please feel free to ask any questions about the whole idea and system or the app.
    Best,
    MyFlashlab team.

    http://www.google.com/tv/spotlight-gallery.html

  • Our EnergyWatch app crashes on Android with AIR 3.8

    Please help!
    We have been running an Android app - EnergyWatch - (available on Google Play) for about one year now. Suddenly after customers having received the 3.8 AIR upgrade the app crashes during initialisation. We are using Secure Socket API for communication, and USB debugging tells me that the app seems to crash just before it receives the ON_CONNECT event.
    Everything still works fine on iOS (still runnning an older, embedded AIR runtime)
    Everything also works fine on Windows with AIR 3.8 installed.
    I've tried two different builds:
    Flash Prof. CS 5.5, with AIR 2.6 (same build environment as the current version on Google Play)
    Flash Prof. CS 6, with AIR 3.4.
    Exactly the same behaviour on both builds.
    I really don't know what to do.
    1. Are there any changes made to the Secure Socket API, especially on Android?
    2. Could we recommend our users to downgrade the AIR runtime? If possible, where can we find the previous runtime version?
    Tomas Öquist
    Perific Technologies AB, Stockholm, Sweden

    HI, Tomas
         may i give you an advise?
       If you really want your app run stable . PLZ  package with "captive runtime" .
      In my experience.  Adobe guys  will change API Behavior ,change  API ,change everything random  except themself .   Do you remember the  ShareObject behavior changed  at  AIR3.5.
      since  they cann't be trusted , you should always embeded AIR runtime . for your users, for  yourself ,especially  for adobe .
      For all of AS3 developer ,God ,please bless us.
    Raymond

  • Unable to attach debugger to mobile app running on desktop

    I've a mobile app (Burrito with Hero SDK) running on desktop as the launch method. I'm unable to connect the debugger to that. The progress just stuck at 57% waiting to connect to the app.
    Any idea what I need to set or where to look further?
    Thanks,
    k.c.

    If you're using the MAX preview release then make sure both the device and your PC are on the same network and connected.

  • HT4437 can I use airplay to show NFL mobile app on my TV with appleTV?

    I want to watch the Bronco-Raider football game this afternoon.  It is not shown in my area, but I can watch it on my iPhone updated to iOS 6 using the NFL Mobile app.  I want to use airplay to watch it on my tv through my appletv.  Is that possible?

    http://support.apple.com/kb/HT4437?viewlocale=en_US&locale=en_US

  • List in mobile View comp not working with AIR 3.1

    I've been using ViewNavigators and Views from the mobile mobilecomponents.swc in a couple of AIR desktop apps with out issue for some time now. For the last several months i've been building against Flex 4.5 with a merged in AIR 3.0 and everything has been great. Today I got arround to updating to FB 4.6. The release sdk with 4.6/3.1 is producing a very strange behavior that does not occur with 4.5/3.0.
    Application has two components based on spark/Group that each contain a ViewNavigator. (GroupA, GroupB) These are loaded and unloaded with state changes within the main application mxml. There are two Views (ViewA, and ViewB) When GroupA loads it subsequently loads ViewA into its ViewNavigator, and likewise when GroupB is added to the stage it loads ViewB into it's ViewNavigator. There is a List in each of the two views. If GroupA and it's view ViewA are displayed first then everything works as expected, but when changing states to show GroupB and not GroupA then the list in ViewB does not respond to any input at all. If GroupB is the first to load then GroupA when loaded after will not behave properly.
    The strange thing is that the same application when set to build with the merged sdk works without issue and passes all my tests. I can't find any notes on significant changes between 4.5 / 3.0 and 4.6 / 3.1. Am I missing some changlog somewhere with significant behavior changes from 3.0 to 3.1?

    Thanks for your suggestions. Had the same issue using Weblogic 10.3 + Windows x86 JRockit JVM 1.6.0_20
    I eventually ended up deleting the affected keys from cacerts
    To output the keys affected from {JAVA_HOME}\bin (Windows):
    keytool -list -v -keystore ..\lib\security\cacerts -storepass changeit > list.txt
    I ended up having to delete the following keys:
    keytool -delete -keystore ..\lib\security\cacerts -alias ttelesecglobalrootclass2ca -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias ttelesecglobalrootclass3ca -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias keynectisrootca -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias thawteprimaryrootcag3 -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias globalsignr3ca -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias secomscrootca2 -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias verisignuniversalrootca -storepass changeit
    keytool -delete -keystore ..\lib\security\cacerts -alias geotrustprimarycag3 -storepass changeit

  • Mac OS X: calling Self-Contained App Package Ant Tasks with jenkins

    Hello,
    we're trying to create a self-contained application package using the ant packager tasks running on Mac OS X Mountain Lion using Java 1.7.0_07-b10. This works fine when it is executed as a regular build. However, when we try to execute it from a Jenkins build job that is forced to use our "Mac Build Node" everything works fine as well BUT the packager fails to create a DMG-Image. It seems that the Applescript, created by the Packager to build the DMG, has problems to talk to the Finder application. Probably because it is executed remotely.
    Here is the Stacktrace:
    16:36:55 Using default package resource [script to run after application image is populated] (add package/macosx/sfx-client-post-image.sh to the class path to customize)
    16:36:55   Using default package resource [DMG setup script] (add package/macosx/sfx-client-dmg-setup.scpt to the class path to customize)
    16:37:09 /var/folders/rk/mtx558t16p1f50_432f2dkq00000gq/T/build6253445559899130246.fxbundler/macosx/sfx-client-dmg-setup.scpt:55:59: execution error: Finder got an error: Application isn’t running. (-600)
    16:37:09 java.io.IOException: Exec failed with code 1 command [[osascript, /var/folders/rk/mtx558t16p1f50_432f2dkq00000gq/T/build6253445559899130246.fxbundler/macosx/sfx-client-dmg-setup.scpt] in unspecified directory
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:131)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:107)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:101)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.MacDMGBundler.buildDMG(MacDMGBundler.java:356)
    16:37:09      at com.sun.javafx.tools.packager.bundlers.MacDMGBundler.bundle(MacDMGBundler.java:80)
    16:37:09      at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:452)
    16:37:09      at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:435)
    16:37:09      at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:215)I'd like to know if this is a known problem or a general limitation of the packager (or the way DMG creation works in OS X) ... OR if there is anything that I can do/configure/change to make it execute correctly when called via ssh on a remote mac?
    Thanks in advance!
    Jens

    Apple script is used to style dmg installer (position icons, etc.).
    This is unavoidable step unless you will only build .app and generate .dmg on your own.
    It should still work over ssh if you log as a same user on the desktop on the build system.
    Finder can not initialize if it can not display. We use Hudson in house to do builds and they are building .dmg bundles fine as long as build slaves
    have same user logged in on desktop on the slave node. I assume similar should work for Jenkins but i have not tried myself.
    Otherwise, you can do custom dmg along these lines:
    - create .dmg image once from manual build
    - convert .dmg file to read-write form
    - remove content of you application folder (but keep top level app directory)
    - add this dmg to the build (should be able to compress it if size is concern)
    - at the build time - mount it, copy .app content into the image, then convert .dmg into compressed read only form

  • Mobile App from a Desktop Application

    Hi Experts,
    I have developed desktop application. I would like to have a mobile version as well.
    what is the best approach to have the same app on mobile.
    Should i have at have another app on Jquery Mobile.
    Thanks,
    Bala

    Hi Bala,
    Do you want to create Jquery Mobile application UI within your desktop application??
    Yes means, follow the below steps,
    Go to Shared Components-> Under the User Interface section-> Select User Interface Attribute.
    Under the User Interface section-> Click on Add User Interface button to create Jquery mobile UI.
    Then You have to create a navigation bar to switch over from desktop to Jquery mobile UI.
    You can refer sample application which is using both Desktop and Jquery mobile UI.
    Thanks
    Lakshmi

  • Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps, 
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • AIR Runtime exe as well as my App exe into one exe

      How to Bundle AIR Runtime exe as well as my App exe into one exe in Windows XP so that user can have only one exe and on clicking of that it will automatically install AIR Runtime if it is not installed or a lower version of it is there.?

    Air runtime is installed automatically for you there is no need to bundle it that way. The Captive Runtime bundles your application with AIR runtime dll taken from your SDK at time of compilation. This release type doesn't require separate AIR download, but it doesn't produce installer of any kind for your application - just a bundle (your swf + air dll + project descriptor). You can use tools to package the whole thing into msi isntaller. Tools like advanced installer, install jummer or, WiX tool are used for that.
    GL.

  • Dreamweaver CS5.5 Mobile Apps with PHP and MYSQL?

    Hello,
    I don't have Dreamweaver CS5.5 yet and I've been trying to search for information on this but I couldn't find any. I've been learning PHP and been developing with MYSQL with Dreamweaver CS5 but I wanted to know if I can use the same tags and everything if I would to build a Mobile App using the new Dreamweaver CS5.5 (http://tv.adobe.com/watch/cs-55-web-premium-feature-tour-/dreamweaver-cs-55-jquery-mobile- pages/). I overlooked at the video and it seems pretty easy building an app. So is PHP and MYSQL easily integratable? Are there any examples that I might be able to check out?
    Thanks!

    No. PHP is a server-side scripting language that requires a server (or server-like environment) to run.
    An iPhone (or Android) application does not allow for a "built-in" server (which is resource intensive and has scary security implications). You just can't build an application with PHP/MySQL for a mobile device. Instead you can build a web service that your HTML/JavaScript mobile application can then communicate with. This is the only supported way you can use PHP/MySQL in a mobile app. Again: the PHP/MySQL should reside on a server and your HTML/JS mobile app can then communicate with that web service. That's what instapaper and other applications do.
    Frankly, just make a web application that's mobile device friendly and you'll:
    1) Avoid all the messiness of the app stores
    2) Have greater control over what your web app can do (don't have to tow the Apple/Google line)
    3) Have a web app that can work across mulitple mobile devices as well as standard web browsers (i.e. more audience = more $).
    4) Future proof your application (pushing updates to your server and everyone using your web app is updated)
    Otherwise, read-up on Adobe AIR and what it supports and remember, the best apps are written natively for the platform (i.e. want to write an app for an iPhone? Learn Objective-C and use xCode on a Mac. Want to write an app for Motorola Xoom? Learn the Android SDK and use inteliJ).

  • How to update mobile app on Tablet with Android OS?

    Hi everyone!)
    I use Flash Builder, i'm want to create mobile app working on Tablet with Android OS with possibility to update it to new version, for example from ver.1 to ver.2,
    when i work in Flex Builder it seems like this:
      import air.update.ApplicationUpdaterUI;
      import air.update.events.UpdateEvent;
      private var updater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
      private function doUpdate():void
          updater.configurationFile = new File("app:/config/updaterConfig.xml");
          updater.initialize();
      but when i crete new mobile project in Flash Builder I can't import air.update
    Smb, please show me basic example how i can do this...mb some links to this discussion or example on my email: [email protected]
    PS: thanks to everyone!)))

    If you had looked at data dashboard and some of the other links on Android, you would see that you cannot run a LabVIEW app on Android. Nor can you use a serial port. With Data Dashboard, you have a pc running LabVIEW and it publishes to network shared variables. Data Dashboard on the Android allows you to view those variables.

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • Introduction to PhoneGap Build - Building your first app | Building Mobile Apps with PhoneGap Build | Adobe TV

    In this video you will learn how easy it is to build and update your first mobile app using web technologies with the Adobe PhoneGap Build cloud service and learn about two new great improvements to speed developer workflow!
    http://adobe.ly/18qDiVR

    I just installed the latest Edge Code but there's no PhoneGap build icon as seen in the video.  I don't see any way to turn this feature on.

Maybe you are looking for