File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
exemple/src/main/java/com/tamic/excemple Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,9 @@ protected void onCreate(Bundle savedInstanceState) {
8686
8787 novate = new Novate .Builder (this )
8888 //.addParameters(parameters)
89- .connectTimeout (20 )
89+ .connectTimeout (30 )
9090 .writeTimeout (15 )
91+ .readTimeout (30 )
9192 .baseUrl (baseUrl )
9293 .addHeader (headers )
9394 .addCache (true )
@@ -678,12 +679,11 @@ public void onCompleted(Object tag) {
678679 */
679680 private void performDown () {
680681
681- String downUrl = "https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/bd_logo1_31bdc765.png" ;
682- // String downUrl = "http://wap.dl.pinyin.sogou.com/wapdl/hole/201512/03/SogouInput_android_v7.11_sweb.apk";
682+ // String downUrl = "https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/bd_logo1_31bdc765.png";
683+ String downUrl = "http://wap.dl.pinyin.sogou.com/wapdl/hole/201512/03/SogouInput_android_v7.11_sweb.apk" ;
683684 new Novate .Builder (this )
684685 .connectTimeout (20 )
685686 .writeTimeout (15 )
686- .tag ("sdsdsd" )
687687 .baseUrl (baseUrl )
688688 .build ()
689689 .rxDownload (downUrl , new RxFileCallBack (FileUtil .getBasePath (this ), "test.apk" ) {
You can’t perform that action at this time.
0 commit comments