Everybody, go ahead, guys.
My little brother recently started practicing writing programs,
To do an Android program is to perform the existing Web service,
The Web service is probably a user account password, and can be entered into the list of the press, and print out a PDF or Excel.
If you were a former my life, how would you complete this program?
Grateful
Reply content:
Everybody, go ahead, guys.
My little brother recently started practicing writing programs,
To do an Android program is to perform the existing Web service,
The Web service is probably a user account password, and can be entered into the list of the press, and print out a PDF or Excel.
If you were a former my life, how would you complete this program?
Grateful
If the PHP service is a Web page and there are no special features, you can load the page directly WebView
.
Or just follow this step roughly:
Define the functionality and then determine the API that the server provides
Writing Android interface and business, network connection can use the framework such as Okhttp,retrofit,androidasynchttp.
Direct access to the source code with Jsoup parsing, if the Web page data is obtained with JS dynamic, the Catch JS call API line.
With WebView, you can embed a browser directly without the hassle.