DatagramSocket on mobile AIR 3.8

I've created a really basic project to test the DatagramSocket in AIR 3.8 & Flash Player 11.8, but the DatagramSocket.isSupported property is coming back as false...even though Adobe says it is supported on Android & iOS.
Another new feature is ServerSocket, when I trace that out it comes back as true. Has anyone had trouble using this?
Capabilities.version = IOS 11,8,800,49
NativeApplication.nativeApplication.runtimeVersion = 3.8.0.440
DatagramSocket.isSupported = false
ServerSocket.isSupported = true

Ok, so I just created a blank ActionScript Mobile project, targeted the AIR 3.8 SDK, made sure my descriptor XML has 3.8 namespace, added "-swf-version=21" into the compiler options, compiled a debug build and traced out a few values.
Capabilities Version IOS 11,8,800,49
Runtime Version 3.8.0.440
DatagramSocket.isSupported false
Here is the SWF dump
Adobe SWF Dump Utility
Version 2.0.0 build 353900
Copyright 2003-2012 Adobe Systems Incorporated. All rights reserved.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Parsing swf file:/Volumes/LaCie/Projects/Flash Builder/DatagramSocketTest/bin-debug/DatagramSocketTest.swf -->
<swf xmlns="http://macromedia/2003/swfx" version="21" framerate="24.0" size="10000x7500" compressed="false" >
  <!-- framecount=1 length=1404 -->
  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
  <Metadata>
        <![CDATA[<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1'><dc:format>application/x-shockwave-flash</dc:format><dc:title>Adobe ActionScript Application</dc:title><dc:description></dc:description><dc:publisher>unknown</dc:publishe r><dc:creator>unknown</dc:creator><dc:language>EN</dc:language><dc:date>May 18, 2013</dc:date></rdf:Description></rdf:RDF>
]]>
  </Metadata>
  <EnableDebugger2 password="NO-PASSWORD" reserved="0x1975"/>
  <!-- unknown tag=63 length=16 -->
  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
  <SetBackgroundColor color="#FFFFFF"/>
  <ProductInfo product="FLEX" edition="NONE" version="4.6" build="23201" compileDate="5/18/13 2:34 PM"/>
  <FrameLabel label="DatagramSocketTest"/>
  <DoABC name="DatagramSocketTest"/>
  <SymbolClass>
    <Symbol idref="0" className="DatagramSocketTest" />
  </SymbolClass>
  <ShowFrame/>
</swf>

