This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tikitoo.android.http.activity; | |
| // ... import | |
| import java.io.*; | |
| public class MyActivity extends Activity { | |
| private Button httpBtn; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "status":"OK", | |
| "reason":"some reason", | |
| "content" : | |
| { | |
| "foo": 123, | |
| "bar": "some value" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.android.volley.toolbox.HurlStack; | |
| import com.squareup.okhttp.OkHttpClient; | |
| import java.io.IOException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| /** | |
| * An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
| * uses OkHttp as its transport. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.tikitoo.android.androiddemo; | |
| import android.content.Context; | |
| import android.os.CountDownTimer; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| /** | |
| * Created by Tikitoo on 2016/4/3. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "items": [ | |
| { | |
| "deploy_time": "Sun, 09 Oct 2016 05:54:22 GMT", | |
| "remote_file": "https://raw.githubusercontent.com/douban/rexxar-web/master/example/dist/rexxar/demo-252452ae58.html", | |
| "uri": "douban://douban.com/rexxar_demo[/]?.*" | |
| }, | |
| { | |
| "deploy_time": "Sun, 09 Oct 2016 05:54:22 GMT", | |
| "remote_file": "https://you.163.com/act/pub/D8Pb2YSKO0.html", |
OlderNewer