android - Login to website with no api exposed -


I'm trying to write my first app where I login to the website and set some preferences. My problem is that there are no APIs or documents on this website, how to do it. This is my first time doing any kind of web programming. Please forgive me if my questions are naïve.

While reading the Android documentation and searching through stack overflow, I understand that HTTPPOST is a better way to do this.

  1. If the website does not provide URIs and documents, how to remove these things? I tried to see the HTML source code I could figure out the entry form. I'm not sure that it always works.
  2. What encoding can be used when creating HTTPPOST requests?
  3. Is there any other way to achieve this?

    thanks

    I think you should parsize html Will happen. Try this MB See it helps

Comments