wood burning stoves 2.0*
The moose likes Android and the fly likes Connecting to Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Connecting to Database" Watch "Connecting to Database" New topic

Connecting to Database

John Chambers

Joined: Jan 07, 2012
Posts: 5
Hi , i need to develop an android application that can do verify userlogin and display a small message if login is successful. When user enters his login details in the app, these login details need to be verified against a sql server DB , and then if the login is successful , i need to display a small message in the app. Can anybody advice on how to achieve this functionality?
Tim Moores

Joined: Sep 21, 2011
Posts: 2408
What part are you struggling with? The basics of using DBs are mentioned at http://developer.android.com/guide/topics/data/data-storage.html#db, which also links to a couple of example apps.
John Chambers

Joined: Jan 07, 2012
Posts: 5
I have created a view for login and password. I have a Sql Server on my local machine . In these app , i need the following functionality- Whenever user enters login and password, the Credentials should be verified against existing SqlServer login table , and if login is successful , it should pull out the first name and last name fields for that login record from the table and display it for the user.

John Chambers

Joined: Jan 07, 2012
Posts: 5
Any ideas from anybody [moderators] on how to implement the functionality in android?
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3476

Again, what part are you struggling with?
I agree. Here's the link: http://aspose.com/file-tools
subject: Connecting to Database
Similar Threads
Spring and hibernate
A survived Ajax data
Logging issues in web services
program flow problem
HttpSession sharing between browser instances on same machine!