Questions tagged [android]

For questions regarding installation, configuration, running and debugging Ethereum software specifically on the Android operating system.

Filter by
Sorted by
Tagged with
1 vote
0 answers
6 views

How to call my smart contract with geth mobile API?

I want to create a static library using cgo and geth mobile API and consume it from iOS and Android native code. I used the abigen command to generate Go source code for Go Contract Bindings. However, ...
user avatar
0 votes
0 answers
172 views

Redirect back to app from Metamask Mobile app

I want my android app to get the users eth address from the Metamask mobile (MMM) app. AKAIK it is the only way to get it. I have a simple 1 page dapp on my web site that makes sure the user is ...
user avatar
0 votes
1 answer
35 views

Cannot resolve symbol "ipfs' android

Hello i am trying to send some files from android to IPFS.I am following this article on medium but can't import packages that are required ` import io.ipfs.api.IPFS; import io.ipfs.api.MerkleNode; ...
user avatar
0 votes
1 answer
735 views

Possible to connect to Wallet from android (java/kotlin)?

I would like to program a mobile DApp which connects to a wallet, like a webapp. I thought it may be possible with WalletConnect. Has anyone ever done this? Thanks!
user avatar
1 vote
1 answer
58 views

Should same contract address be same for multiply users?

OK i know that this is silly question but cant wrap my head around smart contracts .I am using web3j to make a simple android dapp. It should have add deposit, withdraw deposit and get current amount ...
user avatar
0 votes
0 answers
29 views

Start mobile wallet application from mobile web browser

I have a dapp that displays warning when you navigate with mobile browser (ex. Mobile chrome) that you have to open your wallet dapp browser and navigate to my site, since I know you can open ...
user avatar
  • 101
0 votes
1 answer
56 views

Start and HTTP JSON-RPC geth on android?

Is it possible to change the code in /mobile to allow for a json-rpc api to be spawned on an android? Or is there something I need to do in Java with the NodeConfig? I already managed to run a light-...
user avatar
0 votes
0 answers
86 views

How do I start a light Ethereum Node on Android?

I would like to program an android app which has a built in light-node with its own JSON-RPC API and connected to mainnet. Does anyone know if this is possible?
user avatar
1 vote
0 answers
42 views

Trouble implementing ERC20 payment service in android application

