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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:44:21+00:00 2026-05-25T00:44:21+00:00

I am new to android networking and would like to find the best solution/source

  • 0

I am new to android networking and would like to find the best solution/source that would help me learn the same. I have a working android application but i want to include network services that can get and send data to the webserver. While i was searching for the same i found link ( http://www.helloandroid.com/tutorials/connecting-mysql-database ) which dont produce any results. I also found that SOAP or REST (with android) are probably recommended methods, if so please give complete tutorials to learn the same ( i have no prior knowledge on webservices). In my application I would be required to send data to the server and receive data from the servers sql

Thank you

  • 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-25T00:44:21+00:00Added an answer on May 25, 2026 at 12:44 am

    This is for post data on server,

      HttpClient httpclient = new DefaultHttpClient();
      HttpPost httppost = new HttpPost(url);  
      httppost.addHeader("Content-Type", "application/x-www-form-urlencoded");
      httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs,HTTP.UTF_8));
         // Execute HTTP Post Request 
      HttpResponse response = httpclient.execute(httppost);         
         // get response entity 
      HttpEntity entity = response.getEntity();          
         // convert entity response to string  
      if (entity != null) 
         {      
          InputStream is = entity.getContent();     
           // convert stream to string    
           result = convertStreamToString(is);      
           result = result.replace("\n", "");     
    

    }

    or see how to post data to remote server in android app [closed], Post the data to Server

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

Sidebar

Related Questions

I am new android and I would appreciate some help. I have this code:
Hi i'm new android. i'm working through the samples and have an error when
i am creating a new android application.i am using the table layout. I have
I am wondering as a new Android developer (10+ years C# OOP) which would
I would know if there is the possibility to create a new Android Activity
the new android market does introduce a tab like control, as seen in these
When creating a new Android application, Eclipse complains Package name must have at least
i'm a new android developer. I have an application installed in phone. This application
Recently I bought a new android tablet (a no-name Chinese tablet), and I'd like
Good Evening, I have been trying to implement a simple Android(tm) application that utilizes

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.