Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt app and Integration with Cloud Computing
QtWS25 Last Chance

Qt app and Integration with Cloud Computing

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shukla
    wrote on last edited by
    #1

    Hi,

    I have an spreadsheet application written completely in JavaScript. I have ported it on on Maemo Platform using Qt.

    I want to save the spreadsheets on cloud and retrieve them back when needed. By cloud here I mean that there is a web server side, where functions have been coded in AJAX. I need to call those functions using Qt.

    Development on server side has been done using : @http://code.google.com/appengine/articles/rpc.html@

    Currently save and open functionality on local machine works like this :

    I have defined dosave()function in my javascript file which saves the contents in a “string” and returns it. This string is written in a file and saved in local machine. When save button is clicked, evaluateJavaScript() function takes dosave() function as parameter and does the work.

    Similarly, I have open() function defined in javascript code, in which this particular string is passed and it displays the content back to the file I want to open. Here when open button is clicked, saved file is read and saved to QString variable. This is passed to open() function. Again, evaluateJavaScript() function is used to interact with the javascript function.

    Kindly provide some information regarding how to move forward to save the content on Cloud using Qt or any other Maemo app which does that. How to take forward this on client side ?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Can you define what you mean by cloud in this case please? If you just mean some form of web server that talks http then take a look at QNetworkAccessManager.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shukla
        wrote on last edited by
        #3

        Sure,

        I have edited the post.

        By cloud here I mean that there is a web server side, where functions have been coded in AJAX. I need to call those functions using Qt. I would take a look QNetworkAccessManager. Kindly provide further inputs if any.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          For interacting with a webserver, I would really considder QNetworkAccessManager. Also, however, considder that data you get from outside your own application is not to be trusted. If you can avoid it, don't simply execute it. I guess you're getting JSON data? If so, there are other ways of reading that...

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved