Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantintuev committed Mar 2, 2019
0 parents commit d9ebbba
Show file tree
Hide file tree
Showing 23 changed files with 2,306 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Created by .ignore support plugin (hsz.mobi)
### Example user template template
### Example user template

# IntelliJ project files
.idea
*.iml
out
gen
Binary file added License.pdf
Binary file not shown.
Binary file added License_binaries.pdf
Binary file not shown.
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# TUmine java part - developer accessible classes #

## What is this? ##

These are all the classes that the developer integrating the miner might need.

## Where are the rest of the classes? ##

You can purchase the whole source code (java + c++) on my [website](https://android-miner.tuev-co.eu/#pricing).

## How can I use these files? ##

Only use them for educational purposes

## Can I contribute? ##

**YES**, they biggest contributors will get the low fee version of the miner for FREE.

## How to include the miner in my app? ##

There different versions + I have made a self-hosted repository

Here are all the versions (add the attached snippet to the app/build.gradle):
* This version of the TUmine Monero .aar library doesn't contain native miner. The needed file will be downloaded once.<br>
```gradle
implementation 'tuev.co:tumine:10.0-nonative'
```
* This version of the TUmine Monero .aar library contains native miner with SSL support. -> THE MINER HAS BIGGER SIZE (contains openssl)<br>
```gradle
implementation 'tuev.co:tumine:10.0-ssl'
```
* This version of the TUmine Monero .aar library contains native miner WITHOUT SSL support.<br>
```gradle
implementation 'tuev.co:tumine:10.0-basic'
```
Also add my maven repository to the root build.gradle of your project.
```gradle
allprojects {
repositories {
...
maven {
url 'https://maven.tuev-co.eu/repository/internal'
}
}
}
```

The files from my maven repository have the same sources + documentation + '.aar'.

## License ##

This is the license for downloading and using the binaries and this source code: [Binaries LICENSE](License_binaries.pdf)<br/>
-> TL;DR: Without a purchase of the whole source code of the miner no permission is given to anyone to edit, modify or redistribute the native and kotlin binaries.

The files in this repo can only be used for contribution to this project and for educational purposes.<br/><br/>
This is the license for buying the WHOLE source code: [Source Code LICENSE](License.pdf)
Binary file added app/src/basic/assets/tumine64arm
Binary file not shown.
Binary file added app/src/basic/assets/tumine86
Binary file not shown.
Binary file added app/src/basic/assets/tumine86arm
Binary file not shown.
12 changes: 12 additions & 0 deletions app/src/basic/updated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Version: 10-basic
Updated: 02-03-2019 18:22:44.417
Format: dd-MM-yyyy HH:mm:ss.SSS

Copied from -> to:

tumineProjectRoot/android/libs/armeabi-v7a/tumine -> tumineProjectRoot/android-out/basic/assets/tumine86arm

tumineProjectRoot/android/libs/x86/tumine -> tumineProjectRoot/android-out/basic/assets/tumine86

tumineProjectRoot/android/libs/arm64-v8a/tumine -> tumineProjectRoot/android-out/basic/assets/tumine64arm

15 changes: 15 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<manifest package="tuev.co.tumine"
xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

<application>
<service
android:name=".MineJobService"
android:permission="android.permission.BIND_JOB_SERVICE"/>

<service android:name=".MiningService" android:enabled="true"/>
</application>
</manifest>
Loading

0 comments on commit d9ebbba

Please sign in to comment.