Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Connect Android app to DB

Posted on 2012-03-18
6
Medium Priority
?
510 Views
Last Modified: 2012-03-30
I have a local MS SQL Server stored on my machine. What I would like to do is an android application that can actually access this database. how can i do this.any tutorial or links will be appreciated.

cheers
ZOlf
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:zolf
ID: 37734578
thanks for your comments.
that was not helpful. also i would appcreate if you provide some java version
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 1500 total points
ID: 37734599
not such a good idea to connect your client directly to sql server. instead make a service and connect to service, let the service respond to your requests in form of JSON or XML.

here are few examples:-
http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/
http://www.ibm.com/developerworks/xml/library/x-dataAndroid/

have a look at this discussion as well on SO:-
http://stackoverflow.com/questions/5253127/how-to-connect-to-a-mysql-database-from-an-android-app
0
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
LVL 11

Expert Comment

by:stevengraff
ID: 37734878
We see here that it's possible to do.
0
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37735137
I am not saying it can't be done, however its not advisable to do so...
Even the description of the app says so:-


Perfect for website owners who need to check on things or run a quick update statement
0
 

Author Comment

by:zolf
ID: 37745801
thanks for your comments.

can somebody tell me how i can show a table record from my sql server table into my android application.a simple e.g. or tutorial will be appreciated.i want to know what things is neeed
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
These days software publishers make it possible to move all the possible applications on smartphones, tablets, smartwatches, and more. Although behind every logic and decision is a gross doubt: how do they make it possible? In this blog post, we sha…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question