Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for issue 52, HTTPS location fails to add #73

Merged
merged 1 commit into from

2 participants

@Daniel-Marynicz

This patch allow to open settings in Welcome Screen by menu key and allow change Option
Accept all SSL certificates.
This Fix issue #52

@Daniel-Marynicz Daniel-Marynicz Fix issue NewProggie#52
This patch allow to open settings in Welcome Screen by menu key and allow change Option
Accept all SSL certificates.
a55be38
@NewProggie NewProggie merged commit 624c630 into NewProggie:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2012
  1. @Daniel-Marynicz

    Fix issue NewProggie#52

    Daniel-Marynicz authored
    This patch allow to open settings in Welcome Screen by menu key and allow change Option
    Accept all SSL certificates.
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/org/sparkleshare/android/WelcomeActivity.java
View
13 src/org/sparkleshare/android/WelcomeActivity.java
@@ -8,6 +8,7 @@
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.Toast;
+import android.view.KeyEvent;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
@@ -70,4 +71,16 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) {
}
}
+ @Override
+ public boolean onKeyDown (int keyCode, KeyEvent event)
+ {
+ switch(keyCode)
+ {
+ case KeyEvent.KEYCODE_MENU:
+ Intent settings = new Intent(this, SettingsActivity.class);
+ startActivity(settings);
+ return true;
+ }
+ return false;
+ }
}
Something went wrong with that request. Please try again.