AIR Print for iOS

I was wondering whether is possible to print through an ios app developed by sdk 3.8........or 3.9?
Thanks and regards

If you use an ANE, such as Milkman Games GoViral, you can share an image in a way that brings up the normal iOS6/7 share dialog. One of the options in there is to AirPrint.
At the moment though, that share dialog is crashing under iOS 7. I need to check if there is a recent update to the ANE!

Similar Messages

  • Embedding swf files in AIR app for ios

    Hi,
    After going through a lot of articles already available, I found answers with varying views on the following questions:-
    1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
    Something like [Embed(source="someSWF",symbol="exportedSymbol")]
    and also something like [Embed(source="someSWF")].
    From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
    2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
    Something like [Embed(source="someSWF")]
    and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
    I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
    3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
    Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
    Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
    In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
    Any help is much appreciated.
    Thanks!

    I am fairly sure that the answer to your questions is: “no”.
    For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app.

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • File.upload on Air SDK for iOS devices failed to send http request to server.

    I am trying to use ActionScript's File.upload to upload a file on Air SDK for iOS8 environment, but the File.upload does not work properly. No handler about the file upload is executed after File.upload is invoked, and no exception is caught. When I check the network traffic of the server side, I found that no http request even hit the server after File.upload is executed. The code snippet here is very simple.
      private var file:File;
      private var dir:File;
      //This method is executed to create a file and upload it when the Upload Button is pressed.
      protected function OnUploadButtonPressed(event:MouseEvent):void{
      var str:String = 'This is test';
      var imageBytes:ByteArray = new ByteArray();
      for ( var i:int = 0; i < str.length; i++ ) {
      imageBytes.writeByte( str.charCodeAt(i) );
      try{
      dir = File.applicationStorageDirectory
      var now:Date = new Date();
      var filename:String = "test" + now.seconds + now.milliseconds + ".txt";
      file = dir.resolvePath( filename );
      var stream:FileStream = new FileStream();
      stream.open( file, FileMode.WRITE );
      stream.writeBytes( imageBytes );
      stream.close();
      file.addEventListener( Event.COMPLETE, uploadComplete );
      file.addEventListener( IOErrorEvent.IO_ERROR, ioError );
      file.addEventListener( SecurityErrorEvent.SECURITY_ERROR, securityError );
      file.addEventListener(ErrorEvent.ERROR, someError);
      file.addEventListener(ProgressEvent.PROGRESS, onProgress);
      file.upload( new URLRequest("http://10.60.99.31/MyPath/fileUploadTest.do"));//This line does not work. No handler is executed. No http request hit the server side.
      } catch( e:Error ) {
      trace( e );
      //Complete Handler
      private function uploadComplete( event:Event ):void
      trace( "Upload successful." );
      //IOError handler
      private function ioError( error:IOErrorEvent ):void
      trace( "Upload failed: " + error.text );
      //SecurityError handler
      private function securityError(error:SecurityErrorEvent):void{
      trace( "Security error:" + error.text );
      //Other handler
      private function someError(error:ErrorEvent):void{
      trace("some error" + error.text);
      //Progress handler
      private function onProgress(event:ProgressEvent):void{
      trace("progressHandler");
    When executed on Air Simulator, it works fine as expected, and the file is successfully uploaded to the server. But When executed on iOS devices(in my case, iPad), as I explain early, no handler about the file upload is executed, and no the http request even hit the server. So I think the problem may be in the client side. It seems that the Air SDK for iOS just failed to send the http request for some reason.
    To make my problem more clear, I list my environment below:
    Development Environment:  Windows7 (64bit)  / Mac os 10.9.4 (Tested on  OS platforms.)
    IDE: Flash Builder 4.7
    Air SDK:  3.8 / 16.0.0 (After I updated to the lastest Air SDK 16.0.0 , the problem still exists.)
    Application Server:  Tomcat7 + Spring
    Target OS: iOS 8
    I have been struggling for this for days. So I really appreciate it if anyone has any idea about this.
    Thanks in advance.

    Hi bluewindice ,
    As you have quoted ( ActionScript's File.upload does not work on Air SDK for iOS devices ) , this issue has been replicated at our end, and our team will be working on it.
    Thanks,
    Tushar

  • Is System.gc() recognized in AIR 3 for iOS ?

    is System.gc() recognized in AIR 3 for iOS ?
    Or am I putting on a line a code that's just for pasterity ?
    I have made every effort to dispose(),null and removeEventListener any unused Object, hence to be able to tell the Garbbage Collector to "go ahead" is a really awesome feature.
    Can I confirm that this line of code work in iOS ?
    Thanks

    It's not useful if you are disposing of your objects properly.
    Cache will still ensue. Running a gc at that point can slow you down. iOS knows when it needs more memory and your dereferenced objects will be removed for you.
    Again, as long as you're cleaning up your objects properly, there is no need to manually call garbage collection. You may do 'the same thing again' and what otherwise would have already been in memory as cache would have to be reallocated, slowing you down.
    Flash Builder memory profiler will show you how it will act and if you're disposing your objects correctly. As long as you don't notice instances being generated and not removed when you thought they should have, you're fine.

  • Adobe Air SDK for IOS, i'm searching for a week  to get the certificate and provisioning files

    Adobe Air SDK for IOS, I'm searching for a week  to get the certificate and provisioning files!!
    Please help me to get the certificate and provisioning files and I should pay to have these files.
    Thanks

    Apple doesn't provide support for third-party development tools.
    You need to post in the Adobe forums.
    You need a paid developer account to install apps on an iOS device.

  • Air print for Ipad 3 using HPMFP 1217NFW

    Dear all,
    I want to buy an HPMFP 1217NFW, does it support air print for my Ipad
    Regards,
    Mark
    This question was solved.
    View Solution.

    The Laserjet 1217nfw is airprint capable.  Check out the document below that lists it. 
    Airprint Printers

  • What is the best air printer for the iPad 3

    What is the best air printer for iPad 3?

    I don't have a home office - nor do I have any experience in printers the way some reviewers do. When it comes to printing, all I care is that it actually prints and doesn't jam.
    Printers are so inexpensive these days and my old printer was a great Cannon that did it's job - cost about 80 bucks when I purchased. Then I bought an iPad and tried ALL the free printing apps - and even paid for an app that swore it would work with any printer. NOPE.
    So, when this printer came up to test - I jumped on it! WOW. Not only is it so easy to set up, even I can do it (didn't even need the disk). It prints anywhere from my iPad and my iPhone. I also love the double sided printing and never realized how much double siding printing I actually do. It's great for long recipes. The photo aspect of it is sharp and clear. I LOVE The scanner and though I rarely use a fax - it's nice to know it's available so I don't have to drive to my local media store. For the price - it's amazing.
    It's also super fast compared to my Cannon and super quiet.
    http://www.amazon.com/gp/product/B0091DPYDU

  • Air Print for J6480

    Is there an HP download to enable Air Print to work with the J6480 office jet all in one? If not, does the Print Central app for iPad allow printing direct to the J6480 or do you have to dpwnload weprint to enable it?

    With HP OJ J6480 and iPad, you can download and install HP iPrint app in your iPad. Both the devices should be in network to make use of the HP iPrint app.
    Check THIS document.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Air print for Ipad 2 on hp offficejet pro L7780

    Office Jet Pro L7780 on Windows 7 64-bit;   no error message; need to know if there is software fix that is available so I can air print with Iphone 4s and Ipad2

    Hello jimbo289,
    I would recommend downloading the HP ePrint Home & Biz app from the Apple App Store. You should be able to print to your printer from inside the app.  As of right now, there is no update for your printer to allow AirPrint directly from your Apple mobile devices.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Air Print with iOS 7

    I am unable to use Air Print since getting my iPhone 5s and also cannot use it with my iPad since upgrading to ver 7.0. Has anyone else had this problem?

    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

  • How to choose an air printer for OS Mountain Lion 10.8.3

    I am needing a printer for my macbook pro. Would like a multi-function laser printer that will print wirelessly. In reading the reviews on the Apple site, most of them are bad and talk about not working with the operating system. I will be using it for printing shipping and mailing labels, and general use printing. Does anyone have a printer that they would recommend? Your help is appreciated.

    My old Brother printer has churned out 60,000 pages and is still going strong. And it has worked without problems on every OS version since 10.4. That model is no longer being sold, but i would recommend the Brother brand without reservation.

  • Air print in iOS 7 is not finding previously identified hp printers

    Airprint under iOS 7 is failing to recognize previously identified HP printers. It has seen the printer on occassion, appears to recognized the scanner component, but then it has dissappeared, with no apparent reason. They are just not being seen and held. I have tried all the standard tricks. Reinstalled drivers. Turned off the various devices, printers, etc., in different sequences then reintroduced them, yadda, yadda, yadda...  I have not cleaned out anything of the iOS that may have lingered such as some type of plist thingy, as that is a morass I don't really want to get into.  Clearly a change in the iOS and how it finds AirPrint Printers, and holds on to them. Any suggestions on how to make it stick.

    Hi markfrombethesd,
    I see you're experiencing some issues since updating to iOS 7 on your Apple device and are now having issues with Airprint. I will certainly do my best to help you get this to stick! I have a document here that will walk you through quite a few different steps for any Airprint issues (it may appear to be for a specific printer, but it will work for any printer).
    If you reach the end of that document and are still having the same issues I'd like you to look through this document as well, as it has a few different steps.
    If after both documents your issue remains the same, you may have to try using the ePrint feature as opposed to Airprint until Apple releases an update to iOS 7. If you're not sure what ePrint is or how to set it up, click here and this document will get you in the right direction.
    Hopefully all of this helps, please let me know if there's anything else I can do! Have a great day!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Flash-Air-App for iOS and Apples new App Store guideline (XCode 5)

    Hi Forum,
    i'm using Flash CC for the development of an iOS App (AIR).
    Now Apple will soon update the iOS to 7.1 and Apple says, that from 1st of Feb. 2014 you can only publish iOS-Apps created in XCode 5 in App Store.
    Or how do I have to read this statment from Apple: "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK."
    How does this fact affect my Project?
    Will it still be possible to publish an FLash-Air-iOS-App through App Store?
    Thank you in advance
    Ralf Kopp

    Adobe fixed this internally. Just update your adobe air sdk to latest from labs.adobe.com

  • AIR Publish for iOS Error: Install application on the connected iOS device

    OK, I've been having this issue sporadically for a pretty long time now, I'm talking months if not over a year. Currently I am using Adobe Flash Pro CS 6 on a PC with Windows 8, AIR 4.0.0.1390 SDK installed. Sometimes, when publishing the App and having "Install the application on the connected iOS device" checked I receive the following error message although the iPad is connected with 2.5 GB available:
    "Error creating files.
    Uninstallation Error: Failed to send request to device.
    Device Error: please check if there is enough space on the device."
    I have found absolutely no rhyme or reason for this to occur. Sometimes it will, sometimes it won't, but I just tried publishing with install about four times, having unplugged the iPad, removed the previous App manually, closed the previously installed App, closed and reopened Flash, and it still won't install. Usually I can get it to install after a couple tries, thus dampening my urge to post a thread but I've now been driven to write due to the number of errors.
    Oddly a Google search for "Uninstallation Error: Failed to send request to device." yields no results, am I the only receiving this message?
    I keep hoping that new releases of AIR will resolve this issue but alas, no such luck. Anyone have a fix for this or able to confirm similar frustrations? I am currently using a first generation iPad, but have also experienced similar issues with third generation iPad.

    I'm also getting the error in the post above when trying to publish and install with AIR 15.0.0.302 on an iPAD 2 iOS 8.0.2:
         Error creating files.
         Uninstallation Error: APIInternalError.
         Device Error: please check if there is enough space on the device.
    - and I have 6.3GB of space, so I know that isn't the issue. I'm even attempting to compile a completely brand new (empty) fla, but the error persists. I've also tried to compile an ipa with AIR 14 and receive the same error. Possibly this has something to do with the latest iOS?

Maybe you are looking for