I deployed a smart contract into my private network using truffle framework. After deployed the contract I implemented a client interface using android from android I want to call the methods of deployed contract. is it possible to call the smart contract methods using truffle? or it is possible with web3j only? with web3j can I again deploy the smart contract with solc? anybody, please give me a clarity

1 Answer
1

Geth can be run both on Android as well as iOS. The nightly builds of the develop branch always include the Android .aar archives that you can link against an Android Studio project and the iOS framework that you can use in XCode.

Since Geth does not yet feature the light client functionality (that one actually needs Ethereum global P2P protocol updates), it's quite heavyweight, but it will be the official way to run mobile DApps, and AFAIK only Geth has even a remote concept about light client support.

Another response that I think directly answers your question found in that thread is:

You should look into web3j over at https://web3j.io/ They have a Java library that interacts with the Ethereum blockchain similar to the JavaScript web3.js library. It has an Android version as well as a vanilla Java version.