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
0answers
36 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 ...
1
vote
2answers
189 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'...
1
vote
1answer
81 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?
1
vote
1answer
89 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 ...
1
vote
0answers
105 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 ...
1
vote
0answers
39 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 ...
1
vote
0answers
65 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....
1
vote
1answer
154 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(...
1
vote
0answers
43 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 ...
1
vote
1answer
116 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 = ...
1
vote
0answers
81 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 ...
1
vote
0answers
25 views

Invoking functions of smart contract on Android phone?

Regarding to my contract code bellow, do you think that it's possible to do following scenario using a web browser on Android mobile ? Uploading GUI web application of RFID/NFC smart contract (i.e. ...
1
vote
0answers
458 views

Is there an API or library available to integrate an ERC20 compatible wallet into my android app?

If the android app being developed is going to display balances and allow sending and receiving of ERC20 tokens, is there an API or library that people would recommend for this functionality?
1
vote
0answers
572 views

How to create custom ERC20 wallet into my app , to send and receive my tokens?

We have an app for rewards and would like to have a functionality for users to exchange or transfer there tokens to each other. Is there a way i can add that into my app?
1
vote
1answer
369 views

IPFS Android Cant add file

I am using the java-ipfs-api - https://www.npmjs.com/package/geth-private for my android DApp. I have managed to connect to the ipfs daemon and have tested it using the ipfs.refs.local(); command as ...
1
vote
1answer
926 views

How to interact with Geth mobile from react-native

I'm working on a react-native dapp to get some experience, but I'm struggling to interact with geth from the javascript side. I'm currently only focused on Android. The Geth client is succesfully ...
1
vote
1answer
774 views

Deploying smart contracts from mobile device

I have recently started learning solidity but I don't have access to a laptop. All I have is a Samsung s4. I know it is not ideal, but is there a wallet that has the ability to deploy from Android
1
vote
0answers
27 views

Peer is constantly lying ( or just confused about the current head) [duplicate]

I think every one should have the right to disagree about the chain head - but he should not tell me all the time: GoLog: I0305 11:44:49.604203 eth/downloader/downloader.go:640] Peer f61925002670fd0a ...
1
vote
0answers
188 views

go.Universe$proxyerror: invalid transaction v, r, s values

I am getting this crash: go.Universe$proxyerror: invalid transaction v, r, s values at org.ethereum.geth.EthereumClient.getBlockByNumber(Native Method) for this call: ethClient.getBlockByNumber(...
1
vote
0answers
68 views

Wrapper for Jaxx

I would like to build android or iOS application that can send and receive data with contract. I can simply use JAXX, which can let me send 'data' to the contract. But the only problem is that I have ...
0
votes
4answers
1k views

web3j-android error: static interface method calls are not supported at language level 1.7

I get this error static interface method calls are not supported at language level 1.7 when having Web3j web3j = Web3j.build(new HttpService(url)); documentation here says for Android you should ...
0
votes
1answer
252 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 =...
0
votes
1answer
1k views

create offline ethereum wallet in android

How to create an Ethereum wallet (Keystore JSON file) in android using org.web3j:core:3.3.1-android (web3j library). Please guide me to create one.
0
votes
2answers
658 views

web3j WalletUtils.loadCredentials() works in Java, throws java.lang.OutOfMemoryError on Android

I'm trying to use web3j + Infura to interact with the Rinkeby chain from an android app. I first wrote a simple test in Java and everything worked - transactions, interacting with contracts, you name ...
0
votes
1answer
21 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 (...
0
votes
1answer
49 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 ...
0
votes
1answer
278 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 ...
0
votes
1answer
440 views

How to use geth.aar on Android mobile?

I downloaded go-ethereum .aar file from here : https://geth.ethereum.org/downloads/ For my Android phone for invoking functions of my smart contract. But I don't know how to use this file?
0
votes
1answer
392 views

Serious problem! web3j-android EckeyPair returning Private Key length of 63 characters, not 64

So this is a pretty huge problem I've run into once before: I'm using web3j-android and I'm going through the process of generating random private keys and public keys using the ECKeyPair class Now ...
0
votes
1answer
15 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/ ...
0
votes
0answers
15 views

How to import an account in FireFox on Android?

Questions. How to import an account in FireFox on Android? Description: According to the instructions, I downloaded the JSON file. I received an email code. I went to the "Import Account" page. I ...
0
votes
1answer
20 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 ...
0
votes
0answers
29 views

Reading all ERC20 token balances

I am aware that the ERC20 balance is easily obtained in web3js by calling token.methods.balanceOf(ADDRESS); However, I was wondering if there are any new developments or API that can now be used ...
0
votes
0answers
12 views

How to use whisper on the geth mobile android library?

I want to create a chat application using the whisper protocol, I wanted to know if there is any way by which I can use whisper on the node running on geth mobile android library, or does the library ...
0
votes
0answers
29 views

Web3J Java Android SendAsync Error

I am trying to interact with a method in my smart contract. The method is a simple method where you send a string value to a global variable. I end up using a SendAsync which appears to initially work,...
0
votes
0answers
14 views

How to run a private geth node on Android?

I want to run a private geth node in using AndroidStudio. How should I go about it? What to do after writing the genesis.json file? I am completely new to DApp in mobile phones. Kindly help. Thank ...
0
votes
0answers
92 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")) ...
0
votes
1answer
153 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)) ...
0
votes
1answer
134 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.
0
votes
1answer
1k views

Generating a BIP-39 compatible Ethereum wallet results in IndexOutOfBoundsException?

Trying to configure android app to use a master seed phrase instead of individual private key generation. Using the new(ish) generatebip39wallet results in an indexoutofboundsexception. Offending ...
0
votes
2answers
985 views

A bit confused. How do I send ether using Web3j to an address (Android)

EDIT: I am using android platform I think I'm a bit confused conceptually. I would appreciate it if someone could answer these few questions for me as I'm trying to make an app so that I can be ...
0
votes
1answer
215 views

How to construct the network and account at client side

I am doing a project which is related to the Ethereum. But I faced the problem, so I want to ask you something. I’ll explain my project briefly. After a team meeting or purchase of materials, the ...
0
votes
2answers
492 views

How to use balanceOf function with Web3j for an android app

I am trying to use the balanceOf function after the generation of our smart contract (pakoin) function wrappers in Java with Web3j. Despite trying different ways, I get plenty of errors and I don't ...
0
votes
2answers
2k views

Android webj3 “insufficient funds for gas * price + value” exception

I'm trying to send ether in my Android app between 2 addresses which were opened using Metamask.io There is a balance of 2 ethers in "from" account. Here the code Web3j web3 = Web3jFactory....
0
votes
1answer
150 views

Speed up android geth sync

Hi I'm using rinkeby as test node for my mobile app. When I connect to node it need much time for sync mobile client with current head (especially on new accounts). Is there possibility not to ...
0
votes
1answer
1k views

Unable to retrieve value from Web3j sendFunds Future

I have been trying to send funds from one ethereum account to another using web3j to test that it works on Android. I am using an Infura cloud instance. First, it appears I need to send it async ...
0
votes
1answer
120 views

Any common library for Wallet and smart contract in android,IOS and Web?

Before post this question I researched about Ethereum wallet and smart contract. I saw many of the libraries which support android & iOS in different protocol, but not in a same protocol. So, I am ...
-1
votes
1answer
2k views

Tutorial for ethereum wallet creation in android [duplicate]

I am very new to ethereum and would like to learn it. Is there some tutorial available which lets me create an ethereum wallet for android ?

1
2