Bitcoin Core  24.99.0
P2P Digital Currency
BitcoinQtActivity.java
Go to the documentation of this file.
1 package org.bitcoincore.qt;
2 
3 import android.os.Bundle;
4 import android.system.ErrnoException;
5 import android.system.Os;
6 
7 import org.qtproject.qt5.android.bindings.QtActivity;
8 
9 import java.io.File;
10 
11 public class BitcoinQtActivity extends QtActivity
12 {
13  @Override
14  public void onCreate(Bundle savedInstanceState)
15  {
16  final File bitcoinDir = new File(getFilesDir().getAbsolutePath() + "/.bitcoin");
17  if (!bitcoinDir.exists()) {
18  bitcoinDir.mkdir();
19  }
20 
21  super.onCreate(savedInstanceState);
22  }
23 }
void onCreate(Bundle savedInstanceState)