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
0
votes
1answer
13 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
22 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
0answers
12 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 ...
1
vote
1answer
58 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 ...
0
votes
1answer
18 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 ...
1
vote
1answer
21 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 ...
0
votes
0answers
21 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 ...
1
vote
0answers
33 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 ...
0
votes
0answers
9 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 ...
1
vote
2answers
134 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'...
0
votes
0answers
28 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
13 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 ...
1
vote
1answer
73 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 ...
1
vote
1answer
71 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?
2
votes
0answers
123 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'...
1
vote
1answer
87 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 ...
5
votes
2answers
88 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 ...
1
vote
0answers
99 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
37 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 ...
2
votes
1answer
368 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 ...
0
votes
1answer
231 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 =...
1
vote
1answer
44 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 ...
0
votes
1answer
229 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
0answers
91 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")) ...
1
vote
0answers
64 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
292 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
148 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
141 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)) ...
2
votes
0answers
110 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
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
112 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
128 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
80 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
67 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
1k 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.
4
votes
1answer
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 ...
1
vote
1answer
719 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 ...
1
vote
1answer
343 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 ...
1
vote
2answers
2k views

Create ethereum address from seed

I want to create ethereum address from seed. Please help me to create ethereum address from seed.
2
votes
0answers
474 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
470 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
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 ...
1
vote
0answers
23 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
1answer
433 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
2k 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
1answer
375 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 ...
2
votes
0answers
1k 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
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
1answer
999 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
901 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 ...