Commit d9dd6614 authored by cfabio's avatar cfabio

Switched from Bitfinex to Coinbase for BTCUSD

parent 063dcf3e
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
......@@ -27,17 +24,7 @@
</value>
</option>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
......
......@@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "26.0.1"
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "eu.uwot.fabio.altcoinprices"
minSdkVersion 21
targetSdkVersion 25
versionCode 3
versionName '0.3d'
versionCode 4
versionName '0.3e'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
......
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":4},"path":"Altcoin Prices-release.apk","properties":{"packageId":"eu.uwot.fabio.altcoinprices","split":"","minSdkVersion":"21"}}]
\ No newline at end of file
......@@ -48,7 +48,7 @@ public class MainActivity extends AppCompatActivity
"<script type=\"text/javascript\">\n" +
"new TradingView.widget({\n" +
" \"autosize\": true,\n" +
" \"symbol\": \"BITFINEX:";
" \"symbol\": \"COINBASE:";
String currency;
String altcoin;
String period;
......
......@@ -31,7 +31,7 @@ public class SettingsActivity extends AppCompatActivity {
prefs = getApplicationContext().getSharedPreferences("Settings", 0); // 0 for private mode
editor = prefs.edit();
this.currency = prefs.getString("currency", "EUR");
this.period = prefs.getString("period", "30");
this.period = prefs.getString("period", "15");
editor.commit();
/* end load user settings */
......
......@@ -32,7 +32,7 @@
<item
android:id="@+id/nav_btcusd"
android:icon="@drawable/ic_menu_btc"
android:title="XBT - Bitfinex" />
android:title="XBT - Coinbase" />
</menu>
</item>
......
......@@ -14,6 +14,6 @@
<string name="switch_currency_title">Switch currency from EUR to USD</string>
<string name="about_text">Android application to monitor Kraken.com prices in real time.\n\nDownload the full source code at <a href="https://gitlab.com/cfabio/AltcoinPrices">gitlab.com</a>\n\n<b>Version 0.3d</b></string>
<string name="about_text">Android application to monitor Kraken.com prices in real time.\n\nDownload the full source code at <a href="https://gitlab.com/cfabio/AltcoinPrices">gitlab.com</a>\n\n<b>Version 0.3e</b></string>
</resources>
......@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}
......
#Sat Sep 09 15:02:49 CEST 2017
#Thu Oct 26 19:16:20 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment