1. Download our Official Android App: Forums for Android!

Apps Android app to login to a website and start and stop the action

Discussion in 'Android Development' started by Py Guy, Feb 7, 2014.

  1. Py Guy

    Py Guy Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Feb 7, 2014

    Feb 7, 2014
    3
    0
    5
    Hello!

    I am absolutely new to android and web development. I would like to make an app which I can use to login to my account on a website (https://mijn.park-line.nl/bzp/DenHaag.asp) and to be able to start and stop the parking time. It should also show the time passed and notify every 30 minutes about it.

    I am not looking for code (but of course, it would be nice to have some examples) at this moment but for some tutorial or a list of functions which I need to program to make such an app. If there is an existing application which I can modify for my needs, I can also try it.

    I tried to search but the most of the content assumed for people with some knowledge of http post (I even do not know what it is) and others.

    Please give me some hints or links where I can find such information.

    Thank you.
     

    Advertisement

  2. cgcarter1

    cgcarter1 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 11, 2014

    Feb 11, 2014
    2
    0
    5
    This would be extremely easy to accomplish using web services. Web services are particular to the web server though on the server end. Client side is just a bunch of posts and gets
     
  3. Py Guy

    Py Guy Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Feb 7, 2014

    Feb 7, 2014
    3
    0
    5
    Thank you for answering. Could you please give me some information on where I need to start from.
     
  4. cgcarter1

    cgcarter1 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 11, 2014

    Feb 11, 2014
    2
    0
    5
    As far as web services on your server... That would depend on what web server you are running. For the client (android) you can use the JSON library or JSOUP. Jsoup is really good at parsing xml.
    To go into detail, I would use a key pair, for instance name and unique key for authentication simply because android is so insecure (I assume you are wanting to have access over 4g and such).
    In android, and using jsoup, there is no state so you have to authenticate with each request.
    The other way you can do it is to simply create an application with a webview. It just basically would turn your app into a web browser but you retain a little more control over it.
    The best way for you to get a grasp is handy dandy Google. Search it by starting the search with android (keyword) example...
    For instance: android jsoup example
     
  5. Py Guy

    Py Guy Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Feb 7, 2014

    Feb 7, 2014
    3
    0
    5
    Thank you. I will try it.
     

Share This Page

Loading...