how i can connect android studio application with Ganache? i'm trying to build an application on android (that is my Front end) with a Smart contract (Back end) on my private Blockchain (Ganache). it's possible to do it? there are any other methods to do this?

  • Ganache server is like any other HTTP server, so as long as your Android emulator can connect to your localhost, it should be fine. – Mikko Ohtamaa Aug 2 '19 at 10:40
  • So i just need to take my Android Emulator connect it with my local server (ganache) and interact with it with my front end? – Riccardo Perelli Aug 2 '19 at 12:44
  • 1
    Yes. You most likely want to use web3j or other Java library. Under the hood, the communication with Ganache or any Ethereum server is just a HTTP connection. – Mikko Ohtamaa Aug 6 '19 at 11:55
  • Thanks you so much – Riccardo Perelli Aug 6 '19 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.