Similar Messages

  • Bluetooth keybaord and mobile air mouse hack

    I just picked up a bluetooth keyboard. I would like it to work as a desktop keyboard as well as for the iphone. Easy enough to do but I forgot to purchase a bluetooth dongle for my PC.
    Accidently though I wondered if it would work if I fired up the mobile air mouse app, and what do you know, I'm typing this right now from the bluetooth keyboard, through the iphone, through the air mouse program and wifi to my computer. It's all working seemlessly and instantly. For a variety of reasons I think I'll be happy with this setup for a while. This keyboard would have to remap to replace my full PC keyboard, and with the ability to keep this on mobile (on my lap with my feet up at the moment) it works better as a secondary PC keyboard than a primary.

    You can use your mobile phone as a modem. This can be done manually by yourself or automatic by a commercial third party software:
    Manual: you need the right scripts and connection settings and enter them manually in your network configurations. You find the right scripts and configuration hints here: http://www.taniwha.org.uk
    Automatic: try the demo of launch2net at http://www.launch2net.com which features a powerful configuration assistant which already includes all necessary network settings and scripts for this phone and 150 more devices and networks.
    Thank you
    Jan Fuellemann | nova media

  • Adobe Flex Mobile + AIR - Custom iOS Build Setting

    I am building some Adobe Flex Mobile application using Flex 4.6.0 + AIR 3.5 only for iOS
    This app involves some iOS Native Extension created also by me.
    The thing is that this ANE uses some third party framework (GD.framework from Good Dynamics Technology). That framework requires GD FIPS linker to be used, and for that, i need to set some custom build settings in a .xcconfig file, with this content:
    FIPS_PACKAGE=$(CURRENT_ARCH).sdk LDPLUSPLUS=/Good Technology/Good.platform/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld LD=/Good Technology/Good.platform/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld
    The ANE compiles OK, but then, I add the ANE to the app, I compile the app, but when I launch the app, it crashes because the FIPS linker was not properly got set on my Flex Mobile project.
    So, my question is:
    Is there a way to set the above configuration on my project like somebody would do in a Xcode project?
    Regards!

    I see your key as a reserved key for iOS. I haven't tested it myself but here's the keys you cannot change. Sure enough, MinimumOSVersion is reserved.

  • Voice recognition support in mobile air application developed using Flash CS5.5

    I want to develop an android application via Flash CS5.5 which takes the command based on voice or convert voice in to text. Voice recognition support is available in android SDK but it is not available in latest Air SDK.
    I tried on Google to find out how to develop Voice recognition mobile application in Flash CS5.5 but did not find anything. There is some example/video which shows hack around native android code but this is for Flex not for the Flash.
    Waiting response?
    Thanks
    RTY

    Hi Rty,
    I think you should use  a native extension.
    Have a look at this link:
    http://extensionsforair.com/extensions/speech-recognition/

  • SqLite database persistence on mobile air application

    Hi, I'm Fabio from Italy. I'm developing a flex mobile application running on iPad, that application stores user settings in a local sqlite database on documentsDirectory. I've noticed that folder is destroyed and recreated each time the application is updated, and this is not good for user data . Is there any way to store that database in a folder that's NOT involved in the application uninstall/update procedure?
    Thank to all!

    You can't write anything to the applicationDirectory.
    Use File.applicationStorageDirectory instead
    Also you get path and do not wrtite to it anyting
    var jpgEncoder:JPGEncoder = new JPGEncoder(90);
    var byteArray:ByteArray = jpgEncoder.encode( bitmapData );
    // set an filename
    var filename:String = "cool-wallpaper.jpg";
    // get current path
    var file:File = File.applicationDirectory.resolvePath( filename );
    // get the native path
    var wr:File = new File( file.nativePath );
    // create filestream
    var stream:FileStream = new FileStream();
    //  open/create the file, set the filemode to write; because we are going to save
    stream.open( wr , FileMode.WRITE);
    // write your byteArray into the file.
    stream.writeBytes ( byteArray, 0, byteArray.length );
    // close the file. That’s it.
    stream.close();
    Try to use:
    // get current path
    var file:File = File.applicationDocumentsDirectory.resolvePath( filename );
    //  open/create the file, set the filemode to write; because we are going to save
    stream.open( file , FileMode.WRITE);

  • CSS3 and Mobile Air App

    Can you use CSS3 inside of a Flash Builder 4.7 Project.
    If so any examples would be great.
    Thanks

    I was able to get the version detection callback to fire. I'm still struggling with why the Nativeapplication.nativeapplication.exit() call (from within my AIR app) does not remove the app altogether. When using mac, this is evident in the dock having the app icon loaded, in windows the process for the app still exists....
    thoughts?

  • Anyone using the mobile air mouse app?

    this app is really cool.. i was wonder if anyone has found anything cool that they can do with it.. im typing this from my iphone to my computer which i think is cool..

    David_1000-
    Do you have a recent AirPort Extreme with 802.11n simultaneous dual band capability?  I think the 50 mb/s rate is typical of 802.11b or g.  To get the higher rate, you may be connecting using 802.11a.
    To force the iPad to use 802.11a, you may need to change the AirPort settings to turn off 802.11b/g.
    Fred

  • Mobile app to desktop air app

    How do I convert my mobile air app to a desktop air app.  I basically just want the app to look just like the emulator version but maybe with a 1024x768 view instead (tablet sized).

    When you build the release build of the application, you can choose "AIR for desktop" and the app looks exactly like in the emulator.
    Otherwise you have to port some of your application components to an AIR project (if you want the full AIR desktop functionality).

  • How to track devices in Google Universal Analytics from Air mobile application?

    Hello,
    I'm using Google Measurement Protocol to collect analytics data from mobile Air application
    https://developers.google.com/analytics/devguides/collection/protocol/v1/
    I found that Air application running on iPad 3 not detecting device model in google analytics reports.
    I guess it's because Air environment sending incomplete user-agent string.
    This is what it sending:
    Mozilla/5.0 (iOS; U; ru) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.1
    And this user-agent string sending by Safari on ipad (for comparison):
    Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25
    So Air application knows much less than Safari.
    My question is: How to create custom user-agent string in Air application so it contains enough data for google analytics to detect device model?
    Is there any solution that will work on most ios and android devices?

    I don't know if you managed to make it work, but it kind of worked for me, I did this:
    var _urlReq:URLRequest = new URLRequest('http://www.google-analytics.com/collect');
                                  var uuid:String = 'my-generated-uuid';
                                  _urlReq.method = URLRequestMethod.POST;
                                  var scName:String = '&v=1&tid='+myTrackingCode+'&cid='+uuid+'&an='+myAppName+'&av=1.0&t=appview&cd='+myScreenName;
                                  _urlReq.data = scName;
                                  var urlLoader: URLLoader = new URLLoader();
                                  urlLoader.load(_urlReq);
    I say "it kind of worked" because I haven't been able to send custom events yet, butI'm on the right track.

  • Air on mobile with FFmpeg

    Hi,  I've searched a lot here and all over the net and couldn't find answer to this so decided to ask it here.  Is it possible to use FFmpeg in a mobile air app. I need to play many video formats so FFmpeg can be used to first convert and then to display them in the app.  I've done similar thing in a desktop air app but there I was calling an executable of FFmpeg and my app was listening when it finishes converting and then continued with its tasks. For the mobile I was thinking for a way to embed the FFmpeg inside the app but I really couldn't understand if that is possible at all.  Thanks

    You'd need to
    1) port libffmpeg to the mobile device in question (or find a ported version)
    2) wrap it up in a Native Extension so you can call it from Air
    It's not rocket science, but you'd need a good understanding of the library and C development (and Java, for Android).
    The device would take quite a performance and battery hit with all that number crunching going on. I don't think libffmpeg takes advantage of the GPU. Don't expect anything close to the desktop experience.

  • How to play a video in AIR on a mobile device

    Does anyone have any walkthrough they can share for how to play a video in an mobile AIR app? This would be for a video that's bundled with the air app.
    Thanks!

    Since the video is bundled, I'd recommend you make usage of the GPU accelerated StageVideo class:
    StageVideo - Adobe ActionScript® 3 (AS3 ) API Reference
    On that page you will find several tutorial and code links (under the description) on how to use it, for example:
    Adobe Flash Platform * Using the StageVideo APIs
    Getting started with stage video | Adobe Developer Connection
    The basics about it is if you have ever created a video player using NetStream and NetConnection then you already know how to use it. After the event fires indicating if StageVideo is available you can make use of it or determine if you need a fallback (regular Video with software rendering).
    Unlike just using the FLVPlayback component, you must create and attach your own video controls. Again if you've ever made a custom player with NC/NS classes above then chances are you've made custom controls. Just whichever buttons you desire for your functionality (play/pause, seek, volume, etc).
    It's worth repeating, I'm only recommending this because I choose this method with bundled videos. If you need to stream, NetStream will not give you the information you need for buffering/seeking. In that scenario I resort to using StageWebView on iOS which embeds a native HTML5 MP4 playback control. I actually start receiving the stream to get the metadata (video size) and generate a HTML page with a <video> tag that makes the video an appropriate size. Video in StageWebView does not work well (especially Flash video) on Android prior to KitKat so I avoid that and use StageVideo, which works great.

  • Ways to export as mobile

    hi. there is Flash, plus there is Flash builder. Flash has the option to export to mobile air from the same Flash environment. Why are there two tools that apparently do the same, or what is the difference between each one, and are there any other options to create mobile apps from actionscript 3? If so, what is the difference between each option, and advantages or disadvantages?
    also, 2. In the documentation about exporting as a mobile air app. they mention something about getting a code or something like that (I remember seeing it somewhere, but right now I can not find the specific document that said it). It said something about getting a code or something like that from an authorized entity. Do I have to do whatever to publish an app made with Flash (or Flash builder), or just tell from the flash environment to export as android air or ios air, then upload in my account. besides that, that should be simple enough and it is what is done if the application was made with any other developing tool?
    3. here is the state of my app, currently in development. I took old things I've made in Flash, now I am converting them to actionscript 3, its almost done, but I am using an old Flash (CS3). This was the first flash to support actionscript 3, but is quite buggy. It does not even support 3D, or 3D bitmap manipulation, and even the canvas functions are all messed up, since unlike actionscript 2 with equivalent functions, can not separate correctly the boundary edges of an enclosed region. Anyway, with some tweaks, I've made it work, but there are some things that look like trouble:
    In the current version I am using, lets say that I have a movie clip, with export linkage, and that inside that movie clip there is also another named movie clip. So for example, the movie clip in the library is called 'enemy_1', and inside there are movie clips named 'running, dying, quiet etc'. not the real case, but a very close one that many people can relate to. So I've created like a hundred (more than a hundred) of those, and when I am gonna call some_object.appearance.running, some times it gets it correctly, and some times it does not. In all th eprogram there is not aline where I delete a movie clip of these, or change its name, or remove it from its container. I even tried to check the names after creating them, and even so, it gives error sometimes. It started giving me exceptions about trying to access the properties of a null object, because it had not created it correctly. So to avoid things like that, I stopped using movie clips inside movie clips created dynamically, and instead of having a different sprite for each state, I placed all frames in the main time line of the template movie. Not ideal, but it works.
    Anyway, there is an option to export to air 1.0 from flash cs3. Not 'android air', or 'ios air', just air 1.0. I tested to export what I have so far to air 1.0 from flash cs3, and even though it was working ok, now it messes up the frames, like it messed the movie clip names before. The exactly same project, that I have tested many times and finally is working fine in the Flash environment, is messing the frames when I tell it to export it for air 1.0, and the sprites show something irrelevant for each case, sometimes (just like with the movie clip names, some times it gets it right, some times it gets it wrong)
    as3 was made long ago, and I have a legal license of cs 5.5. I have not installed it yet, because for what I am doing so far, the one I have currently installed works fine (most of the time), but to export it as a mobile application, I plan to install and use the 5.5
    Anyway, even though cs3 was made long ago (and it could not get right geometric transformations at the beginning, till a patch was released.. it was quite messed up), I am wondering if after all that time, I should expect more surprises like that before making the mobile apps. Or in other words, what should I expect. I have a nearly finished project that is working fine in as3, made in cs3. I plan to release it as a mobile application. What to do next or what to expect next? I just plan to install cs 5.5, which I expect will be less buggy and will have solved many things I've seen so far in the version I am currently using, and I plan to just load there, and tell it to export as android air, and ios air, and upload in my account. what else do I need? what else is missing? should I look for another path, like Flash builder? what is the difference? is there any other better path?
    tnx

    Hi,
    You might try this:
    Make your work area sorta small for this TEST....so you don't have to wait forever to see result...if it works, expand work area to the whole video...
    You're going to export the "work area" ...rather than whole sequence...
    Use format H.264
    choose PAL DV preset
    adjust ( in video tab ) frame width and height ( 720x480)
    quality 85
    make fps same as source
    adjust as needed....field order ( lower probably ), aspect ratio ( probably 4:3)
    bitrate ( depends on what you're going to use it for ...DVD you can do CBR 8000 kbps I think...2 pass VBR for better quality...have to experiment on this depending on what you use the end product for  ( web, dvd, etc ))
    Will make an MP4
    Rod

  • Flash Builder Mobile Target Updates Coming?

    Any word on the update for flash builder that will give the mobile options for Blackberry OS and iOS as target platforms in addition to the Google Android?

    Great. I appreciate the info. I had just been looking under Flex Mobile. Although, under ActionScript Mobile AIR I only see Apple iOS and Google Android as options. Is there an extension or something else to gain access for the playbook?

  • Flex Mobile - Alert and Information Popup Boxes

    Since a Android-looking popup box doesn't yet exist in the Hero SDK, I thought I would put a pretty good looking component together.
    You can download it (and the sample code) here:
    http://www.digitalretro.tv/components/InformationBoxTest.fxp
    A real simple example in in the project, for both an Info and an Alert.
    I currently only support an "OK" button, but I will be adding a Yes/No and OK/Cancel later this week.
    Hopefully this will save someone some time.
    Enjoy and feel free to use this in your code (commercial or non-commercial), just leave the copyright code in the component source file in place.
    Thanks.
    Darren

    Hi.
    I tried the Messagebox and it works great but is it possible to use a TextInput with it?
    I added a Textinput and when i enter the Textinput i got an Focusmanager is null error:
    private function touchMouseDownHandler(event:MouseEvent):void
             isMouseDown = true;
             mouseDownTarget = event.target as InteractiveObject;
             // If we already have focus, make sure to open soft keyboard
             // on mouse up
           if (focusManager.getFocus() == this)
                 delaySetFocus = true;
             // Wait for a mouseUp somewhere
             systemManager.getSandboxRoot().addEventListener(
                 MouseEvent.MOUSE_UP, touchMouseUpHandler, false, 0, true);
             systemManager.getSandboxRoot().addEventListener(
                 SandboxMouseEvent.MOUSE_UP_SOMEWHERE, touchMouseUpHandler, false, 0, true);
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at spark.components.supportClasses::SkinnableTextBase/touchMouseDownHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:2140]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.managers::SystemManager/mouseEventHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2924]
    Does anyone tried to use a TextInput or Textarea?
    I think it's the a problem with the Keyboard. Does mobile air can't use the "Android" Keyboard in Popup's?

  • Composite Application in Adobe AIR?

    Hello All,
                    We are trying to build a solution in Composite Application that could be deployed in desktops and mobile. We are thinking that such an application would need to be an air package that run seamlessly.
    We have a few questions on the Composite Applciation Framework:
    1. How do we package Composite Applications to run in Adobe AIR?
    2. If Composite apps run in AIR, then can we create mobile specific application projects to run in Android, iOS, etc...
    3. Is there any sample which we could go through? IS there a way we can run the current CAF samples in AIR and also on IPad?
    Regards,
    Dheepak

    The ability to package Composite Applications in AIR is currently available
    as a limited release, so if you are interested you will need to contact your
    sales channel for more information.
    The technology includes a library (mosaic-mxml.swc) that contains UI
    Components that allow developers to control the loading and placement of
    Tiles or entire AXML Applications within the AIR application. There are
    samples and documentation available.
    As for mobile, there is work underway to support Mobile AIR applications
    scheduled for an upcoming release.
    Matt

Maybe you are looking for

  • Communication lost between labview 6.0 opc to rslinx

    I am reading i/o tags from an allen bradley 5/05 through rslinx using ethernet settings. Everything works fine, I read and write to the tags all day. However, If I go online through the ethernet it seems like all the bandwidth is used up and labview

  • "Common" questions thread/board/whatever

    I have been seeing so many repeat questions lately that really are very common. How to update control values programmatically and how to pass data between parallel loops to name the two I see most. I have a suggestion that we create a common question

  • Songs not showing up on phone after syncing

    I am trying to sync some songs onto my phone, and I have put them into a playlist, all of the songs are checked off and whenever I have tried to sync the songs onto my iPhone they don't show up, and whenever I go back to the playlist on my computer t

  • Why isn't Facebook plug-in share button on Mountain Lion?

    Okay, so I just downloaded Mountain Lion on my Macbook Pro OS X 10.8 and I wanted to use the share feature it shows on the video, I signed in in Twitter and everything's fine but there is no Facebook option... I can't use the facebook 'plug-in' becau

  • HT4972 How can I update my iPad ...

    I tried to go to settings then general, then software update...but in my general I don't have a button that says software update ,..so then how do I update my iPad??