dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Advice needed on how to keep large amounts of data

Hybrid View

  1. #1
    aidanmack.co.uk
    Join Date
    Dec 2001
    Location
    York, UK
    Posts
    400

    Advice needed on how to keep large amounts of data

    Hi guys,
    Im not sure whats the best way is to make large amounts of data available to my android app on the local device.

    For example records of food ingredients, in the 100's?

    I have read and successfully created .db's using this tutorial.
    http://help.adobe.com/en_US/AIR/1.5/...de46-7d49.html

    However to populate the database I use flash? So this kind of defeats the purpose of it. No point in me shifting a massive array of data from flash to a sql database, when I could access the data direct from the as3 array?

    So maybe I could create the .db with an external program? but then how would I include that .db in the apk file and then deploy it to users android device.

    Or maybe I create a as3 class with an xml object init and use that as a means of data storage?

    Any advice would be appreciated
    Last edited by 5TonsOfFlax; 04-26-2011 at 11:00 AM. Reason: fix link

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    I haven't done android stuff through flash, but I've done flash and I've done android.

    It appears that the file you're dealing with is an SQLLite db? Perhaps you could create that db locally in your development environment and then include the db file as a resource in your app. Or you could do like you said and populate it from an xml resource.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center