User log in design suggestions


Last Updated:

  1. kalasp

    kalasp New Member This Topic's Starter

    Joined:
    Aug 22, 2010
    Messages:
    2
    Likes Received:
    0
    Hi!

    Im developing a google maps app, which gets coordinates from a MySQL database. The application should require a user to login to get its coordinates. It would be preferable if the user could use the login on for example a regular web page.
    I really have no idea how to do this, suggestions?

    Suggestion on user login solutions?
    Suggestion on best way to get info from MySQL database?

    Thank you!
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    For this, you will need access to a web server. You need to create a PHP script file that will be hosted on the web server and will receive the requested login info (i.e. username and password) and compare it to an online database), It should then return a response to calling app or webpage. In your app, you will use HttpPost and HttpResponse to "talk" to the PHP script file. You do the same thing with a web page (likely using javascript).

    For information on PHP and javascript, check out w3schools.com. Also, phpfreaks.com is a nice forum for help with PHP.

    If you have any specific questions, I could also help you as I have done something similar to this in the past (although not a login, but it is the same concept).
     
  3. kalasp

    kalasp New Member This Topic's Starter

    Joined:
    Aug 22, 2010
    Messages:
    2
    Likes Received:
    0
    Thanks for your answer, do you know any guides or walkthroughs for exactly this for Android?

    Thanks
     
  4. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458

Share This Page

Loading...