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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:37:32+00:00 2026-06-13T16:37:32+00:00

So i’m a web developer by trade but am making an app at the

  • 0

So i’m a web developer by trade but am making an app at the moment.

I’ve got a program on my PC which sends data from my PC to a database on my webhost.

What I’m after now, is to create an app that is able to download that data with a series of queries.

Are there any good resources around that would help me to develop some Java code, to connect to a server through my tablet when I’m out and about and download the information from my webhost when on a different wifi network?

Thanks chaps, any help is appreciated.

  • 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-13T16:37:34+00:00Added an answer on June 13, 2026 at 4:37 pm

    The way I handle it is that I just create a web page based on what I want to do. For example if I want to verify a login on an app I create a page that takes in a username and password.
    On the device I just post the username and password values by using a HTTP post transaction.

    Example:

    public boolean LoginUser()
    {
        HttpClient httpclient = new DefaultHttpClient();
        HttpPost httppost = new HttpPost("your URL comes here...");
    
        try
        {
            List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
            DataCrypt crypt = new DataCrypt();
    
            try
            {
                this.Cryptemail = crypt.bytesToHex(crypt.encrypt(this.Email));;
                this.Cryptpass = crypt.bytesToHex(crypt.encrypt(this.Password));
            }
            catch (Exception e)
            {
                DebugLog.log(e.getMessage());
            }
    
            nameValuePairs.add(new BasicNameValuePair("Password", this.Cryptpass));
            nameValuePairs.add(new BasicNameValuePair("Mail", this.Cryptemail));
    
            httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
    
            // Execute HTTP Post Request
            BasicHttpResponse response = (BasicHttpResponse) httpclient.execute(httppost);
            HttpEntity entity = response.getEntity();
            String response = EntityUtils.toString(entity);
    
    
          return true;
        }
        catch (Exception e)
        {
            DebugLog.log(e.getMessage());
            return false;
        }
    
        return false;
    }
    

    EDIT: So you can just make a page that takes in some parameters that you want to base your query on and return the result in some way (for example by XML).

    Hope this helps you out! 🙂

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

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
Seemingly simple, but I cannot find anything relevant on the web. What is the
I want to construct a data frame in an Rcpp function, but when I
I have a view passing on information from a database: def serve_article(request, id): served_article
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but

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.