Hello. If you don't want to read useless background info, just skip to the bold letters.
After having failed countless times, I'm starting to give up. I followed this tutorial, and tried to adapt it for my own project. However, as soon as I start adding and renaming columns, things start to get wrong. I need to open a certain SQLite database and read data from it, but even creating it in this app and trying to then add entries to it won't work as soon as I start meddling around with the source code, and I can't see where I go wrong. I haven't even gotten to opening a file.
If anyone could make a very simple application for me just to help me get started and give the source code, I should be able to figure out what I'm doing wrong and how to continue. Basically a strategy that has often worked for me, if you can't figure out the answer yourself (and I tried very hard), get the right answer from somewhere else and analyse it until you understand what's going on.
So, what the app I want to request must do. First, it must be able to work for 2.1 or higher, but AFAIK, 2.1 should have all required functions already. I do want it to have Google's modern standards for interfaces, but I should be able to port it to a code that compiles against 4.1. It shouldn't be much of a big deal if it compiles against 2.1.
I want it to be able open a database that is contained in a .bin file. I attached it in the trust that it will not be abused, though there shouldn't be much that can be abused in here. It contains a few tables, the most important of which is ZDBO_VERZEN. It needs to read at least this table, being able to read, or even edit, the others as well would be very nice if you feel ambitious, but the minimum is reading the ZDBO_VERZEN table. This table contains several columns. According to the SQLite Database browser I downloaded their names and types are the following, in order:
Z_PK - - - - - - - - - - - - - - - - INTEGER PRIMARY KEY
Z_ENT - - - - - - - - - - - - - - - INTEGER (this column is, strangely, completely empty)
Z_OPT - - - - - - - - - - - - - - - INTEGER (this column is also completely empty, but both are present)
ZBNUMBER - - - - - - - - - - - - - INTEGER
ZCNUMBER - - - - - - - - - - - - - INTEGER
ZVNUMBER - - - - - - - - - - - - - INTEGER
ZID - - - - - - - - - - - - - - - - - INTEGER
ZVERZENTOBIJBELBOEKEN - - -- - INTEGER
ZVERS - - - - - - - -- - - - - - - - VARCHAR
If the app can read the data from these columns, inside of the specified table, from a certain file, I would be extremely happy. If it were to be made so that complete CRUD can be performed on the ZDBO_VERZEN and ZDBO_BIJBELBOEKEN tables and so that the Z_PRIMARYKEY table could be read, it would be perfection.
Anyone who gives me the source code of such an app will get a virtual cookie, and my most honest gratitude for helping an ignorant rookie along his way to less ignorance.
After having failed countless times, I'm starting to give up. I followed this tutorial, and tried to adapt it for my own project. However, as soon as I start adding and renaming columns, things start to get wrong. I need to open a certain SQLite database and read data from it, but even creating it in this app and trying to then add entries to it won't work as soon as I start meddling around with the source code, and I can't see where I go wrong. I haven't even gotten to opening a file.
If anyone could make a very simple application for me just to help me get started and give the source code, I should be able to figure out what I'm doing wrong and how to continue. Basically a strategy that has often worked for me, if you can't figure out the answer yourself (and I tried very hard), get the right answer from somewhere else and analyse it until you understand what's going on.
So, what the app I want to request must do. First, it must be able to work for 2.1 or higher, but AFAIK, 2.1 should have all required functions already. I do want it to have Google's modern standards for interfaces, but I should be able to port it to a code that compiles against 4.1. It shouldn't be much of a big deal if it compiles against 2.1.
I want it to be able open a database that is contained in a .bin file. I attached it in the trust that it will not be abused, though there shouldn't be much that can be abused in here. It contains a few tables, the most important of which is ZDBO_VERZEN. It needs to read at least this table, being able to read, or even edit, the others as well would be very nice if you feel ambitious, but the minimum is reading the ZDBO_VERZEN table. This table contains several columns. According to the SQLite Database browser I downloaded their names and types are the following, in order:
Z_PK - - - - - - - - - - - - - - - - INTEGER PRIMARY KEY
Z_ENT - - - - - - - - - - - - - - - INTEGER (this column is, strangely, completely empty)
Z_OPT - - - - - - - - - - - - - - - INTEGER (this column is also completely empty, but both are present)
ZBNUMBER - - - - - - - - - - - - - INTEGER
ZCNUMBER - - - - - - - - - - - - - INTEGER
ZVNUMBER - - - - - - - - - - - - - INTEGER
ZID - - - - - - - - - - - - - - - - - INTEGER
ZVERZENTOBIJBELBOEKEN - - -- - INTEGER
ZVERS - - - - - - - -- - - - - - - - VARCHAR
If the app can read the data from these columns, inside of the specified table, from a certain file, I would be extremely happy. If it were to be made so that complete CRUD can be performed on the ZDBO_VERZEN and ZDBO_BIJBELBOEKEN tables and so that the Z_PRIMARYKEY table could be read, it would be perfection.
Anyone who gives me the source code of such an app will get a virtual cookie, and my most honest gratitude for helping an ignorant rookie along his way to less ignorance.
