Sometimes we have do some process in server side web page via the browser in Mobile App.
But, how do we handle the callback when we finish the process in server side?
•How to retrieve the data which user finish the process in Server Page by using WebView in Android App?
–Extracting HTML from a WebView
–Security issue in data transfer.
–App stored the encrypted Token(including identity info)
•Encrypted Data Directly
–Encrypt callback data(confidential data) by AES.
•Step 1. Create an Account Handler
•Step 3. Invoke Handler
Server Page (asp.net)
1. Extract HTML DOM
–Server Page response the data with specific tag
–We can define a specific URI schema, such as “testcallback” and listen in shouldStartLoadWithRequest event.
–And define the Host name or Parameters of URI to assign different functions.