A
A
amf1k2014-10-22 16:21:35
Android
amf1k, 2014-10-22 16:21:35

How to log in to the site through android?

I want to download the page code in the Android application, the whole problem is that you must first go through authorization in order to get the desired page (quite banal?).
I want to understand how this all works. Should I use a separate stream or what? How to carry out authorization in general, I read a lot that some POST requests are used? How to sort it all out? Where to begin?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2014-10-22
@GavriKos

Start by looking for similar questions on the toaster. The topic has been brought up 100 times.
In short - put a sniffer on your computer, see what requests go to the site during authorization (get / post, parameters, etc.) and repeat these requests in your program.
About a separate thread - not at all in the topic of authorization, but yes, all asynchronous operations (and communication with the server is a vivid example of such an operation) must be done strictly in a separate thread.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question