4

Has anyone tried implementing a wrapper between a wallet generator written in C/C++, like wallet2.cpp, using NDK (android native development kit) to communicate back to an android app?

Does anyone have a better idea to generate a new wallet from an android phone (locally)?

1 Answers1

3

monero-wallet-gui can be seen as a "wrapper" for wallet2.cpp, and it can be built for android with NDK.

Alternatively, monero-wallet-cli can also be built with android NDK, but you would need a terminal emulator to run it (except if you use adb ), so better to just use the provided arm binaries.

Finally, if it's only about generating keys, you can use a web page, like moneromooo's wallet generator but stored locally.

Edit: i may have misread the question

Android java apps can use JNI to have an instance of WalletManager and call WalletManager::createWallet.

Moroccan Engineer
  • 2,968
  • 2
  • 12
  • 34