Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree1Likes
  • 1 Post By jonbonazza

test: Reply
 
LinkBack Thread Tools
Old November 22nd, 2012, 06:11 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Please Help ME HOW TO CONNECT ANDROID WITH SQL SERVER

Hi

I am New in This Forum
And I See a Lot Of Tutorials Of How to Connect to A sql server
using Android

put no one of any tutorials applied with me correctly
every tutorial have an error and error

I Ask Some One And He Told Me You Can't Connect to the SQL SERVER Directly
you have to using a (web service)
.........
and I Ask somebody else he told me no you can connect to the SQL SERVER using the (jtds)


Please Help Me On this Please .....

Best Regards ,,,

Lo2i is offline  
Reply With Quote
Sponsors
Old November 22nd, 2012, 08:35 PM   #2 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,925
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 462 Times in 285 Posts
Default

You don't necessarily have to use a web service, but you need some sort of interface. You can, for example, use the JDBC apis and your DBMS's JDBC driver.
Lo2i likes this.
__________________
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
jonbonazza is online now  
Reply With Quote
The Following User Says Thank You to jonbonazza For This Useful Post:
Lo2i (November 23rd, 2012)
Old November 23rd, 2012, 04:33 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks You jonbonazza.

Can You Please Give Me Any Tutorial About This

And Told Me The LINK I Can Download And Instal The JDBC Driver And (How To Use It)
Lo2i is offline  
Reply With Quote
Old November 23rd, 2012, 03:20 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Up Please
Lo2i is offline  
Reply With Quote
Old November 24th, 2012, 06:03 AM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Any Suggestions ??
Lo2i is offline  
Reply With Quote
Old November 24th, 2012, 06:32 AM   #6 (permalink)
New Member
 
Join Date: Nov 2012
Posts: 4
 
Device(s): HTC Desire S, Asus eeePad Transformer TF101
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried searching on stackoverflow? There are many good tutorials and links there. I can't post a link here, because I'm new memeber. But try this link - stackoverflow[dot]com / a / 10829223
Kirumbik is offline  
Reply With Quote
Old November 24th, 2012, 02:29 PM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank You Kirumbik

I read alot of tutorials from stackoverflow
but something goes wrong in every tutorial i read

with knowledge i add a permission to the manifest to access the internet
and add the jars file to the build path

and still not working yet
Lo2i is offline  
Reply With Quote
Old November 24th, 2012, 10:20 PM   #8 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,925
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 462 Times in 285 Posts
Default

The JDBC is is a java library, so it is not Android specific. Any JDBC tutorial should work.
Here is one:
JDBC - Sample, Example Code

step 2 in the tutorial will be different depending on what DBMS you are using. Can you provide this information?
jonbonazza is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:36 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.