Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7576271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:52:49+00:00 2026-05-30T16:52:49+00:00

I’ve seen many tutorials referring to how to do this locally and the rest

  • 0

I’ve seen many tutorials referring to how to do this locally and the rest of the tutorials are so riddled with mistakes that I was unable to salvage them (none of them referred to doing this with Android).

I’ve seen tutorials for using local DBs with android (that looks pretty simple). I want to be able to read/write to a MySQL DB I have on a server from the app. Before anyone asks: the user will not be entering info in/have access to the data going to the server.

I’m also unsure of what Class.forName I’d be able to use; I know “com.mysql.jdbc.Driver” requires additional drivers (which seems like a bad choice considering I want to use this for android apps).

Any tutorials or advice that would help me accomplish this? Perhaps I’m simply failing to find good tutorials, but so far the tutorials have left me more confused than when I started.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:52:50+00:00Added an answer on May 30, 2026 at 4:52 pm

    You are failing to find good tutorials because with Android there are no native classes to interact with a MySQL Database (only SQLite). You need a RESTful service to serve up the data using JSON or XML. See this link for a good read on how you might go about doing this.

    I recently had a similar requirement except I had to interact with a SQL Server 2008 database. My very naive implementation used ASP.NET MVC to return the JSON. They have recently released a very nice Web API to do just that, without out all of the MVC. See this and this and browse around asp.net for some good information.

    Also more good links:

    Creating a RESTful API with php

    https://stackoverflow.com/questions/238125/best-framework-for-php-and-creation-of-restful-based-web-services

    Another PHP restful service example

    Whats that you ask? How do you now call these “RESTful” services from Android? Here is a great read.

    Also this answer utilizes some of the code from the previous link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.