Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android]

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

1
vote
0answers
25 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....
2
votes
1answer
38 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'...
1
vote
1answer
49 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(...
0
votes
1answer
41 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)) ...
1
vote
0answers
51 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 ...
1
vote
0answers
38 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
72 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 = ...
0
votes
1answer
61 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.
1
vote
0answers
42 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
1answer
39 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.
1
vote
1answer
217 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.
2
votes
1answer
366 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 ...
1
vote
1answer
232 views

How get Ethereum address using phrase only in Android

I want to get Etherum address and private key by adding Phrase (or Password) everytime. I tried by following many gihub code.It gives different private key everytime. In Web3j, I found it is based on ...
0
votes
0answers
51 views

IPFS in android using java

need pro help over here. I have an android project that use IPFS (InterPlanetary File System) to transfer few files and get the keys to store. I been searched in various online pages and read lots of ...
0
votes
1answer
185 views

Do you know any good code sample of Web3j with Android? [closed]

Do you have any good code sample of Web3j with Android? There is an example in the official docs, but I don't think it is not well self explanatory. I'd like to see an example of wallet generating or ...
0
votes
0answers
481 views

web3j Android, “E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!” When try to get balance

My app tries to get the balance of an ethereum address, but when testing, it crashes. I get the error "E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!" in logcat. Using web3 and android studio. Web3j ...
1
vote
2answers
419 views

Create ethereum address from seed

I want to create ethereum address from seed. Please help me to create ethereum address from seed.
0
votes
0answers
32 views

UsbHostManager beginUsbDeviceAdded(..) is blacklisted

I am currently trying to debug a USB OTG problem. And I stepped back to a point where I know things where working in the code. But still it does not anymore. Now I saw these in the log after plugging ...
0
votes
0answers
86 views

SSLException while connecting to Rinkeby network using Infura with web3j

I've been trying to connect an android application using web3j to the Rinkeby network using Infura. I keep getting this SSLException while doing performing any functions: 06-09 13:36:27.484 16244-...
2
votes
0answers
168 views

JsonParseException while generating java wrapper object with web3j

so a few weeks ago I created a java wrapper object with web3j for a smart contract and was able to work with it with no problems. following exactly what I did a few weeks ago I keep getting a ...
1
vote
1answer
277 views

How to call a deployed smart contract methods from android

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 ...
0
votes
1answer
298 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
0answers
22 views

Has someone tested “Toshi browser” or “Status browser” to get transaction hash?

I need to send a simple transaction by Toshi brower or Status browser and get transaction hash in my Android phone to be sure these browsers in practice works properly. https://www.toshi.org/ https:/...
1
vote
0answers
19 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. ...
0
votes
0answers
26 views

How to run `testRPC` on an Android mobile?

I have a smart contract (solidity) along with a GUI written by JavaScript and HTML as follows: solidity code: pragma solidity ^0.4.15; // -----------------------------------------------------------...
0
votes
1answer
218 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?
1
vote
5answers
707 views

How to invoke functions of Smart Contract from Android phone?

I deployed a smart contract with solidity along with a GUI by Javascript and HTML. This project works well on my computer. Now I want to invoke functions of Smart Contract from Android phone. Is ...
0
votes
0answers
65 views

Ethdroid: How to interact between an android phone and smart contract?

I deployed a smart contract. The idea is to read and write an NFC tag by Android phone and then send it to the smart contract (directly or by appointment). However, I couldn't find a Parity installer ...
0
votes
1answer
182 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
0answers
171 views

How to get the list of incoming (pending) transactions with web3j android?

I would like to verify if somebody send ETH to a particular address. How can I get the list of incoming (pending) transactions with web3 ?
2
votes
0answers
914 views

How to integrate smart contracts with android app using web3j

I want to integrate smart contracts with the android app. I wrote a simple smart contract and I want to call that smart contract from android app. For example, in UI part of Android, I put one ...
0
votes
0answers
243 views

Sending A Transaction Async | Cannot Resolve Method 'executeTransactionAsync' | Android Studio | Java

When calling the executeTransactionAsync method, part of web3.abi.datatypes.Function, I get an error saying the method can not be found. If I remove the Async so the method is executeTransaction, I ...
0
votes
1answer
519 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
1answer
653 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
0answers
58 views

Creating Light Wallet on mobile devices taking FOREVER? Am I able to optimize code?

I'm testing out a new app on Android devices using web3j architecture. I've tried out other apps and creating wallets seems to take a fraction of the time that it takes my app to create. I can't ...
0
votes
1answer
348 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
0answers
313 views

How to create an android wallet for Ethereum

There's a project that I would like to implement that would require me to implement a simple Ethereum wallet client for Android. I would like to know the basic building blocks for making such an ...
0
votes
0answers
316 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?
0
votes
1answer
157 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 ...
2
votes
2answers
250 views

Android Geth failed to connect to main net

Following the Android sample code from Mobile Client, along with latest geth.aar fetched from Go Ethereum Downloads (stable release 1.7.3 and development release 1.8.0). I am not able to connect to ...
1
vote
1answer
426 views

Error when calling a function of a smart contract with web3j

I am trying to use a function which returns a value of the smart contract (pakoin). contract Pacoin { /* This creates an array with all balances */ mapping (address => uint256) public ...
0
votes
2answers
377 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
946 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....
1
vote
2answers
735 views

create a mobile wallet for my ERC20

Does anyone know if is there any open source code mobile wallet (Android or IOS) that i can use to store and transfer my custom ERC20 token. I would like to be able to modify it in order to allow it ...
1
vote
0answers
535 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?
0
votes
1answer
114 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
0answers
171 views

Not able to create credentials from WalletUtils.loadCredentials() (web3j)

I'm using private blockchain network and I have a wallet file in my keystore, but in Android Studio I'm getting FileNotFoundException, any help would be appreciated. credentials = WalletUtils....
0
votes
1answer
767 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
97 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 ...
2
votes
2answers
647 views

Out Of Memory exception when using web3j in Android

I'm trying to integrate web3j in an android application. But the library gives an Out Of Memory exception when loading the wallet file: Credentials credentials = WalletUtils.loadCredentials("password"...