Created
September 19, 2016 16:49
-
-
Save jp-bennett/0fb449a865eade3f3b9425701c343871 to your computer and use it in GitHub Desktop.
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
OpenPgpServiceConnection mServiceConnection; | |
mServiceConnection = new OpenPgpServiceConnection(this, "org.sufficientlysecure.keychain"); | |
mServiceConnection.bindToService(); | |
Intent data = new Intent(); | |
data.setAction(OpenPgpApi.ACTION_CHECK_PERMISSION); | |
OpenPgpApi api = new OpenPgpApi(getActivity(), myServiceConnection.getService()); | |
Intent result = api.executeApi(data, (InputStream) null, null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment