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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:38:37+00:00 2026-05-18T00:38:37+00:00

Hi im new to both android and java i have php page in my

  • 0

Hi im new to both android and java

i have php page in my webserver, i want to get this page result in android. I have search a lot for mysql android connection someone says that it is possible through “new URL” in java. But i cannot catch this method. Actually i want to implement a login page for android. I have already created a login page in php. Now i want to just post username and password value to php page the php page will check the data with database and if user is a valid user i need to redirect otherwise i will show an error message.

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-18T00:38:38+00:00Added an answer on May 18, 2026 at 12:38 am

    You should consider writing an API on your webserver that returns JSON data to your client.

    Then for example you would call the php page http://yourwebsite.com/api.php?method=login&username=user&password=md5password

    The webpage would then return a JSON data result that your Android app can parse for a result (200 success, 403 access forbidden if they entered a wrong username or password, etc. etc.).

    An example. And here is another.

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

Sidebar

Related Questions

At a new job I started, we have both a Java application that handles
We have a large enterprise consisting of many apps both old and new backed
I have an Android application (java) that was working fine when compiled with the
I have been slowing learning and building my first android app. I'm VERY new
I am new to java, eclipse, and android development, so I may be missing
This is for an Android application but I'm broadening the question to Java as
I have developed some reusable android component which is basically a class . This
I'm new at java and OpenGL. I'm trying to get a camera preview screen
I am new to both openGL and android development so please forgive me if
New to both Ruby and Rails but I'm book educated by now (which apparently

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.