[android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-27 Thread skink
On 27 Gru, 06:46, Vijay Krishnan vijay.vijay...@gmail.com wrote: Hi skink,           cursors point to different tables and tables have different column names.How do i know that this cursor points to this table?          How do i display data from different tables? Regards, vijay.k if

[android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread skink
Vijay Krishnan wrote: Hi all, I am having two unrelated tables in my application database.I have to query from two tables and display data on same listview. Is it possible to do this?. Regards, vijay.k what didn't you understand from this thread;

[android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread skink
Vijay Krishnan wrote: Hi all, I am having two unrelated tables in my application database.I have to query from two tables and display data on same listview. Is it possible to do this?. Regards, vijay.k what didn't you understand from this thread;

Re: [android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread Vijay Krishnan
my question is when i m having two cursors that points to different data and i want to display the data in same listview.How could this can be done by merge cursor? On Wed, Dec 26, 2012 at 8:15 PM, skink psk...@gmail.com wrote: Vijay Krishnan wrote: Hi all, I am having two

Re: [android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread skink
Vijay Krishnan wrote: my question is when i m having two cursors that points to different data and i want to display the data in same listview.How could this can be done by merge cursor? Cursor cs[] = new Cursor[2] cs[0] = ... // first query cs[1] = .. // second query MergeCursor mc = new

Re: [android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread Vijay Krishnan
Hi skink, cursors point to different tables and tables have different column names.How do i know that this cursor points to this table? How do i display data from different tables? Regards, vijay.k On Wed, Dec 26, 2012 at 9:48 PM, skink psk...@gmail.com wrote: Vijay