Created
March 25, 2017 11:40
-
-
Save xxhdpi/59725bc743af521d5b0ccc9bc1063b8a to your computer and use it in GitHub Desktop.
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
| public class MainActivity extends AppCompatActivity implements AmbilDataTask.Callback { | |
| private static final String TAG = "main"; | |
| @Override protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_main); | |
| new AmbilDataTask(this).execute("https://httpbin.org/get"); | |
| } | |
| @Override public void sendResult(String result) { | |
| Log.d(TAG, "sendResult: " + result); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment