Results 1 to 2 of 2

Thread: Store basic app settings on mobile

  1. #1

    Store basic app settings on mobile

    Hello all
    My mobile app is used for inventory taking , using multiple android devices.
    Is there a way to store basic app settings locally, (text file). When the app is reopened I want to populate the department, user id, location, control parameters. At the moment I cannot do this and each time the app is closed \ minimised the settings are lost and have to be rekeyed. I cannot find a unique device id to enable me to store the device settings on the Lianja server.

    Thank you
    Paudie Walsh

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,719
    Blog Entries
    17
    Hi Paudie,

    you could store all that info into a database table in the server.

    If if you are building your app as a phonegap app you can get a unique device id in the ready delegate and then call a proc on the server to lookup the info you need. If there is no data for that device Id then create a new record.

    https://stackoverflow.com/questions/...using-phonegap
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us