Playing HTML 5 animations/ interactives from AIR mobile app

Hi,
Is it possible to play/ launch HTML5 animations and interactives [drag n drop, cloze, etc] from an AIR based mobile app supporting iOS and Andorid devices?

Hi
It seem's to be a common issue of ghosting itemrender.
In flex item renderer is reused to keep memory performance.
You can try this fix
1- you can fix it by turning the "virtual layout" property of the llist to false;
But it will decrease the performance, because you turn off the behavior of reusing item renderer
2- you can override the "set data(data:object)" function of your item renderer class and move the "field=data" assignement inside it.
3- Or you can use a dataChange event handling function instead of the creationComplete.
I hope it's help you

Similar Messages

  • Need HTTPService and play video in flex 4.6 Air Mobile App

    We are porting a flex 3.2 app to mobile app. The 3.2 app uses mx.rpc.http.HTTPService to send XML requests for data and launch video web pages. Will a flex 4.6 Air Mobile app be able to do the same? If so, what replaces mx.rpc.http.HTTPService? I read that mx components will not work in Flex mobile apps.

    HI,
    Its working fine.And the mxml components which are displayobject should not be used in the mobile application except the chart.
    So nothing wrong with using "mx.rpc.http.HTTPService",you can also use  <s:HTTPService/>
    Also there is a nice way to see which components should be used or which not for the mobile application.
    Simply mouse over on the component when you have used it.You can see a message on that if that is not optimized for the mobile application like for the combobox you can see this message:-
    "Adobe discourages using ComboBox when targeting profiles: mobileDevice."
    While this is not the case with <s:HTTPService/>.
    with Regards,
    Shardul

  • Open Android Market and Apple App Store from AIR Mobile App

    I have two versions of my app, one is free and one is paid. I want to show links to paid version in the free version of the application. I want to open the link to the paid app directly in the  market or app store. How can I do that?

    Here is what I had used on a lite version of one of my apps, when you click that it opens the native app store app and links right to the app you want to sell to the users.
    function fl_getFullVersion(event:MouseEvent):void
        navigateToURL(new URLRequest("http://itunes.apple.com/us/app/pop-goes-the-bubble/id452505669?mt=8"), "_blank");
    So swap your app name and id and thats your link for itunes.

  • How to use ScaleNine themes to skin an Adobe Air Mobile App

    Hi,
    I'm rather new to Adobe Air development But I really like it! Now that I've created my app I would like to skin it. I've found ScaleNine (http://www.scalenine.com/gallery/gallery-1.php) which has ready made cool skins for Flex and Air. I downloaded the samples and they compile and work beautifully. HOWEVER: I can't seem to be able to use them to skin my Air mobile app.
    Can anyone post an example ViewNavigatorApplication themed with one of the themes there? this one (http://www.scalenine.com/themes/blend/Blend.html) looks as though someone tailored it to my app :-)
    Thanks a lot!
    Avi

    I don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
    You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
    FileReference - Adobe ActionScript® 3 (AS3 ) API Reference

  • USB communication AIR desktop and AIR mobile app

    Hi! Does somebody know the possibilites of USB communication between and AIR desktop app and an AIR mobile app. I need to send files from an desktop application to the external memory on an mobile device. Is it possible for the desktop app to recognise when the mobile is connected. And is it possible for the mobile app to send commands the desktop app? So I need a two way communication. Anybody who has any ideas?

    Really old thread, checking in.

  • How to play different HTML 5 animations interactively.

    Hi all,
    I have created 5 different animations in Edge Animate. and now i want to play each animation one by one , everytime user clicks on the screen.
    What should i do?
    i created a new file to assemble different animations (EXPORTED symbols) .
    STEP 2 : I placed all the animations sequentially over the timeline and added a STOP trigger between every two animations.
    STEP3: I added an action -PLAY over every animation.
    Now what happening is : First animation Plays well --- It stops --- now when i click on the screen -- the next animation appears like a thumbnail...( ALL STATIC ) and so on..
    Am i approaching this the wrong way.
    It would be very great if i can get a solution ...
    Thanks and regards.

    Hi Sudeshna,
    Just one more query.
    The sample u provided solved my entire user-interactivity and animation part.
    i even published and tested my web application on different devices and it runs nicely.
    The new problem is that audio file is not working on i-pad and i-phone. The sound works only on windows.
    I went through other discussions on the forums also and found that sound would not play on ios
    is there anyway i can enable sounds on ipad/iphone ??
    Thanks and regards

  • Air Mobile Apps cannot support printing ?

    Dear all,
    I am developing a writing notes application in Flex Mobile Apps for android and ios.
    How can i allow use to print out the notes written?
    Anyone can guide me how to achieve the printing to the printer?

    I think you will have to extend your project by using Native Extensions, since that functionality is not built into AIR mobile. To learn more about ANEs, visit http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html
    Chris

  • Web service Invocation from ADF mobile app errors

    Mobile App Gurus,
    The webservice when invoked from ADF web app is working fine but, when invoked from Mobile APP errors in emulator with as below...
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.SSOAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_retrieveAuthenticationContext
    ( 1096): Authentication context for the key appsnet5login.sysadmin retrieved from the credential store is : null
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.BasicAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_doInBackground( 1096): Invalid Authentication URL.
    Please can you let me know if I am missing some step in ADF Mobile App framework.
    Thanks,
    Shreedhar
    Edited by: sh**** on Apr 22, 2013 5:11 AM
    Edited by: sh**** on Apr 22, 2013 6:50 AM

    I don't know if you fixed it already by this time or not. But here is my findings anyway, to be able to inject the security header correctly in any SOA Gateway service, you need to have your Mobile Application Secured, meaning that there is a prompt for username/password when you open it.
    Then you will have to make a Proxy service for the webservice you are using from apps. And you must create it with a SOAP Handler also and write below sample code in the handler to inject the security header in the SOAP call. At last, you are going to deploy this proxy service to your Application Server.
    These steps were taken on a Glassfish server not Weblogic. I think there is an easy way for this if you are using Weblogic..
    Sample handler is below:
    package com.mobile.xxsoap;
    import java.util.HashSet;
    import java.util.Set;
    import javax.xml.namespace.QName;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPFactory;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    public class CustomSOAPHandler implements SOAPHandler<SOAPMessageContext> {
        private static final String AUTH_PREFIX = "wsse";
        private static final String AUTH_NS =
            "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
        public boolean handleMessage(SOAPMessageContext context) {
            try {
                SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                SOAPElement wsSecHeaderElm = soapFactory.createElement("Security", AUTH_PREFIX, AUTH_NS);   
                SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken", AUTH_PREFIX, AUTH_NS);
                SOAPElement userNameElm = soapFactory.createElement("Username", AUTH_PREFIX, AUTH_NS);
                userNameElm.addTextNode("redsam");
                SOAPElement passwdElm = soapFactory.createElement("Password", AUTH_PREFIX, AUTH_NS);
                Name passwdTypeAttr = soapFactory.createName("Type");
                passwdElm.addAttribute(passwdTypeAttr,
                                       "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                passwdElm.addTextNode("123456");
                userNameTokenElm.addChildElement(userNameElm);
                userNameTokenElm.addChildElement(passwdElm);
                wsSecHeaderElm.addChildElement(userNameTokenElm);
            } catch (Throwable e) {
                e.printStackTrace();
            return true;
        public Set<QName> getHeaders() {
            return new HashSet<QName>();
        public boolean handleFault(SOAPMessageContext messageContext) {
            return true;
        public void close(MessageContext context) {
    I hope it is clear now...
    Regards,
    Mohamed

  • How to remove Button from Flex Mobile app actionbar with AS3?

    How exactly would i remove a Button from the actionBar "actionContent" in a flex mobile app?
    I tried these:
        this.stage.removeChild(menu_btn);
        this.removeChild(menu_btn);
        stage.removeChild(menu_btn);
        this.stage.removeElement(menu_btn);
        this.removeElement(menu_btn);
        stage.removeElement(menu_btn);
    I'm not having any luck with those. Im guessing where it is located in the actioncontent isn't considered the stage. Any ideas?
        <s:actionContent>
                            <s:CalloutButton id="menu_btn" icon="@Embed('assets/images/menu/menu_btn.png')" visible="false">
                                      <s:VGroup>
                                      <s:Button id="btn_one" label="Button" />
                                      </s:VGroup>
                            </s:CalloutButton>
                  </s:actionContent>
    The actionContent is setup like that, I know like with most mxml stuff I could give it an ID to reference it but im not sure how how to give the action content an id number `<s:actionContent id="testID">` does not work. So how can i access this to remove it? making it invisible isn't cutting it i need to actually remove it.

    Does this do what you are looking for?
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <s:actionContent>
            <s:Button id="excess" label="excess" />
            <s:Button label="remove" click="this.navigator.actionBar.actionGroup.removeElement(excess);" />
        </s:actionContent>
    </s:View>

  • Call safari or external app from BI Mobile App

    Hi everyone,
    Is it possible to call from a link embedded in a Dashboard safari or an external App from Oracle BI Mobile App?

    This question seems to be unanswered all over this forum...I'd love a response.

  • When sending from a mobile app, how can I choose which of my computers to open the document on?

    I have a laptop and a desktop computer connected to creative cloud. How can I choose which machine to open up a document from my iOS app? I don't want it to open on both overtime I send something from my iOS device.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How can I open files from a mobile app?

    I've got a mobile app developed in 4.6.  Part of our app includes the ability to store files on our remote servers which users can access.  In its simplest form the app displays a list of the files which the user can then click on to open.  I tried throwing a navigateToURL which works - although it's ugly as hell.  It opens the browser which then throws it to the os.  Again, it works, but I know there's got to be a better way. 
    Files will include PDF, images (jpg, tiff, etc), and Word and Excel docs. 
    Any suggestions?  TIA

    Mavericks is the Operating System (OSX).
    LibreOffice [free] may be able to open your AppleWorks files but probably not perfectly.
    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 can open Pages '09 files but will alter/damage them.
    Peter

  • 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.

  • Scrim / Spinner For Adobe Air Mobile Apps?

    I'm in the process of learning Adobe Air for mobile devices.  I'm using Flash Builder Burrito.  I didn't have any previous experience with Flash Builder or ActionScript, but I'm finding it very easy to use (I do have 11 years of programming experience).  I'm stumped on something that's usually built into most other mobile platforms -> How do you create a scrim & spinner???  For those who may be wondering what I'm referring to, it's when your screen is dimmed and a revolving or spinning icon is displayed to show that your app is busy.
    I tried the following...
    1) Create a group that covers the entire view
    2) Change the background color of the group to black and alpha to .5
    2) Add a spinner image to the group
    3) Set the "enable" property of the group to true/false depending on if I wanted it displayed or not
    This didn't work at all.  Any suggestions would be great!!! 

    I ALMOST have it working thanks to this great post by Andrew trice.  I have two minor issues...
    The animated gif won't play.  I realize animated gifs probably aren't the way to go in FLASH builder, but it was worth a try.  How do I recreate the spinner effect???
    The scrim doesn't cover the navigation panel.  Again, any ideas?

  • Air for Android - Embed a pdf in Air Mobile app

    Hi at all,
    i would like to embed a pdf directly in a View Component and use the Adobe Reader features like zoom, navigation page etc.
    Any suggest?
    Thanks.
    F.

    You can call native code from AS3 by writing an AIR Native Extension (ANE):
    http://www.adobe.com/devnet/air/native-extensions-for-air.html
    BTW: Flash already contains quite a few image processing filters and image compositioning algorithms. They may be suitable, depending on your needs.

Maybe you are looking for

  • Returning to home screen from inbox and accesing diff account.

    Hi, I have set up 6 different email accounts on my iPhone. In order to access inbox 1, selected Mail -> Accounts - > Inbox from there I can directly go to home screen by pressing HOME button. My question is next time, when I click on Mail its going t

  • Error in loading Exceptions panel

    Hi all I'm trying to apply an exception on a worksheet (abs % err > 20 %) to see what items have a inacurate forecast. And I'm faceing the next problem: I set the exception conditions, hit ok, rerun and the worksheet is the same, when I try to go bac

  • BeX Variable:Strange problem with InfoObject CHAR 60

    Hi everybody, I've created an infobject custom (lenght:60 char). In Bex I've created a variable (type select option) but when I choose a value of 60 char from match code, it's truncated and I obtain an error message (BRAIN 643) because this value isn

  • Playlist creator for mp3s and wma's

    I wrote the following pretty quickly this morning to traverse a directory and it's child directories to look for any mp3/wma files in that directory and make a windows media m3u playlist (basically, the file names separated by newlines). I thought I'

  • Unaccounted for Memory is too big and lead to Native Memory Issuse.

    In our server, after running 1 month, Unaccounted memory will increase up to 500m or higher. And the native memory will be big. So it lead to OOM. Below are one sample: j2eeapp:jhf1wl101:root > jrcmd 27398 print_memusage 27398: [JRockit] memtrace is