Skip to content

Instantly share code, notes, and snippets.

View sylvie19791's full-sized avatar

Sylvie BERTRAND sylvie19791

  • rénovation SYLVAIN LATREILLE
  • Longueuil
View GitHub Profile
from jnius import find_javaclass
froj jnius.reflect import get_signature
c = find_javaclass('android.bluetooth.BluetoothDevice')
methods = c.getMethods()
for m in methods:
if m.getName == 'connectGatt':
print(get_signature(m))
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)