1. Check out our companion app, Forums for Android! Download from Google Play

Please Help ME HOW TO CONNECT ANDROID WITH SQL SERVER

Discussion in 'Application Development' started by Lo2i, Nov 22, 2012.

  1. Lo2i

    Lo2i Member
    Thread Starter
    5

    Nov 16, 2012
    5
    0
    5
    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 ,,,
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    459
    163
    Male
    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.
  3. Lo2i

    Lo2i Member
    Thread Starter
    5

    Nov 16, 2012
    5
    0
    5
    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)
     
  4. Lo2i

    Lo2i Member
    Thread Starter
    5

    Nov 16, 2012
    5
    0
    5
    Up Please :)
     
  5. Lo2i

    Lo2i Member
    Thread Starter
    5

    Nov 16, 2012
    5
    0
    5
    Any Suggestions ??
     
  6. Kirumbik

    Kirumbik New Member
    5

    Nov 24, 2012
    4
    0
    5
    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
     
  7. Lo2i

    Lo2i Member
    Thread Starter
    5

    Nov 16, 2012
    5
    0
    5
    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 :(
     
  8. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    459
    163
    Male
    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?
     

Share This Page

Loading...