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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:26:47+00:00 2026-06-14T23:26:47+00:00

Hi I am new in android development, my question is how to obtain data

  • 0

Hi I am new in android development, my question is how to obtain data from Mysql(questions) PHP(server) to the tablet, i know that with web service but how, and display automatic in the activity (texview) questions for example 5 questions for each screen and other 5 for the next screen automatically.

Any ideas, or helpful site, examples where i could find this information. sorry for my bad English, I hope you understand, and i am beginning in this development of apps. thank you for your answers.

  • 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-06-14T23:26:48+00:00Added an answer on June 14, 2026 at 11:26 pm

    You will need to make a HTTP request, refer to links below on how to do this.

    Make an HTTP request with android

    Send data from android to server via JSON

    On the php server side you will need to set it up to get the questions from the database and then using the information in the links above send it back to the tablet.

    Then you will need to take the data from the http request and update the textviews to the questions. you can do this with :

    String stg = yourHTTPData;
    TextView tv = (TextView) getViewById(R.id.tv);
    tv.setText(stg); 
    

    The textViews can be made in the java code or in an android XML file. I recommend using two different activities for the first and second screen.

    Here is a good youtube playlist that helped me start when learning, it is in english but you should pick up enough to learn how to do everything 🙂 https://www.youtube.com/course?list=ECB03EA9545DD188C3&feature=plcp

    Hope this helps a little. I have made somthing similar at home (I am away from home at the moment) so if you want more code snippets then ask and I will put them up tomorrow 🙂

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

Sidebar

Related Questions

I am new to android development, I apologize that similar questions has been asked
I am new in Android Development and I want to ask a question that
I'm new to android apps development and I have a basic sqlite question. What
I'm quite new to Android development. My understanding is that you can create several
I am new to android development and I have a question about the insert
I'm new in Android development and I have the next question/problem. I'm playing around
I'm new in Android development and I have the next question/problem. I'm playing around
I am new to Android development. Please excuse me If my question is very
I am fairly new to Android development - coming from a WPF background. I
I'm new to android development.Basically my question is how do I change the padding

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.