Binding a web page's element to an Android App

There is a website which has a login screen, and when the submit is hit, it goes to a new page and logs in the user.

Here's a screenshot :Airtel

Now, Suppose I have a similar login screen in my android app, like this :

Login UI

Now, Is there a way to link both of them, so that, when I hit login in the android app, it actually registers a submit at that website and logs in the user, and obviously, then again, binding the next webpage that shows up after logging in. How dlink the urlfrom the webpage to the js and elements in an android app?

I know there has to be javascript, but how?

While login we sends the form data from Android application to the Server-side page (JSP, Servlet,ASP or PHP), then those page will compile the required operation for login validation using any database , then it returns “1” if the login is valid else return “0”.

Hence you have to find out all the parameters that are working around once you click the login or register in that website.Also login page may contain cookies and other temp storage that will be required at each login.Also you need to find the methods used.

So understanding the webpage configurations ,parameters and functionality will help you achieve using android tools like webview(just a tool,not logic).

First make a detailed study on all the required parameters and functionality of the webpage then get started with the app.

Below is a list of reference links that may help you to tackle the issue :

Refer 1, Refer 2, Refer 3, Refer 4, Refer 5

You can also see this site to solve ur probelm ... enter image description here