[android-developers] Re: Join via ContentProvider

2008-12-17 Thread Luke w
I also want to know how the layout can be implemented. Image1 Text1 Image2 Text2 Image3 Text3 BR, Luke Wang Jay London - I was going to buy a book on hair loss, but the pages kept falling out. On Mon, Nov 3, 2008 at 1:25 PM, for android forandr...@gmail.com wrote: Also i was interested in

[android-developers] Re: Join via ContentProvider

2008-11-03 Thread jtaylor
To change the indicator when expanded, you can do something with the state_expanded state. In the drawable which indicates the Drawable parameter of setGroupIndicator(drawable), you set the state_expanded state in the context of a stateful Drawable. Don't see any examples of how do do this.

[android-developers] Re: Join via ContentProvider

2008-11-02 Thread jtaylor
public void setGroupIndicator(Drawable groupIndicator) http://code.google.com/android/reference/android/widget/ExpandableListView.html#setGroupIndicator(android.graphics.drawable.Drawable) - Juan T. On Oct 29, 4:00 am, for android [EMAIL PROTECTED] wrote: How can i create a customised

[android-developers] Re: Join via ContentProvider

2008-11-02 Thread jtaylor
public void setGroupIndicator(Drawable groupIndicator) http://code.google.com/android/reference/android/widget/ExpandableListView.html#setGroupIndicator(android.graphics.drawable.Drawable) - Juan T. On Oct 29, 4:00 am, for android [EMAIL PROTECTED] wrote: How can i create a customised

[android-developers] Re: Join via ContentProvider

2008-11-02 Thread for android
Also i was interested in know when I expand a group ,is there any way i change image other than implementing the public void setOnGroupExpandListener(

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread for android
How can i create a customised Expandable list where the group identifer image is different than the already given ones in the apis.. On Mon, Oct 27, 2008 at 6:46 PM, jtaylor [EMAIL PROTECTED] wrote: I'm just supposing that each class is a table. I don't know how android.provider is set up,

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread jtaylor
I looked at the Hierarchy Viewer and it just shows two id/tex1 views below the ExpandableListView. So it must be interior to Android. - Juan On Oct 29, 5:00 am, for android [EMAIL PROTECTED] wrote: How can i create a customised Expandable list where the group identifer image is different

[android-developers] Re: Join via ContentProvider

2008-10-29 Thread jtaylor
I should have said I looked at the Hierarchy Viewer for ExpandableList2 demo. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList2.html - Juan On Oct 29, 11:18 am, jtaylor [EMAIL PROTECTED] wrote: I looked at the Hierarchy Viewer and it just shows

[android-developers] Re: Join via ContentProvider

2008-10-27 Thread jtaylor
That looks like two tables. Contacts.People Contacts.People.Phones - Juan On Oct 26, 12:52 pm, Anm [EMAIL PROTECTED] wrote: jtaylor, Did you read the example?  It does not do a joint.  Instead it uses a Uri subpath notation for its child query, within the same table rather than joining

[android-developers] Re: Join via ContentProvider

2008-10-27 Thread jtaylor
I'm just supposing that each class is a table. I don't know how android.provider is set up, though I guess one can now see from the source code. - Juan On Oct 27, 9:15 am, jtaylor [EMAIL PROTECTED] wrote: That looks like two tables. Contacts.People Contacts.People.Phones - Juan On Oct

[android-developers] Re: Join via ContentProvider

2008-10-26 Thread Anm
jtaylor, Did you read the example? It does not do a joint. Instead it uses a Uri subpath notation for its child query, within the same table rather than joining multiple tables. The references to group in the code are not contact group membership, but rather ExpandableList parent node/groups.

[android-developers] Re: Join via ContentProvider

2008-10-25 Thread jtaylor
ExpandableList2. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList2.html - Juan On Oct 24, 3:05 am, Anm [EMAIL PROTECTED] wrote: I'm struggling to understand how to do a join, if its possible, with the decomposed SQL arguments of the

[android-developers] Re: Join via ContentProvider

2008-10-25 Thread jtaylor
ExpandableList2.java has the getChildrenCursor() (in the MyExpandableListAdapter inner class) which has the code for obviously a contentprovider Join. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList2.html - Juan On Oct 25, 2:47 pm, jtaylor

[android-developers] Re: Join via ContentProvider

2008-10-24 Thread Evan JIANG
There's a android.database.CursorJoiner class to join 2 cursors On Fri, Oct 24, 2008 at 5:44 PM, zero [EMAIL PROTECTED] wrote: it depends on what you're up to. if you just want to join accross tables, in a contentprovider, you can do that with the querybuilder object. also, from the

[android-developers] Re: Join via ContentProvider

2008-10-24 Thread Anm
On Oct 24, 2:47 am, Evan JIANG [EMAIL PROTECTED] wrote: There's a android.database.CursorJoiner class to join 2 cursors Excellent. Too bad about the sort prerequisite. Looks like we need a SortCursor, since sorting on _id is nearly useless. For my app, I don't expect the results to be