Last active
August 19, 2016 18:21
-
-
Save mplacona/396bfbec1c4fc3b4d1ea92cde91b1d9b 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
| package uk.co.placona.twiliosms; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.EditText; | |
| import android.widget.Toast; | |
| import java.io.IOException; | |
| import okhttp3.Call; | |
| import okhttp3.Callback; | |
| import okhttp3.FormBody; | |
| import okhttp3.OkHttpClient; | |
| import okhttp3.Request; | |
| import okhttp3.RequestBody; | |
| import okhttp3.Response; | |
| public class MainActivity extends AppCompatActivity { | |
| private EditText mTo; | |
| private EditText mBody; | |
| private Button mSend; | |
| private OkHttpClient mClient = new OkHttpClient(); | |
| private Context mContext; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment