Homemade software update, download, install BYupdate

Homemade software update, download, install BYupdate

Hundred Encyclopedias 4 years ago (2015-06-22) Views: 4 Comments: 0

Class BYupdate Brief description: Implement software information display and software update function java.lang.Object cn.wangbaiyuan.tools.BYupdate Implement software information display and software update functions Author: Wang Baiyuan Field summary Fields  Qualifiers and types Fields and instructions Constructor Summary Constructor  Constructors and instructions Method summary All Methods Instance Methods Concrete Methods  Qualifiers and types Methods and instructions Check for updates Set the software update service address Methods inherited from class java.lang.Object Field details Download_listener Constructor details BYupdate parameter: Icontext - context is generally an activity that references this class Url - Software update service address Version - the current software version number Method details setDownload_url Set the software update service address parameter: Url - Checkupdate Check for updates Code:  

Self-made tool class BYhttpClient based on http post

Self-made tool class BYhttpClient based on http post

Hundred Encyclopedias 4 years ago (2015-06-10) Views: 4 Comments: 0

Class BYhttpClient Introduction java.lang.Object cn.wangbaiyuan.tools.BYhttpClient Constructor Summary Constructor Constructors and instructions Method summary All MethodsInstance MethodsConcrete Methods Qualifiers and types Methods and instructions Methods inherited from class java.lang.Object Constructor details BYhttpClient parameter: Iurl - root address, your server plus your project folder address Iencode - encoding format Method details sendHttpClientPOSTRequest parameter: Path - the URL to which you requested the URL relative to the file address of the root address Params - MAP format key-value pairs Returns: the string that completes the post request and gets the server's reply Throws: Class BYhttpClient code  

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW