Browse Source

rm unneeded files

283
ThomasV 9 years ago
parent
commit
6ccb1dd207
  1. 17
      gui/kivy/uix/screens.py
  2. BIN
      lib/android/libiconv.so
  3. BIN
      lib/android/libzbarjni.so
  4. BIN
      lib/android/zbar.jar

17
gui/kivy/uix/screens.py

@ -294,7 +294,24 @@ class ReceiveScreen(CScreen):
qr.set_data(uri)
def do_copy(self):
from kivy.utils import platform
uri = self.get_URI()
if platform == 'android':
from jnius import autoclass, cast
JS = autoclass('java.lang.String')
Intent = autoclass('android.content.Intent')
sendIntent = Intent()
sendIntent.setAction(Intent.ACTION_SEND)
sendIntent.setType("text/plain")
sendIntent.putExtra(Intent.EXTRA_TEXT, JS(uri))
PythonActivity = autoclass('org.renpy.android.PythonActivity')
currentActivity = cast('android.app.Activity', PythonActivity.mActivity)
it = Intent.createChooser(sendIntent, cast('java.lang.CharSequence', JS("Share Bitcoin Request")))
currentActivity.startActivity(it)
return
self.app._clipboard.copy(uri)
self.app.show_info(_('Request copied to clipboard'))

BIN
lib/android/libiconv.so

Binary file not shown.

BIN
lib/android/libzbarjni.so

Binary file not shown.

BIN
lib/android/zbar.jar

Binary file not shown.
Loading…
Cancel
Save