Skip to content

Commit

Permalink
use https. log url in onPageFinished
Browse files Browse the repository at this point in the history
  • Loading branch information
herestomwiththeweather committed Apr 14, 2012
1 parent 7f30ccd commit eb524c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions res/values/arrays.xml
Expand Up @@ -6,8 +6,8 @@
<item>demo.opensourcecurrency.org</item>
</string-array>
<string-array name="provider_values">
<item>http://picomoney.com cc6f64d61ae2c903d1bb 77338e2faebdc5e4a55a94f76c01940ad26d4ecf http://picomoney.com</item>
<item>https://picomoney.com cc6f64d61ae2c903d1bb 77338e2faebdc5e4a55a94f76c01940ad26d4ecf https://picomoney.com</item>
<item>http://192.168.1.26:3000 XH/Jov43AaMoE08mUtRvoQ== eDlJLK/2v46jJfjqFEgsAA+bOBU3cAlUHWz7rN+Yc4VZWoMGI3eMjX26+O33JfFQCnN5MTLSTPw7jhvXzaHyJw== http://192.168.1.26:3000/assets</item>
<item>http://demo.opensourcecurrency.org xBoHeeNNFt3LQ7U1tvAb8BVKr32duE6rdWtpCSFD HraYcLT5F5nRll5KF5tw8umdER3EOrsFXIEro67T http://demo.opensourcecurrency.org</item>
<item>https://demo.opensourcecurrency.org xBoHeeNNFt3LQ7U1tvAb8BVKr32duE6rdWtpCSFD HraYcLT5F5nRll5KF5tw8umdER3EOrsFXIEro67T https://demo.opensourcecurrency.org</item>
</string-array>
</resources>
6 changes: 3 additions & 3 deletions src/org/opensourcecurrency/hack/WebViewActivity.java
Expand Up @@ -12,8 +12,6 @@
import android.util.Log;

public class WebViewActivity extends Activity {
private static final String TAG = "OpenTransact";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand All @@ -28,14 +26,16 @@ public void onProgressChanged(WebView view, int progress) {
}
});
webview.setWebViewClient(new WebViewClient() {
private static final String TAG = "OpenTransact";

@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
setTitle(url);
}

@Override
public void onPageFinished(WebView view, String url) {
Log.d(TAG,"onPageFinished");
Log.d(TAG,"onPageFinished: " + url);

Uri uri = Uri.parse(url);
String code = uri.getQueryParameter("code");
Expand Down

0 comments on commit eb524c6

Please sign in to comment.