A way to expire an FLEX/AIR app?

Using Flex 3 I would like my AIR app to expire in 30 days after install. Anyone have any advice or example of this?

You need a wireless flash drive.
Google "SanDisk wireless flash drive" .

Similar Messages

  • Example working Flex AIR app for Android?

    I'm having trouble getting even the most basic AIR app working on Android. Here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*"
                            width="600" height="600">
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Label text="Hello World"/>
    </s:WindowedApplication>
    It works fine running on  Windows in Flash Builder, obviously it's pretty simple. Here are the  commands I use to put it on a Samsung Galaxy Tab with Android 2.2.
    C:\Users\Ryan\Adobe  Flash Builder 4\Test2\bin-release>adt -package -storetype pkcs12  -keystore C:\Users\Ryan\STG-Android.pfx Test2.air Test2-app.xml  Test2.swf
    password:
    C:\Users\Ryan\Adobe Flash Builder 4\Test2\bin-release>adt -package  -target apk -storetype pkcs12 -keystore C:\Users\Ryan\STG-Android.pfx  Test2.apk Test2-app.xml Test2.swf
    password:
    test
    C:\Users\Ryan\Adobe Flash Builder 4\Test2\bin-release>adb install -r Test2.apk
    2286 KB/s (419172 bytes in 0.179s)
             pkg: /data/local/tmp/Test2.apk
    Success
    A Test2 app icon shows up on my Galaxy Tab  under Applications but when I run the app I just see a plain white  screen, I don't see the words "Hello World". Any ideas? Does anyone have  an example Flex AIR app that works on Android and can post the code so I  can try it on my Galaxy Tab? I know AIR is installed correctly on my  Galaxy because I installed an AIR app called South Park Avatar Creator  that I got from the market and it works fine.
    Thanks,
    Ryan
    P.S.  Here is the Test2-app.xml from my non-working project above in case it  helps. This is the default generated with a new Flex app in Flash  Builder 4 using the Flex 4.1.0 AIR 2.5 SDK but I uncommented the andoid  tags and set the visible tag to true.
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                 The last segment of the namespace specifies the version
                 of the AIR runtime required for this application to run.
         minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                 the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
         Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
         <id>Test2</id>
        <!-- Used as the filename for the application. Required. -->
         <filename>Test2</filename>
        <!-- The name that is displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
         <name>Test2</name>
         <!-- A string value of the format  <0-999>.<0-999>.<0-999> that represents application  version which can be used to check for application upgrade.
         Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
         An updated version of application must have a versionNumber value  higher than the previous version. Required for namespace >= 2.5 .  -->
         <versionNumber>1.0.0</versionNumber>
         <!-- A string value (such as "v1", "2.5", or "Alpha 1") that  represents the version of the application, as it should be shown to  users. Optional. -->
         <!-- <versionLabel></versionLabel> -->
        <!-- Description, displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
         <!-- <description></description> -->
        <!-- Copyright information. Optional -->
         <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
         <!-- <publisherID></publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
         <initialWindow>
             <!-- The main SWF or HTML file of the application. Required. -->
             <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
             <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
             <!-- The title of the main window. Optional. -->
             <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
             <!-- <systemChrome></systemChrome> -->
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
             <!-- <transparent></transparent> -->
            <!-- Whether the window is initially visible. Optional. Default false. -->
             <visible>true</visible>
            <!-- Whether the user can minimize the window. Optional. Default true. -->
             <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
             <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
             <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
             <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
             <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
             <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
             <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
             <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a  width/height pair in pixels, such as "1600 1200". Optional. -->
             <!-- <maxSize></maxSize> -->
         </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
         <!-- which in turn permits your application to be deployed to all -->
         <!-- devices supported by AIR. If you wish to restrict deployment -->
         <!-- (i.e., to only mobile devices) then add this element and list -->
         <!-- only the profiles which your application does support. -->
         <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <!-- The subpath of the standard default installation location to use. Optional. -->
         <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
         <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
         specify the path to a PNG file included in the AIR package. Optional. -->
         <!-- <icon>
             <image16x16></image16x16>
             <image32x32></image32x32>
             <image36x36></image36x36>
             <image48x48></image48x48>
             <image72x72></image72x72>
             <image128x128></image128x128>
         </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
         of the AIR file (true), or the default AIR application installer handles the update (false).
         Optional. Default false. -->
         <!-- <customUpdateUI></customUpdateUI> -->
         <!-- Whether the application can be launched when the user clicks a link in a web browser.
         Optional. Default false. -->
         <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
         <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
             <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                 <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                 <!-- <extension></extension> -->
                 <!-- The description of the file type. Optional. -->
                 <!-- <description></description> -->
                 <!-- The MIME content type. -->
                 <!-- <contentType></contentType> -->
                 <!-- The icon to display for the file type. Optional. -->
                 <!-- <icon>
                     <image16x16></image16x16>
                     <image32x32></image32x32>
                     <image48x48></image48x48>
                     <image128x128></image128x128>
                 </icon> -->
             <!-- </fileType> -->
         <!-- </fileTypes> -->
        <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
         <android>
             <manifestAdditions>
             <![CDATA[
                 <manifest android:installLocation="auto">
                     <uses-permission android:name="android.permission.INTERNET"/>
                     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                     <uses-configuration android:reqFiveWayNav="true"/>
                     <supports-screens android:normalScreens="true"/>
                     <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                     <application android:enabled="true">
                         <activity android:excludeFromRecents="false">
                             <intent-filter>
                                 <action android:name="android.intent.action.MAIN"/>
                                 <category android:name="android.intent.category.LAUNCHER"/>
                             </intent-filter>
                         </activity>
                     </application>
                 </manifest>
             ]]>
             </manifestAdditions>
         </android>
         <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*"
                            width="600" height="600">
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Label text="Hello World"/>
    </s:Application>

  • Flex Air Apps on Blackberry

    I've had a Flex Air app on Playbook since it Adobe first supported Blackberry.  But, I haven't had a client requirement for deploying to Blackberry in a long time.  What is the status on Adobe's support for Blackberry?  On the Air Dev Center, I see no references to Blackberry anymore???
    Can I still build a cross-platform app for latest Blackberry devices (Blackberry 10, Playbook, etc.) using the standard Flex mobile components and Flash Builder 4.6?
    After a brief search on Blackberry's Air page, it looks like they moved to requiring the QNX components, ANEs and a new pure AS3 SDK only.  If I have to re-write code specific for Blackberry now, then it makes no sense for me to offer that to my clients. (unless they only want BB).
    So, where does Adobe stand now with Flex Mobile in Flash Builder deploying to Blackberry 10 and the Playbook?
    I'd appreciate if you could help bring me back up to speed.
    Thanks,
    Don

    Absolutely, Flex works very well indeed and is fully supported on BlackBerry PlayBook and BB10 devices. The free packaging module for Flash Builder is part of the BB SDK for AIR and is supplied by RIM, not by Adobe.
    With Flex you'll of course be using Adobe UI components, which look less native than the BB-supplied "pure AS3" UI components unless you skin them. But they work just fine.

  • Adding Desktop Icon in Flex/AIR app?

    I could not find much on the web or this form but I am trying add my own desktop icon for my flex/air app.  Only thing I have done so far is to open up the app.xml file and add the following to it.
    <icon>
    <image16x16>assets/gfx_1_16.png</image16x16>
    <image32x32>assets/gfx_1_32.png</image32x32>
    <image48x48>assets/gfx_1_48.png</image48x48>
    <image128x128>assets/gfx_1_128.png</image128x128>
    </icon>
    After this when I build my app I get the following error.
    I also made sure the copy non-embeded was check here.
    Any ideas what I am doing wrong?

    Still looking for some help on getting icons to show in my flex/air app.  Any help would be much appreciated.

  • Flash performance inside mx:HTML in a Flex AIR app

    Hi. I'm new to AIR development and after doing some basic tutorials I thought I'd make a little stream player app.
    The amount of tutorials on the web made me choose Flex / Flash Builder over HTML & JavaScript. When I built the player in Flex I saw performance was terrible when out of focus, I would say it drops to 3 fps if not less. Surprisingly when I downloaded someone else's similar app, his didn't have that problem. On closer inspection - he made it in HTML & JavaScript and HTML AIR apps dont suffer from the same problem.
    Is there a fix for this Flex performance problem?
    I've made a video demonstrating the difference between Flex & HTML for your convenience: http://www.youtube.com/watch?v=OU2mfELhSC4.

    Sure.
    1.
    Windows 7 Ultimate, 64bit, build 7600.
    Adobe AIR 2.0.3.13070.
    Unfortunately I only have machines with the exact same OS install at my disposal right now but I'll ask some people to test it on their boxes.
    2. http://pastebin.com/AsdmD3Yb
    When I point the mx:HTML to a youtube url instead of ustream.html the fps drops around to around 5 to 10. That's a lot more fps than when using ustream. Might be a clue to whats happening.

  • Create checkums / md5's in flex / air app

    can you create md5 checksums using flex / air ???
    have been searching but nothing found yet!!
    in php you can use a  nice function md5_file && md5 to generate md5's - can this be done in an air / flex app????
    regards
    Oliver

    Try this link.  http://gsolofp.blogspot.com/2006/01/actionscript-3-md5-and-sha1.html

  • Best way to create sell-able AIR apps?

    What are my options with regards to creating an AIR application and selling it? I know for a fact that it's as easy as a walk in the park to decompile such and so I want to know how other commercial AIR app vendors approach this problem?
    And also if possible, please do try to include free options.

    This, for example:
    OS X: "Some features of Mac OS X are not supported for the disk (volume name)" appears during installation

  • Browser inside a Flash/FLex/Air-App with WebGL-Support?

    Hello,
    I´m using Adobe Air/Flex to build a Desktop App. Inside the App the user should be able to access an Internet Browser. This part is actually working so far.
    BUT:   THE ADOBE AIR BROWSER IS NOT SUPPORTING WEBGL.
    Is there any method to activate the WebGL Support so I could open WebGL-Dependent URLs from Inside my Desktop App?
    Sure, I could tell the User he should Alt+Tab to switch to an WebGL-Compatible Browser, but it would so much better if this all would work from inside my Application.
    Thanks for answering!
    Stefan

    The syntax for the update is incorrect, you can use the update statement as
    sqls.text = "UPDATE videos SET thumb = 'ram' + '''s' where id = 2";
    Let me know if this worked.

  • Google Trends in flex/AIR apps

    Hello
    I want to build app that uses the google trends data , can any one help me were to start, any API, or examples
    thanks.

    Absolutely, Flex works very well indeed and is fully supported on BlackBerry PlayBook and BB10 devices. The free packaging module for Flash Builder is part of the BB SDK for AIR and is supplied by RIM, not by Adobe.
    With Flex you'll of course be using Adobe UI components, which look less native than the BB-supplied "pure AS3" UI components unless you skin them. But they work just fine.

  • Flex Air App... and SQLite

    I was hoping someone can point me in the direction to learn the SQLite on Adobe Air... I need something simple to start out... Most of what i found is rather complicated, and get's kind of confusing...
    Do you have to create the database at run-time?

    http://www.peterelst.com/blog/2008/04/07/introduction-to-sqlite-in-adobe-air/
    http://work.rowanhick.com/2007/06/12/working-air-sqlite-datagrid-example/

  • SQLite error in Flex/Air App:

    I am trying to do a simple SQLite query from inside and Air application:
    Statement.text = 'SELECT Ingredient' +
               'FROM Ingredients'+
               'WHERE FoodCatagory_FK = 6'
    It works just fine in when I exicute the query in SQLite Manger, however in Air I get the follwoing error:
    SQLError: 'Error #3115: SQL Error.', details:'near 'FoodCatagory_FK': syntax error', operation:'execute', detailID:'2003'
    Not sure why it does not work, it seems pretty strait forward.
    Thanks,

    Hi,
    You have to leave a space either after
    Ingredients
    or before
    WHERE FoodCatagory_FK
    Thanks,
    Tamil

  • SQLite error #3115 in Flex/Air App: with (')

    Hi,
    I am trying to do a simple SQLite query from inside and Air application:
    var sqls:SQLStatement = new SQLStatement();
    sqls.sqlConnection = sqlc;
    sqls.text = "UPDATE videos SET thumb = 'ram's' where id = 2";
    sqls.execute();
    I need to add ' same as ram's
    Error:
    SQLError: 'Error #3115: SQL Error.', details:'near 's': syntax error', operation:'execute', detailID:'2003'
    I'm using "addslashes()" but not working
    Not sure why it does not work. Please help me.
    Thanks,
    Dhaval

    The syntax for the update is incorrect, you can use the update statement as
    sqls.text = "UPDATE videos SET thumb = 'ram' + '''s' where id = 2";
    Let me know if this worked.

  • Convert HTML/javascript AIR app to flex-based AIR app?

    Hi all,
    I've already built an AIR app using HTML/javascript that I
    would like to monetize.
    I would like to use O2app's E-Commerce framework, which right
    now only supports Flex-created AIR apps.
    My question: Is there a simple way to "convert" an
    HTML/javascript AIR app to Flex 3 format? I'd rather not have to
    rebuild the app from scratch in Flex 3 if I don't have to. :)
    Thanks,
    Al

    Hi,
    There's no simple way to convert an HTML AIR app to flex.
    But it is possible to create HTML Root windows from a Flex
    AIR App. By root window, I mean the same kind of window that is
    launched when you launch an HTML AIR App.
    For more info, look at the HTMLLoader.createRootWindow()
    call. (This will be available from a Flex AIR app as well)

  • AIR app and Flex app in same Flex builder project

    Hi,
    I've developed a flex app with a lot of custom components.
    Now I want to create a desktop version of the same using the same
    exact same components. Is it possible that I add an mxml
    application, make it a WindowedApplication and compile it to
    produce an AIR app? Or are there any workarounds to accomplish
    this.

    Easiest way I have found is to complete your Flex Web app.
    Then create a new Flex AIR app and then copy code from your working
    Flex Web app over.
    Yes, you end up with two complete sets of code, but if that
    is going to become an issue with keeping both versions up to date
    you can simply use one set of source.
    To do this, create two projects, one Web, one Air. Then you
    can create a third folder (not project) that contains all the
    common code.
    In each of your projects, simply import the code you want to
    use using the project options.
    No, not ideal, but does work. Would be nice to see Flex
    Builder changed so you can have rooted projects.
    E.g. A project called "MyBigApplication" that isn't targetted
    at any platform. Within this you could then produce sub-projects
    that target a particular platform, be it web or air but share code.
    Maybe in the next version.....
    Cheers
    Ian

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

Maybe you are looking for

  • Trying to share a usb hard drive, what am I doing wrong?

    Okay, finally got myself the new airport extreme. Plugged in all the cables, installed the software supplied on cd, ran the software update and installed the necessary updates. Then turned on the airport extreme, waited for the status LED to go green

  • ABAP Proxy without SOAP adapter in PI7.3

    Hi All, We have dual stack implementation of PI7.3 but we do not wish to use the SOAP adapter for configuring an ABAP proxy scenario. Is this possible? Is the Javastack only configuration in NW Admin available for use in dual stack implementation als

  • HT4112 how do i pair bluetooth apple keyboard and iphone5?

    I am trying to pair my wireless bluetooth apple keyboard with my iPhone 5. It recognizes the keyboard but will not pair with it. What am I doing wrong? Thanks in advance!

  • Logic Crashing??

    Have Logic Express 9, every time I open Kontakt, I get an error  "There is not enough free memory to continue working with this project..." and it crashes.  I just upgraded my RAM, so I know for a fact that it's not an issue.  Read some forums about

  • Highlighting PDF documents

    Is it possible that Apple can copy, define & search on words within PDF documents, but they can figure out how to highlight words and sections as they do with books? This is a fundamental feature missing for a long time.