1 2 Previous Next 16 Replies Latest reply: Sep 27, 2012 4:33 PM by 270297 Go to original post RSS
      • 15. Re: Oracle APEX - Mobile Support - Offline Applications
        itobinh
        Offline ... Local .... whatever....as long as my problem is solved.

        :-)
        • 16. Re: Oracle APEX - Mobile Support - Offline Applications
          270297
          Hello,

          As far as I realize there is no solution yet for a true offline Oracle Apex application.
          HTML5 though has a very good offline database which works very nice.

          De following function does the trick:
          function createTables(){
          var query = 'CREATE TABLE IF NOT EXISTS items(id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, amount VARCHAR NOT NULL, name VARCHAR NOT NULL);';
          try {
          localDB.transaction(function(transaction){
          transaction.executeSql(query, [], nullDataHandler, errorHandler);
          updateStatus("Table 'items' is present");
          });
          }
          catch (e) {
          updateStatus("Error: Unable to create table 'items' " + e + ".");
          return;
          }
          }

          The big question is how to integratie this in Apex so that I can use Apex to make a truly offline mobile app.

          Please help!

          Toon Schilder
          1 2 Previous Next