[android-developers] DB: “table” has no column named “name column”

2016-09-29 Thread Giuseppe Guarino
I've this problem when I was launching the app, it made me this error: E/SQLiteLog: (1) table geophysics_table has no column named municipality E/SQLiteDatabase: Error inserting id_grid=1 culture_type= resolution_survey= soil_type= coordinates= finish_date= start_date= municipality= site= softw

[android-developers] .db files being renamed to .back

2013-10-28 Thread Nathan
Not that I have reproduced it here, but . .. Customer reports that some large db files were missing from storage and were replaced by a .back file of the same approximate size. Nothing in my code ever renames a .db file to a .back file. Is there some system process that would do that? Natha

Re: [android-developers] db

2012-03-12 Thread Justin Anderson
First, read this: http://catb.org/esr/faqs/smart-questions.html Then, ask again... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 12, 2012 at 10:55 AM, deepu wrote: > source code for the db register on ,and retrival of data from phpadmin > on

[android-developers] db

2012-03-12 Thread deepu
source code for the db register on ,and retrival of data from phpadmin online -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send ema

Re: [android-developers] DB Id's vs ListView

2011-04-27 Thread Dianne Hackborn
There is no need to pull the ID for each item. And there is definitely no need to put all of this data in an array...!!! Don't do that, you kill performance by causing you to have to load everything out of the cursor. Note that ListView and many other things rely on a cursor always having a fiel

Re: [android-developers] DB Id's vs ListView

2011-04-26 Thread Kapil Lokhande
Hi Guy, Its so simple as you are setting adpter for listview from data structure e.g. array,arraylist,linkedlist u can use two arraylist or any other in which one stores name to display on listview and other stores id. now these two arraylists will have same size. and clicking on one item in list

Re: [android-developers] DB Id's vs ListView

2011-04-26 Thread TreKing
On Sat, Apr 23, 2011 at 12:36 AM, Guy Cothal wrote: > HOW DO I GET THE ID FOR THE RECORD > You will have some data structure that holds you data, say Record. This will be the content of the Adapter that backs your ListView. When you select an item in the ListView it indexes the list of Records,

[android-developers] DB Id's vs ListView

2011-04-25 Thread Guy Cothal
Hey all, I am new to Android dev but VERY experienced in DB/Web dev...I currently have my app talking to my web server to get a list of data based off a query...like searching for a song...I know how to send it and even how to parse it into an array...but here is where I am a little fuzzy...I am g

Re: [android-developers] DB changes for next version, how to debug?

2010-12-09 Thread TreKing
On Tue, Dec 7, 2010 at 12:43 PM, Meep wrote: > My question is how do I test the two versions to upgrade from X to Y > without touching the actual marketplace? > Install Version 1. Do Stuff. Build Version 2. Install Version 2 with the adb install -r command ("r" for re-install) Profit. -

[android-developers] DB changes for next version, how to debug?

2010-12-08 Thread Meep
I see that I need to do some queries to back up the data in the onUpgrade method. My question is how do I test the two versions to upgrade from X to Y without touching the actual marketplace? Sources: http://groups.google.com/group/android-developers/browse_thread/thread/313e7aca283f1e8d/2e615cc4

[android-developers] DB Android Blogger & Android Developer

2010-02-09 Thread Sasikumar.S
Hi, What's the Difference Between Android Blogger & Android Developer?... -- Thanks & Regards Sasikumar.S -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubs

Re: [android-developers] DB location

2009-12-13 Thread Mark Murphy
Jags wrote: > I am using sqlite db in my app. i am able to create db and table and > execute queries. But I wanted to know where is the sqlitedb created, > so that I can check them from commandine. > where doed that android store ? I searched, could not find anything on > that name in my pc, does a

[android-developers] DB location

2009-12-13 Thread Jags
I am using sqlite db in my app. i am able to create db and table and execute queries. But I wanted to know where is the sqlitedb created, so that I can check them from commandine. where doed that android store ? I searched, could not find anything on that name in my pc, does android encrypt the nam

Re: [android-developers] db insert auto increment

2009-12-07 Thread Ederson Ferreira
Hi, You don't need to pass anything. Try to use myDB.insert instead of myDB.execSQL, for instance: ContentValues values = new ContentValues(); values.put("field1", "value_for_field1"); values.put("field2", "value_for_field2"); myDB.insert(MY_TABLE, null, values); Realize that you do not need to

[android-developers] db insert auto increment

2009-12-07 Thread Jags
i am doing sqlite3 my tables's pk is auto-increment. What shpuld i pass its value while inserting so that auto increment executes properly ? public void writeRecord(Row rec) { try { Object[] bindArgs = new Object[] {-1, rec.name, rec.email};

[android-developers] DB Cursor not working

2009-10-18 Thread Yayo
Hi all, I've got this piece of code where I count words in a dictionary and then I try to query them: String params[] = { Integer.toString(minlength), Integer.toString(maxlength) }; SQLiteStatement statement = database

[android-developers] DB read notification?

2008-12-26 Thread samudra
Hi, using content observer, I could handle a DB write notification. Is there a way to check if someone trying to read the DB? I mean, is it possible to get a notification when the DB is read? Thank you. ~Samudra --~--~-~--~~~---~--~~ You received this message bec