Store multiple XML files in Android
        Posted  
        
            by 
                Federico Perez
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Federico Perez
        
        
        
        Published on 2012-10-14T03:29:53Z
        Indexed on 
            2012/10/14
            3:36 UTC
        
        
        Read the original article
        Hit count: 182
        
android
|android-sqlite
I am developing a survey android app so that:
- Each survey is downloaded from server as XML file.
- A survey can have multiple versions (new survey, new XML).
- When a new XML is downloaded it should overwrite its corresponding previous XML.
I would like to store the files in a sqlite database. How can I insert my files into the db?
Should I use BLOB or store the content of the XML as string? In any case how should I do it?
© Stack Overflow or respective owner