PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   Off-Topic (http://www.ps3hax.net/forumdisplay.php?f=17)
-   -   Anyone with android development skills? (http://www.ps3hax.net/showthread.php?t=38948)

H3avyRa1n 06-10-2012 05:54 PM

Anyone with android development skills?
 
How do you make a join of 2 tables?

Simple example:

table A
column1
column2

table B
columnx
columny

how do I join column1 and columny?
tia.

TDMaster 06-10-2012 06:03 PM

public Cursor rawQuery (String sql, String[] selectionArgs)

rawQuery("select t1.column1 , t2.columnY from table A t1 join table B ON (.....)",null);

H3avyRa1n 06-11-2012 04:01 AM

Quote:

Originally Posted by TDMaster (Post 377312)
public Cursor rawQuery (String sql, String[] selectionArgs)

rawQuery("select t1.column1 , t2.columnY from table A t1 join table B ON (.....)",null);

thanks but why a cursor?

superfurry 06-11-2012 04:20 AM

What are to using to build the apps? Eclipse with java?

H3avyRa1n 06-11-2012 05:12 AM

Quote:

Originally Posted by superfurry (Post 377476)
What are to using to build the apps? Eclipse with java?

yes, why? :)

superfurry 06-11-2012 05:18 AM

Just wondering what you mean by joining 2 tables ?

H3avyRa1n 06-11-2012 05:31 AM

is there other way to do it?

superfurry 06-11-2012 05:36 AM

Do you mean on the layout screen , can't you use place holders for them? Can you explain what your trying to do?

H3avyRa1n 06-11-2012 05:45 AM

I’m trying to make an app with several functionalities and I need to store data. Right now I’m focused in the data model, that’s why I’m trying to understand how to make the queries. :)

superfurry 06-11-2012 08:44 AM

Well you need to use a database I would of thought ?


All times are GMT -5. The time now is 06:39 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.