Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
### 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: |
This file contains 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 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; |
This file contains 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 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; |
This file contains 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
{ | |
"Database": { | |
"Companies": [ | |
{ | |
"cmp_id": "1", | |
"cmp_name": "Albany-Corvallis ReUseIt", | |
"cmp_address1": "online-only", | |
"cmp_address2": "", | |
"cmp_city": "Albany-Corvallis", | |
"cmp_state": "OR", |
This file contains 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 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)); |
This file contains 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
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') | |
} |
This file contains 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
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') | |
} |
This file contains 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
<?php | |
# Exposes public API to retrieve select data from the Corvallis | |
# Recycles database. | |
# | |
# useage: HTTP GET call to <yoururl>?cmp=1&cat=1&itm=1 | |
# | |
# note 1: You can request only specific tables if you desire, | |
# simply set the table flag to 0 if not desired. | |
# |
NewerOlder