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 7646549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:14:18+00:00 2026-05-31T10:14:18+00:00

First time working with android. I’m look for a way that an android app

  • 0

First time working with android. I’m look for a way that an android app can connect to a remote database. However, this is on a closed network with no internet connection. Just the phone and the server.

I wanted to know the best way to connect, if its through JDBC or if its possible through android’s SQLite class, or something else?

The phone is running android 2.1 and the database is a MySQL database.

Any guidance is much appreciated.

Thanks,

  • 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-31T10:14:19+00:00Added an answer on May 31, 2026 at 10:14 am

    As long as the device is connected to the network, which would have to be via wifi, you can access a MySQL database hosted somewhere on the network just like you normally would.

    My advice would be to set up a RESTful web service on the server which hosts the database. Your Android client application can communicate with this web service using HTTP requests and the web service can talk directly to the database. I’d say this is the most common approach for working with remote databases when it comes to Android.

    Android Client <==> RESTful Web Service <==> MySQL Database

    Android has a couple different ways to communicate with a web service: HttpClient and HttpUrlConnection. I think the latter is generally the most preferred way nowadays.

    As far as I know, JDBC is unsupported for Android, and the Android SQLite API is strictly for using an embedded SQLite database.

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

Sidebar

Related Questions

I'm working for the first time on Android. I'm making an app where, at
So here I have this first time app I'm working on. When I run
I'm working on my first android app and have an SQLite database set up
i am working with sqlite database in Android for first time. i have create
I'm working on connecting an android app in Java with google app engine. This
I am working on my first ever android app, and I'm creating basic exercise/calorie
I'm building my first android app - something that will display my tweets in
I am working first time in SugarCRM I have really no idea regarding this.
I am somewhat new to android development, this is my first time trying to
First time posting and first time working on Android, so go easy if I

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.