1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    Sbadams is on a distinguished road

      0  

    Default Help with persistent file changes with Sencha Touch applications.

    Help with persistent file changes with Sencha Touch applications.


    So essentially I am curious as to how to achieve this with my Sencha Touch application. My application includes a log-in form authentication and an aspect of the application allows the user to explore a list of documents/files which are hosted on the same server as the application and is unique to that specific user.

    I want the user to be able to select the file within the application(commonly .pdf) and the device browser will choose or present a list of choices of third-party applications which will allow the user to view/edit the document(adobe reader, etc), assuming that Sencha doesn't have a utility which allows the user to view/edit PDF documents. Once the user has made any changes to the document and has closed and "saved" the document, the Sencha Touch application should return, bypassing the log-in form, and these changes should persist on any future occasions of opening the file.

    Therefore, if the user chooses to re-open that document, he should see the same document that he had modified previously rather than a newly downloaded copy of that document from the server. What are the possible ways to achieve this, since I am fairly new to web applications?

    I know that possibly with a normal mobile application, you can save the information locally on the device and choose to load the information from the device if it is available in storage, but I'm not sure how to achieve this with the Sencha Touch web application.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I think you are expecting too much. If the file will be on a remote server, you will need a server side script to handle saving and creating the PDF.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi