IntelliJ Java IDE
The moose likes Android and the fly likes JDBC in android Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "JDBC in android" Watch "JDBC in android" New topic
Author

JDBC in android

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi All,

Suppose I want to fetch records from remote database located somewhere on server.
And I want JDBC to use.Can we use JDBC ?

However I know that it is not standard way to go. We can use SOAP kind of webservice too. But somehow I want to use JDBC only.
Please help ?

Any tutorial will be a great help.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2329
JDBC does not exist for Android. You shouldn't use JDBC across the Internet anyway. I wouldn't use SOAP instead - REST should be the first approach these days.
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Tim Moores wrote:JDBC does not exist for Android. You shouldn't use JDBC across the Internet anyway. I wouldn't use SOAP instead - REST should be the first approach these days.



I was also thinking the same. But when I googled I found few people who has done it.
Take a look at http://stackoverflow.com/questions/4447692/jdbc-connection-in-android

So now I am confuse.
 
 
subject: JDBC in android
 
Threads others viewed
Connect to Style Reports using JDBC Only
JDBC Driver
Can we change the Tablespace in Oracle throught JDBC?
How to add oracle thin driver in NetBeans 5.0
how to connect to Oracle using TNS name
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture