Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically get all accounts in android phone with delphi

How can I get all accounts in android phone with Embarcadero Delphi? I know that we use AccountManager to get accounts in Java. But how is it in Delphi? Can anyone help me?

like image 654
Rena Avatar asked Jan 29 '26 01:01

Rena


1 Answers

You can access any Java classes via the JNI bridge. There is a utility to build wrappers, or you can use a pre-generate one. Here is one for API level 21 or you can browse more here. You can also generate your own with Java2OP.

like image 54
Jim McKeeth Avatar answered Jan 30 '26 16:01

Jim McKeeth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!