Skip to content

Instantly share code, notes, and snippets.

@tshirtman
Last active June 20, 2017 00:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tshirtman/1cf7d50a27a2861f61ebf1d8f6062963 to your computer and use it in GitHub Desktop.
Save tshirtman/1cf7d50a27a2861f61ebf1d8f6062963 to your computer and use it in GitHub Desktop.
from jnius import find_javaclass
froj jnius.reflect import get_signature
c = find_javaclass('android.bluetooth.BluetoothDevice')
for m in c.getMethods():
if m.getName() == 'connectGatt':
print([
get_signature(x)
for x in m.getParameterTypes()
])
@sylvie19791
Copy link

@ @

@sylvie19791
Copy link

@ @ # #

@tshirtman
Copy link
Author

tentative de communiquer? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment