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

  • Home
  • SEARCH
  • 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 5975571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:06:14+00:00 2026-05-22T21:06:14+00:00

So this is what I need to do before my traineeship ends. connect android

  • 0

So this is what I need to do before my traineeship ends.

  1. connect android app with the database from a website
  2. store some information into the database
  3. retrieve some information back from the database

I have already experience with the standard sqlite build in android apps.
The problem is, I need to let people get some information from the server so
they can share information with the others. I have 3 weeks left before I’m
done with my traineeship, so any help would be much appriciated.

  • 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-22T21:06:16+00:00Added an answer on May 22, 2026 at 9:06 pm

    1) Create an SQLite database (Windows GUI SQLite prog: http://sqliteadmin.orbmu2k.de/)

    2) Put it on a server

    3) make a php script that will update / read your database (on the server)

     <?php
    
    $row_id = $_GET['yourRowId'];
    $submitted_var = $_GET['yourUpdateVar'];
    
    if($database = new PDO("sqlite:your_sqlite_database.s3db")){
    
      //insert data into database
      $query = "UPDATE your_table SET some_field=$submitted_var WHERE _id=$row_id";
    
      $database->query($query);
    
      echo DONE;
     } else {
    die($err);
     }
    ?>
    

    4) Call this php script from your android app

     http://yourserver/yourfolder/yourscript?yourRowId=1&yourUpdateVar=3
     http://yourserver/yourfolder/yourReadScript (parse html response)
    

    Done

    That’s how I’d do it in 3 weeks 🙂

    OOI were’s ur traineeship @?

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

Sidebar

Related Questions

I'm trying to dig through some logs and need information before and after the
Unfortunately, I need to do this. I'm using ELMAH for my error log. Before
I need this for some animation effects and i remember there is a window
I need this for calling a C function from Java class (JNI) and I
So from this string: name[id] I need this: id I used str.split ('[]'), but
Someone must have written this before :-) I need a validation attribute for date
I need to write some business logic rigt before flush against all changed entities.
i need to add video streaming capabilities to drupal. I need this functions: Some
In my qt app I have this object, filled before setting up my QTreeWidget's
I need to output a cell to an excel file. Before this I need

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.