SQLITE database. How do I get it back to PC from phone?



  • I have a database, that contains manys data on my phone. I want to bring this databse to my PC. But I don't know where is it, (I've search it's name on phone. but not found).
    Can you help me?
    Thanks you very much!



  • Symbian or Maemo?

    How you're calling db.setDatabaseName()?
    Are you passing the absolute path?

    If not, and it's symbian, it stays in a private folder, AFAIR.

    Anyway, you can use "QDesktopServices":http://doc.trolltech.com/4.6/qdesktopservices.html to store your database in the correct places.



  • [quote author="danilocesar" date="1288758472"]
    How you're calling db.setDatabaseName()?
    Are you passing the absolute path?
    [/quote]

    AFAIK sqlite doesn't handle network connections. So the problem appeared is to transfer data from sqlite db on device to sqlite db on PC.



  • [quote author="lyuts" date="1288768975"]
    AFAIK sqlite doesn't handle network connections. So the problem appeared is to transfer data from sqlite db on device to sqlite db on PC.[/quote]

    The guy is trying to recover the raw .db file and doesn't know where his apps is saving it. eg.: It can be solved by, inside his app, calling db.setDatabaseName("E:/something.db"), which is the SD card. (it's just for explanation, I'm not mentioning the fact that this will expose the .db to other apps)



  • [quote author="danilocesar" date="1288780653"]
    I can't find the place where I mentioned "network" on my preview post. ;)
    [/quote]

    Yes, you didn't write it literally, but you asked the OP how he was calling setDatabaseName() function. What I wanted to say in my post is that in my opinion the way it is called doesn't matter in his case, because it looks like the OP wanted to connect to remote sqlite db. At least this is how I saw it when I read "I have a database, that contains manys data on my phone. I want to bring this databse to my PC.". My apologies if I offended you.



  • Now I see that I misunderstood the original problem. So please skip my posts in order to avoid confusion.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.