Hi frnds...am new to android...i hav a doubt...
Hi friends...
i have a query lik ths...

"select
item.a,item.b,customer.a,customer.b from item,customer
where (some condition)"

can i retrieve data from ths query like ths....
cursor.getString(1);
cursor.getString(2);

will it create any problems?

how is it differentiate with getColumnindex();

I am retrieving data from database(everywher) in this
format(cursor.getString(5) etc..
The problem i am facing is...
I have a item "stock" variable in one class which will b updated to db
frequently according to ma prgm logic....
when i am retrieving this stock to another class where i need to check some
condition....
it s simultaneosly changing the value.....
sometimes it giving updated value sometimes it is not.....am sure that am
retrieving from d exact place i want but the thing is it s always geting
interchnged...

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to