Offline Flex Database Non-Air

I'm building an image viewer that has several GBs of imagery
data.
We will ship the images on a DL-DVD to computers around the
world. Since most are used in a strictly controlled environment and
don't have permission to install anything on their machines, Adobe
Air is out, but would be perfect for our needs.
The problem I'm having is organizing several GBs worth of
imagery into XML files. It's over 150,000 entries and is a
nightmare for bookkeeping. I saw Air supported SQLite. Can I use
that with Flex -Air? If not, is there another solution besides XML
I can use offline in a browser to keep records of where images are
and metadata about them?
In a nutshell, we're just building a website, but instead of
running it on a server, they will open the .html page from a dvd.
Whatever would work on a server, should work here.

"ei8htyfi5e" <[email protected]> wrote in
message
news:g6bbug$qaa$[email protected]..
> I'm building an image viewer that has several GBs of
imagery data.
>
> We will ship the images on a DL-DVD to computers around
the world. Since
> most
> are used in a strictly controlled environment and don't
have permission to
> install anything on their machines, Adobe Air is out,
but would be perfect
> for
> our needs.
>
> The problem I'm having is organizing several GBs worth
of imagery into XML
> files. It's over 150,000 entries and is a nightmare for
bookkeeping. I
> saw
> Air supported SQLite. Can I use that with Flex -Air? If
not, is there
> another
> solution besides XML I can use offline in a browser to
keep records of
> where
> images are and metadata about them?
>
> In a nutshell, we're just building a website, but
instead of running it on
> a
> server, they will open the .html page from a dvd.
Whatever would work on
> a
> server, should work here.
...except that a server is actually running server software.
Your users
probably aren't, and you'd need access to their systems to be
able to tell
the server software that they aren't running where your
"website" is.
So, in a word, no.
Would be nice though :-)

