I hereby claim:
- I am vschmidt94 on github.
- I am cvschmidt (https://keybase.io/cvschmidt) on keybase.
- I have a public key ASCRhv3R0jGgCt2PeeWRcivGERmaIteaYy0idJdsfrukPwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am vschmidt94 on github. | |
| * I am vschmidt (https://keybase.io/vschmidt) on keybase. | |
| * I have a public key ASA_7cyG3Wlsn4a9jvBJcoHVX7qjVTQbAMhjsNM3seZV8wo | |
| To claim this, I am signing this object: |
| package org.corvallisrecycles.recycleapp; | |
| import android.app.ProgressDialog; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.net.ConnectivityManager; | |
| import android.net.NetworkInfo; | |
| import android.os.AsyncTask; | |
| import android.os.Bundle; |
| package org.corvallisrecycles.recycleapp; | |
| import android.app.ProgressDialog; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.net.ConnectivityManager; | |
| import android.net.NetworkInfo; | |
| import android.os.AsyncTask; | |
| import android.os.Bundle; |
| { | |
| "Database": { | |
| "Companies": [ | |
| { | |
| "cmp_id": "1", | |
| "cmp_name": "Albany-Corvallis ReUseIt", | |
| "cmp_address1": "online-only", | |
| "cmp_address2": "", | |
| "cmp_city": "Albany-Corvallis", | |
| "cmp_state": "OR", |
| public void goToRepublicRecyle(View view) { | |
| showPDF("https://docs.google.com/viewer?url=http://site.republicservices.com/site/corvallis-or/en/documents/corvallisrecycledepot.pdf"); | |
| } | |
| public void goToRepublicCurbside(View view) { | |
| showPDF("https://docs.google.com/viewer?url=http://site.republicservices.com/site/corvallis-or/en/documents/detailedrecyclingguide.pdf"); | |
| } | |
| private void showPDF(String url) { | |
| Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); |
| dependencies { | |
| compile fileTree(dir: 'libs', include: ['*.jar']) | |
| compile 'com.android.support:appcompat-v7:22.1.1' | |
| compile files('libs/android-async-http-1.4.7.jar') | |
| } |
| dependencies { | |
| compile fileTree(dir: 'libs', include: ['*.jar']) | |
| compile 'com.android.support:appcompat-v7:22.1.1' | |
| compile files('libs/android-async-http-1.4.7.jar') | |
| compile files('libs/gson-2.3.1.jar') | |
| } |