I have been following this tutorial (https://medium.datadriveninvestor.com/a-primer-to-ethereum-token-development-using-java-and-web3j-52b24cc6c403) but seem to keep running into errors when it comes ...
user avatar
0 votes
0 answers
72 views

get transaction hash

I want to know the transaction hash that already done. The transaction is called tr in my code. Credentials credentials=Credentials.create("account address") ; web3= ...
user avatar
1 vote
0 answers
20 views

How can I add an option to pay with cryptocurrency in an android app using Java? [duplicate]

For my college assignment I have been tasked with creating an app that among other things allows a user to pay for services using an ICO Token (ERC20 contract), How do I go about doing this? The ...
user avatar
2 votes
0 answers
136 views

Ways to use/integrate an Ethereum - Polygon wallet in an Android app

Where I work, we have an ERC-20 token, running on Polygon Testnet at the moment, and the plan is to to run on the Polygon chain on the future. We have an Android app, where we want to explore ways on ...
user avatar
  • 121
0 votes
0 answers
157 views

How to confirm ethereum smart contract using Meta mask App from a transaction generated from browser in Android mobile phone

I have tried to let Metamask wallet app on my mobile phone(android) to confirm smart contract transection in the same way that I could do on my PC. However, it seems like the mobile browser does not ...
user avatar
  • 1
1 vote
3 answers
523 views

Is there any solidity ide and compiler app for android or other mobie OS?

Please, I am teaching some secondary school pupils solidity and they wish to know if there are any IDEs and compiler apps for android devices. They are young and most of them do not have PCs to ...
user avatar
  • 11
0 votes
1 answer
662 views

How do i import my ethereum wallet just using private key?

Help me out how do i resolve the issue of ethereum smartcontract for getting my wallet when i enter my private key in the text area Use WalletUtils functionality The WalletUtils class can be used to ...
user avatar
0 votes
0 answers
346 views

org.web3j.protocol.exceptions.ClientConnectionException: Invalid response received: okhttp3.internal.http.RealResponseBody

Environment Android Studio Infura – Rinkeby test network Web3J Metamask Rinkeby.etherscan.io I am trying to build an Android app to read and write smart contract by following the medium article: ...
user avatar
2 votes
0 answers
459 views

org.web3j.protocol.exceptions.ClientConnectionException: Invalid response received on web3j on Android

I am trying to execute transactions by calling my RegisterNewUser function in the deployed smart contract through Android and I am using Infura. However, when I run, there is an error as seen below : ...
user avatar
  • 21
1 vote
1 answer
374 views

How to catch a solidity event from Java

I am trying to make a decentralized android application. It is an online two player Tic-Tac-Toe game. I have implemented the back-end with solidity and a part of the front-end in android studio. ...
user avatar
0 votes
1 answer
61 views

What are the required platform to make mobile app that has dapp features?

I recently went over dapp with ethereum block chain but most of the coureses and documentation follows example in webApps. I want to know what are the possible frameworks/library, technology/ ...
user avatar
0 votes
1 answer
143 views

How to reliably send transaction via web3j while connection is poor?

I use Transfer.sendFunds(Web3j, Credentials, BigDecimal, Convert.Unit) to transfer money. Usually I convert it to flowable. Flowable/RemoteCall completes when transaction is included in block (...
user avatar
0 votes
1 answer
933 views

How to import an account in Metamask browser on Android? [closed]

Questions. How to import an account in Metamask browser on Android? or How to use Metamask in Android? Description: I followed the link metamask.io I clicked Get Chrome Extension. The site ...
user avatar
1 vote
3 answers
38k views

How to install Metamask on Chrome in Android?

Questions. How to install Metamask on Chrome in Android? or How to use Metamask in Android? Description: I followed the link metamask.io I tried Get Chrome Extension. The site redirected me ...
user avatar
0 votes
1 answer
44 views

Any email signIn based blockchain wallet APIs for integrating into web dapps & native dapps (Android, iOS)?

I'm looking for an email SignUp / SignIn based blockchain wallet which provides API for integration into web dapps and native mobile dapps (Android & iOS). During payment routine in dapps, this ...
user avatar
  • 311
1 vote
1 answer
38 views

Which is the best mobile platform to develop a blockchain based mobile application

I am new to the blockchain technology. For my semester porject i have to debelop a blockchain based healthdata management system. That includes a blockchain developed using ethereum to store the data ...
user avatar
1 vote
0 answers
136 views

Are there any web3 libraries for react-native or for android light-client?

I want to create a chat application using the whisper protocol for android platform , But I'm trying to use the current web3 package with react-native but I'm unable to use it as web3 package has ...
user avatar
1 vote
2 answers
1k views

Unable to invoke smart contract function from Web3j contract wrapper

I've been learning about interacting with smart contracts through Android and the Web3j framework but have run into an issue. I'm trying to mint an ERC721 token and send it to an address but it doesn'...
user avatar
  • 11
2 votes
1 answer
234 views

Unable to load smart contract using web3j on android

What I'my trying to do is to load already deployed smart contract and interact with it. The problem is that after my credentials are being created properly, the error is being catched but the message ...
user avatar
1 vote
1 answer
149 views

How to get events on android with infura?

I am developing an app on Android, but Web3j does not support events on infura ( Should I use Infura with Web3j for Event filter? ) . What are the options, I did not find any alternative library?
user avatar
  • 168
2 votes
0 answers
259 views

Android Studio And Ethereum?

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'...
user avatar
1 vote
1 answer
108 views

getWeb3ClientVersion() returns null

I'm trying to create an android Dapp by using the web3j library. I'm using connection to a local private Ethereum blockchain. When I'm trying to display the Client version it returns null. This is the ...
user avatar
5 votes
2 answers
177 views

Is there an ethereum android wallet where I don't have to manually add in tokens I have and just auto detects it?

Using coinomi or even metamask on chrome is quite annoying as I need to manually add in tokens I have in my account and it doesn't auto show up. Is there an android or desktop ethereum wallet that ...
user avatar
1 vote
0 answers
220 views

Using web3j with infura returns null

I've used web3.js to handle my contracts, and it worked very well. But web3j is pretty hard for me since the beginning. I'm using android studio, infura, web3j. Since I don't know very much about ...
user avatar
  • 121
1 vote
0 answers
62 views

Trouble with personalUnlockAccount,web3j

I am creating android dapp for votings I am trying to check if user's credentials are right,so i use object of PersonalUnlockAccount class and function accountUnlocked().So the problem is that when i ...
user avatar
2 votes
1 answer
3k views

Can the Android Metamask Extension be used with DApps?

I've successfully downloaded the Metamask Firefox Add-on, and imported my wallet into it. However I'm failing to see how I can use this add-on from within my DApp like I do on Chrome, using the ...
user avatar
0 votes
1 answer
556 views

Can't connect Android app to Ganache using retrofit

I'm have deployed contracts on ethereum blockchain. I have ganache running on server I'm tring to connect to it from android with this code: private BlockChainService() { Retrofit retrofit =...
user avatar
1 vote
1 answer
54 views

Is it worthwhile to store my supply chain product data on the blockchain using a smart contract? [closed]

I'm currently developing an android app that uses the Web3j framework (Java) to interact with my private Ethereum blockchain (running on Ganache). The app is a supply chain tool that will let users ...
user avatar
0 votes
1 answer
820 views

Mobile android app that can import a Metamask private key?

I'm having some issues sending out from metamask and getting failed transactions. I think maybe I should use another app on android if possible. What android wallet apps can import a Metamask private ...
user avatar
0 votes
0 answers
119 views

Build web3j to connect to blockchain [duplicate]

Can't connect to the Ethereum blockchain with web3j 4 for Android Kotlin. Worked in the previous version of web3j. fun web3(): Web3j = Web3jFactory.build(HttpService("http://192.168.38.148:7545")) ...
user avatar
1 vote
0 answers
99 views

How can I make an offline transaction and send it to Ethereum client network in java?

private class Myclass extends AsyncTask<Void, Void, Void> { protected Void doInBackground(Void... params) { //sldknfbhvsjhxcnzmcxcmj Web3j web3 = Web3jFactory....
user avatar
  • 111
2 votes
1 answer
403 views

Is there an Ethereum Testnet Android Wallet?

I am looking for a testnet-specific Android wallet app to load with a few Ropsten test Ether, for a web app I'm building. But for the life of me, I cannot find such an app for Ethereum. For Bitcoin I'...
user avatar
  • 123
1 vote
1 answer
270 views

web3j event listening on android project

I trying to listen events from smart contract but my code isn't working. what's the problem? Event event = droneChain.UPDATEMISSIONSTATE_EVENT; String encodedEventSignature = EventEncoder.encode(...
user avatar
  • 11
0 votes
1 answer
372 views

How to recover an address from the signed message?

I use Trust SDK for signing messages and transactions. I recover a transaction (Trust.signTransaction()) like this: val tx = Geth.newTransactionFromRLP(Numeric.hexStringToByteArray(response.result)) ...
user avatar
2 votes
0 answers
130 views

Tutorials for creating ethereum wallet in android?

I saw a similarly named question over here but I sort of felt like it was closed by linking an irrelevant question which just lists existing ethereum wallets. As I understand, I should have the ...
user avatar
  • 41
1 vote
0 answers
50 views

Generate same address

I used Geth.aar library for ethereum and it's running completely on same device. But when I changed device and restore wallet from seed at that time new address is generated instead of previous ...
user avatar
  • 53
1 vote
1 answer
152 views

Serialization in Geth Android

KeyStore keyStore = new KeyStore(seedFile.toString(), Geth.LightScryptN, Geth.LightScryptP); byte[] jsonAccount = keyStore.exportKey(keyStore.getAccounts().get(0), seed, seed); Account importAccount = ...
user avatar
  • 53
1 vote
1 answer
239 views

How to sign the transaction using Geth in android

I'm using Geth.aar library for handling ethereum. I generated the address, gas price, gas estimation, and transaction count. now I want to sign the transaction. Please help who knows the answer.
user avatar
  • 53
1 vote
0 answers
115 views

Web3J - Creation of Light Wallet takes too long

I am creating the wallet in my Android app, using the library Web3j: https://web3j.io/ See the code: String seed = UUID.randomUUID().toString(); ECKeyPair exKey = Keys.createEcKeyPair(); WalletFile ...
user avatar
  • 191
1 vote
1 answer
116 views

Generate Ethereum Address

I have used Geth.aar library for generating ethereum address from 24 word seed. But every time I got new address. I need same address every time. Please help me with this.
user avatar
  • 53
1 vote
1 answer
2k views

Ethereum mining on Android?

Is it possible to mine Ethereum on an Android device? I know it may be inefficient, but still I want to see if I can develop and app that mines Ethereum on Android. Thanks in advance.
user avatar
  • 113
5 votes
1 answer
1k views

How do I get the raw private key from a WalletFile object?

How can I get the raw private key from a WalletFile object? Here is how I am creating the wallet. String seed = UUID.randomUUID().toString(); ECKeyPair exKey = Keys.createEcKeyPair(); BigInteger ...
user avatar
  • 191