Similar Messages

  • Existing Flex App With Air

    I have been working on a large Flex App using CFM as the db
    access layer. Essentially I understand that AIR will allow my RIA
    which is currently solely used in a browser run off line as a
    desktop app. However, my question is what's involved in modifying
    this application to push 'new' data added while off line back to
    the db when a connection becomes available.
    Some guidance on this subject would be great, or is this
    something which should require no modification?

    AIR doesn't give you any synchronization mechanisms. It's
    entirely up to you how you manage offline operation.
    What AIR actually does is provide an out-of-browser runtime
    environment for Flex apps, plus some additional APIs that Flex
    couldn't give you due to its browser-based nature. Among them are
    access to a local database, plus more generalized local filesystem
    access. Between these two things, you can store local changes while
    offline, then work out some way to push them to the server at a
    later time.
    You might make your first step into the AIR world just a
    simple port of the existing application to run under the AIR
    framework. This won't give you any new offline capability, but it
    will let the app run as a desktop app, outside a browser. This may
    make more sense for your type of application. Then once you get
    that going, you can worry about synchronization.

  • Flex SDK and AIR runtime version in mobile

    Hi, guys.
    I'm trying to make my first Flex mobile app.
    I'm a little confused about the relationship between Flex SDK and AIR  runtime versions for mobile development.
    In the "Developing Mobile Applications with ADOBE FLEX 4.6 and ADOBE FLASH BUILDER 4.6" pdf document, it says:
    "AIR requirements
    Flex mobile projects and ActionScript mobile projects require AIR 2.6 or a higher version. You can run mobile projects on physical devices that support AIR 2.6 or a higher version of AIR.
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the complete list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Note: If you do not have a device that supports AIR 2.6 or a higher version of AIR, you can use Flash Builder to launch and debug mobile applications on the desktop."
    So, I go and check the Certified devices in http://www.adobe.com/devnet-apps/flashruntimes/certified-devices.html and find that the minimun FLASH PLAYER version accepted by ALL devices is FP 10.1
    1. Does this mean that if I want to release an app to target ALL mobile devices, then I can only use Flex 4.5?
    2. Do support for Flash Player mean the same than support for Adobe AIR? Or the application will prompt the user to install whatever version of the AIR runtime and all of them would be supported by the device, even in the FLASH PLAYER support is for a lesser version?
    Thanks!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • 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

  • How to update flex to use air 1.5.1

    How to update Flex to use air 1.5.1?
    The last Nightly Build (3.4.0.5042) release today has the
    "old" 1.5 version of air sdk.
    Thanks

    Currently, you have to overlay the AIR 1.5.1 SDK on top of
    your Flex SDK. There are instructions in the AIR 1.5.1 release
    notes:
    http://www.adobe.com/support/documentation/en/air/1_5_1/releasenotes_developers.html#sdk
    The AIR 1.5.1 SDK is available here:
    http://www.adobe.com/products/air/tools/sdk/

  • How can i use offline & online database in the same time?

    how can i use offline & online database in the same time?
    my database in another server when the connection true it connect
    but if not does not work
    i wanna make offline database if the server not connected it connect offline then the server is on it alter all data from the offline to the server.

    User, please tell us your Jdev version!
    There is no such functionality build into the framework. The offline data base is only for designing the db, not to have a backup db.
    If you can't connect to the db the application will not work.
    Timo

  • Air application loading flex applications(no Air) with flex linked as RSL.

    Hello
    I am trying to make an AIR application which loads number of flex applications(no AIR). The subapplications are using the Flex SDK as a RSL, and each of them can use different version of the SDK.
    The problem is that the subapplicationsare trying to load the needed SDK from local filesystem, which they are not permited.
    public class CrossDomainRSLItem extends RSLItem
         override public function load(progressHandler:Function,
                                      completeHandler:Function,
                                      ioErrorHandler:Function,
                                      securityErrorHandler:Function,
                                      rslErrorHandler:Function):void

    Hi again.
    Is there any way to reliably edit the trust files with AIR application?
    As I see it we have to make the user to add our folder to the trusted locations, or to use some application which can find and write in the FlashPlayerTrust (native for the specific OS installer for example.). (even finding this directory with an AIR application seems not 100% reliable).
    Thanks in advance for you help.
    Ps: Right now I am trying to patch this.
    I compiled some sub-applications using custom preloader class(the controlling class, not the UI), where I removed the RSL loading. After that in an ApplicationDomain I load all the RSLs with loaders. After that I load the sub-application in the same domain. On paper this should work, but the sub-application can't find the classes from the RSLs(the first exeption is that there is no definition for spark.components.Application)

  • Adobe Flex 3 with AIR Certification Exam is Now Out !!!

    Adobe just released the Adobe Flex 3 with AIR certification
    exam (though they have not yet updated their Adobe Flex
    certification page).
    Here is my blog entry with more details:
    My
    blog entry on the Adobe Flex 3 with AIR certification exam
    Here is the study guide:
    Adobe
    Flex 3 with AIR Certification Exam Study Guide

    When I got Flex 2 certified, I found this software to be
    fairly useful. The Flex 3 exam version is not out yet, so you might
    consider getting the version for Flex 2, as it still should be
    useful:
    Attest
    I suggest going through these FB help topics and all
    sub-topics TWICE, compiling all sample programs.
    Flex Programming Elements
    User Interfaces
    Advanced Flex Programming
    Data Access and Interconnectivity
    Application Design
    Application Development
    Application Deployment
    Custom Component Development
    MXML Custom Components
    ActionScript Custom Components
    Nonvisual Custom Components
    Flex Data Visualization Developer's Guide
    Using Flex Builder 3
    Developing AIR applications with Flex
    Programming ActionScript 3.0

  • How to embed SQLite database to Air app?

    Now I connect to a database file like this:
    var dbFile:File = File.applicationStorageDirectory.resolvePath("myDB.db");
    conn = new SQLConnection();
    conn.openAsync(dbFile);
    conn.addEventListener(SQLEvent.OPEN, openSuccess);
    conn.addEventListener(SQLErrorEvent.ERROR, openFailure);
    Tell me please, how do I embed the DB file to the application? I need to have the database inside a swf.

    Here's info on encrypting a database in AIR:
    Creating an encrypted database
    Working with the encrypted local SQLite database
    flash.data.SQLConnection
    Chris

  • Is it possible to download programmes from bbc iplayer and watch them offline on a MacBook Air?

    Is it possible to download programmes from BBC Iplayer and watch them offline on a MacBook Air,the same as can be done on a iPad?

    Take a look here:
    http://iplayerhelp.external.bbc.co.uk/help/using_bbc_iplayer/desktop_requirement s
    Ciao.

  • How to view Google Drive offline files on iPad Air

    It there away to make movie file available to view offline on my iPad Air?

    The only way to view a file "offline" is to download it, regardless of the app or cloud system used. When you check a file as being available offline, that is what it does - downloads a copy for local use.
    In the Google drive app, tap on the icon to the right of the item., the turn Available Offline ON. (This will download a copy of off line use). You must be Online when you do this, obviuosly. If you are using another app to connect to Google, and the app support offline viewing, it should have a similar mechanism.

  • I'm an Adobe Certified Expert [Flex 3 with AIR] now

    Hello all,
    I have passed the ACE Exam and scored 86%
    Here is my result
    Creating a User Interface: 81%
    Flex system architecture and design: 77%
    Programming Flex applications with ActionScript: 100%
    Interacting with data sources and servers: 75%
    Using Flex in the Adobe Integrated Runtime (AIR): 90%
    Thanks a lot to all the participations, who helped me a lot
    Now when should i expect my ACE Kit?
    Is there any other advice or matters for me to consider?
    Regards
    Ali Raza

    this is a simulate made in Adobe AIR =D
    http://www.pxldesigns.com/attest
    regards
    Leonardo França
    Adobe Certified Expert Flex 3 with AIR
    Adobe Certified Expert Rich Internet Application Specialist v1.0
    Adobe Certified Expert Flash CS3 Professional
    Certified Professional Adobe Flex 2 Developer
    Adobe Certified Professional Flash MX 2004 Developer
    http://www.leonardofranca.com
    http://twitter/leofederal
    Manager AUGDF - Adobe User Group do Distrito Federal
    http://www.augdf.com.br
    http://twitter/augdf
    Ashudeep Sidana escreveu:
    Congratulations!!!!!!!!!
    Could you please tell me Which book to refer for this???
    TIA
    >

  • Can I update my Android AIR app with a non-AIR app?

    A few years ago I published an Android app using Adobe AIR. Now I've created a new version of the app with a different technology (HaxeFlixel / OpenFL) which uses native C++ code.
    The certificate I used for the AIR version is in "p12" format, and it seems that I need to use "jks" format. I tried using a p12 to jks converter I found online, which seemed to work, but when I try to submit the app I get an error saying that the certificates don't match.
    Any suggestions on how I can update the app with a non-AIR app? Is it possible? Thanks in advance.

    I'm still having trouble with this, I asked in the OpenFL forums but nobody responded.
    I converted the p12 file to JKS from the site you suggested (I think I've actually tried it before), and the file was created successfully, the apk compiled fine with the JKS file, but when I try to update the app for Google Play it says "Upload failed
    You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate. Your existing APKs are signed with the certificate(s) with fingerprint(s):"
    When I try to sign with the original p12 file, I get the error "Invalid keystore format"
    I noticed that for the AIR app, I also had a file called SelfSigned.pfx, which I think was used to create the p12 certificate? Can this have something to do with the problem? I even tried using this pfx file to sign the app, which didn't work either.

  • Flex 4 and air 2beta

    hii
    I have an air application using flex 4 and air 2.0beta version,
    when i am trying to run the project its showing an error :
    VerifyError: Error #1014: Class flash.display::Shader could not be found... ,
    did get what it indicatess....
    have made all the cofigurations..,,changed the namespace 2.0beta2..n all
    please give me any solution ..
    Thanks
    Saritha

    Sounds like airglobal.swc is missing in your library path. I have some tips here http://blogs.adobe.com/jasonsj/2010/03/using_the_air_2_sdk_in_flash_builder_4.html, but you might want to double check your SDK overlay: http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes#AIR_2_SDK.
    Jason San Jose
    Software Engineer, Flash Builder

  • How to connect to and communicate with an SQLite database in AIR/Flex

    Hey guys,
    I recently decided I would try programming a vocabulary-training program in AIR, so I could use it on Linux as well. I got stuck pretty soon. I am trying to connect to a local SQLite database and I obviously fail epically. Posting the source code of the application here:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
       <mx:Script>
          <![CDATA[  
               import flash.filesystem.File;
              import flash.data.*;
             import mx.controls.Alert; 
                      private var dbFile:File;
                   private var conn:SQLConnection;
                   // -- AUTO INIT FUNCTIONS --------------------------------------------------- /
                   private function init():void {
                        // Create a File Reference to the Included DB
                        dbFile = File.applicationDirectory.resolvePath( "../slovniky.db" );
                        // Create SQL Connection
                        conn = new SQLConnection();
                        // Event Listener that will tell us when the DB is opened
                        conn.addEventListener(SQLEvent.OPEN, openSuccess);
                        // Event Listener that will tell us if an error occurs
                        conn.addEventListener(SQLErrorEvent.ERROR, openFailure);
                   // -- EVENT HANDLERS -------------------------------------------------------- /
             private function starter() :void {
                  slovickoEn.enabled = true;
                  nazor.enabled = true;
                  odeslat.enabled = true;
                  zrusit.enabled = true;
                  start.enabled = false;
                  // Otevírám spojení s databází v asynchroním módu
                   conn.openAsync( dbFile );
             private function openSuccess( event:SQLEvent ):void {
                        // Pokud se spojení povede!
                        Alert.show("Spojení se zdařilo!");
               private function openFailure( event:SQLEvent ):void {
                        // Pokud spojení selže!
                        Alert.show("Spojení se nezdařilo!")
             private function kontrola() : void {
                  if (nazor.text != "") {
                       if (nazor.text == "Pes") {
                       Alert.show("Správně!");    
                       else {
                       Alert.show("Špatně!! " + "Napsané slovíčko bylo " + nazor.text);     
          ]]>   
       </mx:Script>
       <mx:VBox width="400" height="200"
                   horizontalCenter="0" verticalCenter="0" backgroundColor="#FFFFFF"
                   paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20"
       >
          <mx:HBox width="100%" verticalAlign="middle" horizontalAlign="center">
             <mx:Label text="Anglicky:"/>
             <mx:TextInput id="slovickoEn" editable="false" text="Dog" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" verticalAlign="middle" horizontalAlign="center">
             <mx:Label text="Česky:"/>
             <mx:TextInput id="nazor"  enter="kontrola()" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" horizontalAlign="center">
             <mx:Spacer width="50" height="10"/>
             <mx:Button id="odeslat" label="Odeslat" color="#0D8401" click="kontrola()" enabled="false"/>
             <mx:Button id="zrusit" label="Zrušit" color="#0D8401" enabled="false"/>
          </mx:HBox>
          <mx:HBox width="100%" horizontalAlign="center">
             <mx:Spacer width="50" height="10"/>
             <mx:Button id="start" label="Start" color="#0D8401" click="starter()" enabled="true"/>
          </mx:HBox>
       </mx:VBox>
    </mx:WindowedApplication>
    The Run of the program tells me this:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at pes/starter()[C:\air\projects\pes\src\pes.mxml:45]
         at pes/__start_click()[C:\air\projects\pes\src\pes.mxml:93]
    I would appreciate any help or a how-to. I am an absolute beginner with some experience from HTML, CSS, PHP and rarely JS. What am I doing wrong? File attached for easier manipulation as well.
    Erthy

    Hi,
    Here is the complete example for the same with the code.Let me know if you have any issue with this.
    http://shardulbartwal.wordpress.com/2008/04/14/adobe-air-and-sqlite-connectivity/
    with Regards,
    Shardul Singh Bartwal

Maybe you are looking for

  • Events received in Mail not appearing in iCal

    My fiancee is having some problems with iCal. When she receives an event it used to (and still does on my machine) appear in iCal automatically, whether she had read the email or not. Now, to get an event from Mail into iCal she has to open the attac

  • I have a HP G71 Model#G71-329WM. I need to replace the optical drive. What is the part Number?

    My HP G71 Model#G71-329WM will not load a CD or DVD so I need to replace the optical drive. What is the correct Part number? Thanks This question was solved. View Solution.

  • IPod radio connect to stereo

    How can I connect iPod-radio and iPod via docking station to my stereo (Bose) or is this not possible? Siemens-Fujitsu   Windows XP  

  • Checklist : Upgrade PI7.0 to PI7.3

    Hi All,         We are going to upgrade our PI systems from 7.0 to 7.3. Basis team has reviewed some PI7.3 upgrade documentation and came up with the below questions. Can you please help me on how to check/verity these items? Prior to the upgrade sta

  • Elements 9 for mac frozen on screen

    I'm using mac os and I was in the middle of downloading photos into the organizer  when the photo downloader froze along with the organizer.  I have shut off my mac a few times and still those two programs are there.  I'm able to get online but not a