Solved

Connect Android app to DB

Posted on 2012-03-18
6
459 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
6 Comments
 
LVL 14

Expert Comment

by:John-Charles-Herzberg
ID: 37734556
0
 

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 500 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now