I have a small project with one bureaucratic organisation where I need to create a mobile app based on data from their web-site. The site isn’t optimized for mobiles and it’s extremely difficult for users to use the site from their gadgets. The aim of the project is to provide information in convenient view and simplify the working processes of users (actually, I need to create 3 buttons/links and when a user press a button he/she can see some information).
The first button is easy to develop because it should only show news of the company which is shared for everyone. There are many opportunities to get this data and one of them is to get the source of the page and parse tags.
But, two other buttons is a pretty tough task, because to get the data for them a user should be logged on… Despite the company is very bureaucratic, the site was made by some outsource organisation, so neither they nor I have access to database and the site sources.
I tried to find out the type of POST request (recording tcp-dump), but, of course it’s encoded. I believe there’s a simpler solution, but I can’t find it, and need your help. Unfortunately, I’m not a web-developer and don’t know resources of web technology…
Could you kindly advise me please, whether it’s possible to make some kind of a wrapper which would make dynamic design of web-page according to the browser? For instance, when a user presses one of these two buttons I show custom login screen (customized login screen of the company’s website, I virtually remove all design and make input fields and button bigger), the user provides details, press login button and I show customized view of a report (removing all needless stuff, etc.)
In other words, just imagine, you're login to you gmail account which design of login page is customized
After some manipulations with Chrome's element inspector you can get something like this
Although the web page was modified, if I press "Sign in" button I still can login to my account. How can I get/develop similar tool for my android app?
Perhaps you have a better solution, please don’t hesitate to propose :) If my explanation of the problem isn’t clear just let me know please and I'll add some more information.
Thank you!