diff --git a/.idea/modules.xml b/.idea/modules.xml index 089a0e4..52a531e 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + diff --git a/LICENSE b/LICENSE index 5912f28..ca065ae 100644 --- a/LICENSE +++ b/LICENSE @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - Coinfolio Copyright (C) 2018 Tanguy Herbron + Moodl Copyright (C) 2018 Tanguy Herbron This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. diff --git a/README.md b/README.md index 4180fb1..e5a77c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Coinfolio ![State](https://img.shields.io/badge/State-in%20development-red.svg) -This repository contains the source code of Coinfolio - +# Moodl ![State](https://img.shields.io/badge/State-in%20development-red.svg) +This repository contains the source code of Moodl + -# What is coinfolio ? +# What is moodl ? -Coinfolio is a handy cryptocurrency and ICO portfolio tracker. With its easy to use interface, you can watch your cryptocurrencies and ICOs fluctuate during the day/week/month or year. Coinfolio allows you to keep up with the Global Market Capitalization as well and Exchanges statistics. +Moodl is a handy cryptocurrency and ICO portfolio tracker. With its easy to use interface, you can watch your cryptocurrencies and ICOs fluctuate during the day/week/month or year. Moodl allows you to keep up with the Global Market Capitalization as well and Exchanges statistics. diff --git a/app/build.gradle b/app/build.gradle index 7040c19..7e14a8b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { - applicationId "com.nauk.coinfolio" + applicationId "com.nauk.moodl" minSdkVersion 23 targetSdkVersion 27 versionCode 1 diff --git a/app/release/output.json b/app/release/output.json index 375651e..82b2719 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.nauk.coinfolio","split":"","minSdkVersion":"23"}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.nauk.moodl","split":"","minSdkVersion":"23"}}] \ No newline at end of file diff --git a/app/src/androidTest/java/com/nauk/coinfolio/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/nauk/moodl/ExampleInstrumentedTest.java similarity index 96% rename from app/src/androidTest/java/com/nauk/coinfolio/ExampleInstrumentedTest.java rename to app/src/androidTest/java/com/nauk/moodl/ExampleInstrumentedTest.java index 9ec78ff..5d7b6b0 100644 --- a/app/src/androidTest/java/com/nauk/coinfolio/ExampleInstrumentedTest.java +++ b/app/src/androidTest/java/com/nauk/moodl/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio; +package com.nauk.moodl; import android.content.Context; import android.support.test.InstrumentationRegistry; diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 98e6d33..89b897f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.nauk.moodl"> @@ -10,13 +10,13 @@ + android:value="com.nauk.moodl.Activities.HomeActivity"/> + android:value="com.nauk.moodl.Activities.HomeActivity"/> + android:value="com.nauk.moodl.Activities.HomeActivity"/> diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/AppCompatPreferenceActivity.java b/app/src/main/java/com/nauk/moodl/Activities/AppCompatPreferenceActivity.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/Activities/AppCompatPreferenceActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/AppCompatPreferenceActivity.java index bab14fe..1acfd21 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/AppCompatPreferenceActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/AppCompatPreferenceActivity.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; import android.content.res.Configuration; import android.os.Bundle; diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/CurrencyDetailsActivity.java b/app/src/main/java/com/nauk/moodl/Activities/CurrencyDetailsActivity.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/Activities/CurrencyDetailsActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/CurrencyDetailsActivity.java index 869ecbc..04f4cee 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/CurrencyDetailsActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/CurrencyDetailsActivity.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; import android.content.Intent; import android.graphics.Bitmap; @@ -19,7 +19,6 @@ import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.text.Html; import android.text.method.LinkMovementMethod; -import android.util.Log; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.MotionEvent; @@ -46,18 +45,15 @@ import com.github.mikephil.charting.data.LineData; import com.github.mikephil.charting.data.LineDataSet; import com.github.mikephil.charting.highlight.Highlight; import com.github.mikephil.charting.listener.OnChartValueSelectedListener; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDataChart; -import com.nauk.coinfolio.DataManagers.CurrencyData.Transaction; -import com.nauk.coinfolio.DataManagers.DatabaseManager; -import com.nauk.coinfolio.DataManagers.ExchangeManager.BinanceManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.PlaceholderManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDataChart; +import com.nauk.moodl.DataManagers.CurrencyData.Transaction; +import com.nauk.moodl.DataManagers.DatabaseManager; +import com.nauk.moodl.DataManagers.ExchangeManager.BinanceManager; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.PlaceholderManager; +import com.nauk.moodl.R; -import java.text.DecimalFormat; -import java.text.DecimalFormatSymbols; -import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/CurrencySelectionActivity.java b/app/src/main/java/com/nauk/moodl/Activities/CurrencySelectionActivity.java similarity index 93% rename from app/src/main/java/com/nauk/coinfolio/Activities/CurrencySelectionActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/CurrencySelectionActivity.java index da5c84c..da96324 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/CurrencySelectionActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/CurrencySelectionActivity.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; import android.content.Intent; import android.os.AsyncTask; @@ -16,13 +16,13 @@ import android.widget.AdapterView; import android.widget.ListView; import android.widget.SearchView; -import com.nauk.coinfolio.DataManagers.BalanceManager; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDetailsList; -import com.nauk.coinfolio.DataManagers.DatabaseManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.LayoutManagers.CurrencyListAdapter; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.BalanceManager; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; +import com.nauk.moodl.DataManagers.DatabaseManager; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.LayoutManagers.CurrencyListAdapter; +import com.nauk.moodl.R; import java.util.ArrayList; import java.util.List; diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java b/app/src/main/java/com/nauk/moodl/Activities/HomeActivity.java similarity index 68% rename from app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/HomeActivity.java index 8e468af..ac966ac 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/HomeActivity.java @@ -1,67 +1,17 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; -import android.annotation.SuppressLint; -import android.app.Dialog; -import android.content.Intent; import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.graphics.Color; -import android.os.AsyncTask; import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; import android.support.annotation.NonNull; import android.support.design.widget.AppBarLayout; import android.support.design.widget.BottomNavigationView; -import android.support.design.widget.CollapsingToolbarLayout; -import android.support.design.widget.Snackbar; import android.support.v4.view.ViewPager; -import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; -import android.support.v7.graphics.Palette; -import android.support.v7.widget.Toolbar; -import android.text.SpannableString; -import android.util.Log; -import android.view.Gravity; -import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; -import android.view.MotionEvent; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewParent; -import android.widget.Button; -import android.widget.ImageButton; -import android.widget.LinearLayout; -import android.widget.ProgressBar; -import android.widget.TextView; -import android.widget.ViewFlipper; -import com.github.mikephil.charting.charts.PieChart; -import com.github.mikephil.charting.data.PieData; -import com.github.mikephil.charting.data.PieDataSet; -import com.github.mikephil.charting.data.PieEntry; -import com.github.mikephil.charting.formatter.PercentFormatter; -import com.nauk.coinfolio.DataManagers.BalanceManager; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyTickerList; -import com.nauk.coinfolio.DataManagers.MarketCapManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.LayoutManagers.HomeLayoutGenerator; -import com.nauk.coinfolio.PagerAdapter; -import com.nauk.coinfolio.R; - -import java.io.IOException; -import java.io.InputStream; -import java.net.HttpURLConnection; -import java.text.DecimalFormat; -import java.text.DecimalFormatSymbols; -import java.text.NumberFormat; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Locale; +import com.nauk.moodl.PagerAdapter; +import com.nauk.moodl.R; //Use WilliamChart for charts https://github.com/diogobernardino/WilliamChart diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/MarketCapitalization.java b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/MarketCapitalization.java similarity index 94% rename from app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/MarketCapitalization.java rename to app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/MarketCapitalization.java index c49f594..871230d 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/MarketCapitalization.java +++ b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/MarketCapitalization.java @@ -1,20 +1,16 @@ -package com.nauk.coinfolio.Activities.HomeActivityFragments; +package com.nauk.moodl.Activities.HomeActivityFragments; import android.annotation.SuppressLint; import android.content.Intent; import android.graphics.Color; -import android.support.design.widget.AppBarLayout; import android.support.v4.app.Fragment; import android.os.Bundle; -import android.support.v4.view.ViewPager; import android.support.v4.widget.SwipeRefreshLayout; import android.text.SpannableString; -import android.util.Log; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; -import android.view.ViewParent; import android.widget.ImageButton; import android.widget.TextView; @@ -23,18 +19,14 @@ import com.github.mikephil.charting.data.PieData; import com.github.mikephil.charting.data.PieDataSet; import com.github.mikephil.charting.data.PieEntry; import com.github.mikephil.charting.formatter.PercentFormatter; -import com.nauk.coinfolio.Activities.SettingsActivity; -import com.nauk.coinfolio.DataManagers.MarketCapManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.PlaceholderManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.Activities.SettingsActivity; +import com.nauk.moodl.DataManagers.MarketCapManager; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.PlaceholderManager; +import com.nauk.moodl.R; -import java.text.DecimalFormat; -import java.text.DecimalFormatSymbols; -import java.text.NumberFormat; import java.util.ArrayList; import java.util.HashMap; -import java.util.Iterator; import java.util.List; import java.util.Locale; diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Summary.java b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Summary.java similarity index 96% rename from app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Summary.java rename to app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Summary.java index 1fc4415..2d8cf08 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Summary.java +++ b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Summary.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities.HomeActivityFragments; +package com.nauk.moodl.Activities.HomeActivityFragments; import android.app.Dialog; import android.content.Intent; @@ -20,30 +20,26 @@ import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.view.Window; import android.widget.Button; import android.widget.ImageButton; import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.TextView; -import com.nauk.coinfolio.Activities.CurrencySelectionActivity; -import com.nauk.coinfolio.Activities.HomeActivity; -import com.nauk.coinfolio.Activities.SettingsActivity; -import com.nauk.coinfolio.DataManagers.BalanceManager; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyTickerList; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.LayoutManagers.HomeLayoutGenerator; -import com.nauk.coinfolio.PlaceholderManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.Activities.CurrencySelectionActivity; +import com.nauk.moodl.Activities.HomeActivity; +import com.nauk.moodl.Activities.SettingsActivity; +import com.nauk.moodl.DataManagers.BalanceManager; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyTickerList; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.LayoutManagers.HomeLayoutGenerator; +import com.nauk.moodl.PlaceholderManager; +import com.nauk.moodl.R; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; -import java.text.DecimalFormat; -import java.text.DecimalFormatSymbols; -import java.text.NumberFormat; import java.util.ArrayList; import java.util.List; import java.util.Locale; @@ -563,7 +559,7 @@ public class Summary extends Fragment { } catch (IOException e) { e.printStackTrace(); result = BitmapFactory.decodeResource(this.getResources(), - R.mipmap.icon_coinfolio); + R.mipmap.ic_launcher_moodl); result = Bitmap.createScaledBitmap(result, 50, 50, false); } @@ -712,7 +708,7 @@ public class Summary extends Fragment { Snackbar.make(view, "Unexpected error", Snackbar.LENGTH_LONG) .show(); - Log.d("coinfolio", error); + Log.d("moodl", error); updateAll(true); } diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Watchlist.java b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Watchlist.java similarity index 96% rename from app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Watchlist.java rename to app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Watchlist.java index e157516..98d7ed2 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivityFragments/Watchlist.java +++ b/app/src/main/java/com/nauk/moodl/Activities/HomeActivityFragments/Watchlist.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities.HomeActivityFragments; +package com.nauk.moodl.Activities.HomeActivityFragments; import android.content.Intent; import android.graphics.Bitmap; @@ -13,9 +13,7 @@ import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.graphics.Palette; import android.support.v7.widget.CardView; -import android.util.DisplayMetrics; import android.util.Log; -import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -32,20 +30,20 @@ import com.github.mikephil.charting.charts.LineChart; import com.github.mikephil.charting.data.Entry; import com.github.mikephil.charting.data.LineData; import com.github.mikephil.charting.data.LineDataSet; -import com.nauk.coinfolio.Activities.CurrencyDetailsActivity; -import com.nauk.coinfolio.Activities.CurrencySelectionActivity; -import com.nauk.coinfolio.Activities.HomeActivity; -import com.nauk.coinfolio.Activities.SettingsActivity; -import com.nauk.coinfolio.DataManagers.BalanceManager; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDataChart; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDetailsList; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyTickerList; -import com.nauk.coinfolio.DataManagers.DatabaseManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.DataManagers.WatchlistManager; -import com.nauk.coinfolio.PlaceholderManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.Activities.CurrencyDetailsActivity; +import com.nauk.moodl.Activities.CurrencySelectionActivity; +import com.nauk.moodl.Activities.HomeActivity; +import com.nauk.moodl.Activities.SettingsActivity; +import com.nauk.moodl.DataManagers.BalanceManager; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDataChart; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyTickerList; +import com.nauk.moodl.DataManagers.DatabaseManager; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.DataManagers.WatchlistManager; +import com.nauk.moodl.PlaceholderManager; +import com.nauk.moodl.R; import org.json.JSONException; import org.json.JSONObject; @@ -580,7 +578,7 @@ public class Watchlist extends Fragment { } catch (IOException e) { e.printStackTrace(); result = BitmapFactory.decodeResource(this.getResources(), - R.mipmap.icon_coinfolio); + R.mipmap.ic_launcher_moodl); result = Bitmap.createScaledBitmap(result, 50, 50, false); } diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/RecordTransactionActivity.java b/app/src/main/java/com/nauk/moodl/Activities/RecordTransactionActivity.java similarity index 93% rename from app/src/main/java/com/nauk/coinfolio/Activities/RecordTransactionActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/RecordTransactionActivity.java index 6cef03b..7971e97 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/RecordTransactionActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/RecordTransactionActivity.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; import android.content.Intent; import android.os.Bundle; @@ -11,10 +11,10 @@ import android.widget.EditText; import android.widget.TextView; import android.widget.TimePicker; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.DatabaseManager; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.DatabaseManager; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.R; import java.text.SimpleDateFormat; import java.util.Calendar; @@ -125,7 +125,7 @@ public class RecordTransactionActivity extends AppCompatActivity { purchasedPrice.setText(price); } }, calendar.getTimeInMillis() / 1000); - Log.d("coinfolio", "Time : " + calendar.getTimeInMillis()); + Log.d("moodl", "Time : " + calendar.getTimeInMillis()); } }, calendar.get(Calendar.HOUR_OF_DAY), diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/SettingsActivity.java b/app/src/main/java/com/nauk/moodl/Activities/SettingsActivity.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/Activities/SettingsActivity.java rename to app/src/main/java/com/nauk/moodl/Activities/SettingsActivity.java index aba4e84..c9f730f 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/SettingsActivity.java +++ b/app/src/main/java/com/nauk/moodl/Activities/SettingsActivity.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.Activities; +package com.nauk.moodl.Activities; import android.Manifest; import android.annotation.TargetApi; @@ -6,7 +6,6 @@ import android.app.KeyguardManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; -import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.hardware.fingerprint.FingerprintManager; @@ -23,22 +22,19 @@ import android.preference.PreferenceManager; import android.preference.PreferenceScreen; import android.preference.RingtonePreference; import android.preference.SwitchPreference; -import android.provider.Settings; import android.security.keystore.KeyGenParameterSpec; import android.security.keystore.KeyPermanentlyInvalidatedException; import android.security.keystore.KeyProperties; import android.support.v4.app.ActivityCompat; import android.support.v7.app.ActionBar; import android.text.TextUtils; -import android.util.Log; import android.view.MenuItem; import android.view.View; -import com.nauk.coinfolio.BuildConfig; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.FingerprintToolkit.FingerprintDialogFragment; -import com.nauk.coinfolio.FingerprintToolkit.FingerprintHandler; -import com.nauk.coinfolio.R; +import com.nauk.moodl.BuildConfig; +import com.nauk.moodl.FingerprintToolkit.FingerprintDialogFragment; +import com.nauk.moodl.FingerprintToolkit.FingerprintHandler; +import com.nauk.moodl.R; import java.io.IOException; import java.security.InvalidAlgorithmParameterException; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/BalanceManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/BalanceManager.java similarity index 93% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/BalanceManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/BalanceManager.java index 6a351a5..7b6d8e9 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/BalanceManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/BalanceManager.java @@ -1,19 +1,14 @@ -package com.nauk.coinfolio.DataManagers; +package com.nauk.moodl.DataManagers; -import android.os.StrictMode; import android.util.Log; -import com.android.volley.Request; import com.android.volley.RequestQueue; -import com.android.volley.Response; -import com.android.volley.VolleyError; -import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.Volley; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDetailsList; -import com.nauk.coinfolio.DataManagers.ExchangeManager.BinanceManager; -import com.nauk.coinfolio.DataManagers.ExchangeManager.HitBtcManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; +import com.nauk.moodl.DataManagers.ExchangeManager.BinanceManager; +import com.nauk.moodl.DataManagers.ExchangeManager.HitBtcManager; +import com.nauk.moodl.R; import org.json.JSONException; import org.json.JSONObject; @@ -22,7 +17,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; -import java.util.regex.Pattern; /** * Created by Tiji on 25/12/2017. @@ -83,7 +77,7 @@ public class BalanceManager { { index++; - Log.d("coinfolio", "For " + index + " : " + coinIterator.next()); + Log.d("moodl", "For " + index + " : " + coinIterator.next()); } return currenciesDetails; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Currency.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Currency.java similarity index 99% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Currency.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Currency.java index 01194f8..b4933cd 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Currency.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Currency.java @@ -1,9 +1,8 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; +package com.nauk.moodl.DataManagers.CurrencyData; import android.graphics.Bitmap; import android.os.Parcel; import android.os.Parcelable; -import android.util.Log; import org.json.JSONException; import org.json.JSONObject; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataChart.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataChart.java similarity index 97% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataChart.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataChart.java index 4173c5e..5996281 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataChart.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataChart.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; +package com.nauk.moodl.DataManagers.CurrencyData; import android.os.Parcel; import android.os.Parcelable; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataRetriever.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataRetriever.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataRetriever.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataRetriever.java index 52ea3c4..7278bac 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDataRetriever.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDataRetriever.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; +package com.nauk.moodl.DataManagers.CurrencyData; import android.util.Log; @@ -8,8 +8,7 @@ import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.Volley; -import com.fasterxml.jackson.databind.util.JSONPObject; -import com.nauk.coinfolio.R; +import com.nauk.moodl.R; import org.json.JSONException; import org.json.JSONObject; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDetailsList.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDetailsList.java similarity index 95% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDetailsList.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDetailsList.java index 0456eb9..506167e 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyDetailsList.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyDetailsList.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; +package com.nauk.moodl.DataManagers.CurrencyData; import android.os.StrictMode; import android.util.Log; @@ -9,9 +9,8 @@ import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.Volley; -import com.nauk.coinfolio.Activities.HomeActivity; -import com.nauk.coinfolio.DataManagers.BalanceManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.BalanceManager; +import com.nauk.moodl.R; import org.json.JSONException; import org.json.JSONObject; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyTickerList.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyTickerList.java similarity index 95% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyTickerList.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyTickerList.java index 66db323..d9ba0b2 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/CurrencyTickerList.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/CurrencyTickerList.java @@ -1,6 +1,4 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; - -import android.util.Log; +package com.nauk.moodl.DataManagers.CurrencyData; import com.android.volley.Request; import com.android.volley.RequestQueue; @@ -8,9 +6,8 @@ import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.Volley; -import com.nauk.coinfolio.DataManagers.BalanceManager; +import com.nauk.moodl.DataManagers.BalanceManager; -import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Transaction.java b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Transaction.java similarity index 95% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Transaction.java rename to app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Transaction.java index 507cfa2..cef5867 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/CurrencyData/Transaction.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/CurrencyData/Transaction.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers.CurrencyData; +package com.nauk.moodl.DataManagers.CurrencyData; /** * Created by Guitoune on 30/01/2018. diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/DatabaseManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/DatabaseManager.java similarity index 97% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/DatabaseManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/DatabaseManager.java index 9b45445..c79135d 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/DatabaseManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/DatabaseManager.java @@ -1,14 +1,13 @@ -package com.nauk.coinfolio.DataManagers; +package com.nauk.moodl.DataManagers; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; -import android.util.Log; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.Transaction; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.Transaction; import java.util.ArrayList; import java.util.Date; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/BinanceManager.java similarity index 91% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/BinanceManager.java index 4b103d0..d8182c9 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/BinanceManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/BinanceManager.java @@ -1,22 +1,16 @@ -package com.nauk.coinfolio.DataManagers.ExchangeManager; - -import android.util.Log; +package com.nauk.moodl.DataManagers.ExchangeManager; import com.binance.api.client.BinanceApiClientFactory; import com.binance.api.client.BinanceApiRestClient; import com.binance.api.client.domain.account.Account; import com.binance.api.client.domain.account.AssetBalance; -import com.binance.api.client.domain.account.Order; import com.binance.api.client.domain.account.Trade; -import com.binance.api.client.domain.account.request.OrderRequest; import com.binance.api.client.exception.BinanceApiException; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; import java.util.ArrayList; import java.util.HashMap; import java.util.List; -import java.util.Map; /** * Created by Guitoune on 26/02/2018. diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/HitBtcManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/HitBtcManager.java similarity index 96% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/HitBtcManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/HitBtcManager.java index 0102501..a63a62c 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/ExchangeManager/HitBtcManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/ExchangeManager/HitBtcManager.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers.ExchangeManager; +package com.nauk.moodl.DataManagers.ExchangeManager; import android.util.Base64; import android.util.Log; @@ -10,8 +10,8 @@ import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.JsonArrayRequest; import com.android.volley.toolbox.Volley; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.R; import org.json.JSONArray; import org.json.JSONException; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/MarketCapManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/MarketCapManager.java similarity index 95% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/MarketCapManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/MarketCapManager.java index 188f053..5dcb12f 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/MarketCapManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/MarketCapManager.java @@ -1,6 +1,4 @@ -package com.nauk.coinfolio.DataManagers; - -import android.util.Log; +package com.nauk.moodl.DataManagers; import com.android.volley.Request; import com.android.volley.RequestQueue; @@ -133,7 +131,7 @@ public class MarketCapManager { JSONObject jsonObject = new JSONObject(topRequestResult[i]); - //Log.d("coinfolio", "Symbol : " + jsonObject.getString("symbol") + " " + jsonObject.getString("rank")); + //Log.d("moodl", "Symbol : " + jsonObject.getString("symbol") + " " + jsonObject.getString("rank")); } catch (JSONException e) { e.printStackTrace(); diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/PreferencesManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/PreferencesManager.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/PreferencesManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/PreferencesManager.java index 899d55f..846b5d9 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/PreferencesManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/PreferencesManager.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.DataManagers; +package com.nauk.moodl.DataManagers; import android.content.SharedPreferences; import android.preference.PreferenceManager; diff --git a/app/src/main/java/com/nauk/coinfolio/DataManagers/WatchlistManager.java b/app/src/main/java/com/nauk/moodl/DataManagers/WatchlistManager.java similarity index 88% rename from app/src/main/java/com/nauk/coinfolio/DataManagers/WatchlistManager.java rename to app/src/main/java/com/nauk/moodl/DataManagers/WatchlistManager.java index 59453f0..496343e 100644 --- a/app/src/main/java/com/nauk/coinfolio/DataManagers/WatchlistManager.java +++ b/app/src/main/java/com/nauk/moodl/DataManagers/WatchlistManager.java @@ -1,8 +1,8 @@ -package com.nauk.coinfolio.DataManagers; +package com.nauk.moodl.DataManagers; import com.android.volley.RequestQueue; import com.android.volley.toolbox.Volley; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; import java.util.List; diff --git a/app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintDialogFragment.java b/app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintDialogFragment.java similarity index 95% rename from app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintDialogFragment.java rename to app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintDialogFragment.java index 71c82e9..a6f15b5 100644 --- a/app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintDialogFragment.java +++ b/app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintDialogFragment.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.FingerprintToolkit; +package com.nauk.moodl.FingerprintToolkit; import android.app.DialogFragment; import android.graphics.PorterDuff; @@ -6,11 +6,10 @@ import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.widget.Button; import android.widget.TextView; import com.mattprecious.swirl.SwirlView; -import com.nauk.coinfolio.R; +import com.nauk.moodl.R; /** * Created by Guitoune on 28/02/2018. diff --git a/app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintHandler.java b/app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintHandler.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintHandler.java rename to app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintHandler.java index 0eae113..09e8966 100644 --- a/app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintHandler.java +++ b/app/src/main/java/com/nauk/moodl/FingerprintToolkit/FingerprintHandler.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.FingerprintToolkit; +package com.nauk.moodl.FingerprintToolkit; import android.Manifest; import android.content.Context; diff --git a/app/src/main/java/com/nauk/coinfolio/LayoutManagers/CurrencyListAdapter.java b/app/src/main/java/com/nauk/moodl/LayoutManagers/CurrencyListAdapter.java similarity index 96% rename from app/src/main/java/com/nauk/coinfolio/LayoutManagers/CurrencyListAdapter.java rename to app/src/main/java/com/nauk/moodl/LayoutManagers/CurrencyListAdapter.java index 404440e..b25d4b7 100644 --- a/app/src/main/java/com/nauk/coinfolio/LayoutManagers/CurrencyListAdapter.java +++ b/app/src/main/java/com/nauk/moodl/LayoutManagers/CurrencyListAdapter.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.LayoutManagers; +package com.nauk.moodl.LayoutManagers; import android.content.Context; import android.view.LayoutInflater; @@ -8,8 +8,8 @@ import android.widget.ArrayAdapter; import android.widget.Filter; import android.widget.TextView; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.R; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.R; import java.util.ArrayList; diff --git a/app/src/main/java/com/nauk/coinfolio/LayoutManagers/HomeLayoutGenerator.java b/app/src/main/java/com/nauk/moodl/LayoutManagers/HomeLayoutGenerator.java similarity index 96% rename from app/src/main/java/com/nauk/coinfolio/LayoutManagers/HomeLayoutGenerator.java rename to app/src/main/java/com/nauk/moodl/LayoutManagers/HomeLayoutGenerator.java index 0946451..6397f10 100644 --- a/app/src/main/java/com/nauk/coinfolio/LayoutManagers/HomeLayoutGenerator.java +++ b/app/src/main/java/com/nauk/moodl/LayoutManagers/HomeLayoutGenerator.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio.LayoutManagers; +package com.nauk.moodl.LayoutManagers; import android.content.Context; import android.content.Intent; @@ -6,10 +6,7 @@ import android.graphics.Color; import android.graphics.PorterDuff; import android.graphics.PorterDuffColorFilter; import android.graphics.drawable.Drawable; -import android.os.AsyncTask; -import android.preference.PreferenceScreen; import android.support.v7.widget.CardView; -import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.animation.Animation; @@ -22,12 +19,12 @@ import com.github.mikephil.charting.charts.LineChart; import com.github.mikephil.charting.data.Entry; import com.github.mikephil.charting.data.LineData; import com.github.mikephil.charting.data.LineDataSet; -import com.nauk.coinfolio.Activities.CurrencyDetailsActivity; -import com.nauk.coinfolio.DataManagers.CurrencyData.Currency; -import com.nauk.coinfolio.DataManagers.CurrencyData.CurrencyDataChart; -import com.nauk.coinfolio.DataManagers.PreferencesManager; -import com.nauk.coinfolio.PlaceholderManager; -import com.nauk.coinfolio.R; +import com.nauk.moodl.Activities.CurrencyDetailsActivity; +import com.nauk.moodl.DataManagers.CurrencyData.Currency; +import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDataChart; +import com.nauk.moodl.DataManagers.PreferencesManager; +import com.nauk.moodl.PlaceholderManager; +import com.nauk.moodl.R; import java.text.DecimalFormat; import java.util.ArrayList; diff --git a/app/src/main/java/com/nauk/coinfolio/PagerAdapter.java b/app/src/main/java/com/nauk/moodl/PagerAdapter.java similarity index 80% rename from app/src/main/java/com/nauk/coinfolio/PagerAdapter.java rename to app/src/main/java/com/nauk/moodl/PagerAdapter.java index 3a53edb..1e9e34e 100644 --- a/app/src/main/java/com/nauk/coinfolio/PagerAdapter.java +++ b/app/src/main/java/com/nauk/moodl/PagerAdapter.java @@ -1,12 +1,12 @@ -package com.nauk.coinfolio; +package com.nauk.moodl; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; -import com.nauk.coinfolio.Activities.HomeActivityFragments.MarketCapitalization; -import com.nauk.coinfolio.Activities.HomeActivityFragments.Summary; -import com.nauk.coinfolio.Activities.HomeActivityFragments.Watchlist; +import com.nauk.moodl.Activities.HomeActivityFragments.MarketCapitalization; +import com.nauk.moodl.Activities.HomeActivityFragments.Summary; +import com.nauk.moodl.Activities.HomeActivityFragments.Watchlist; /** * Created by Tiji on 13/04/2018. diff --git a/app/src/main/java/com/nauk/coinfolio/PlaceholderManager.java b/app/src/main/java/com/nauk/moodl/PlaceholderManager.java similarity index 98% rename from app/src/main/java/com/nauk/coinfolio/PlaceholderManager.java rename to app/src/main/java/com/nauk/moodl/PlaceholderManager.java index 538baa6..07e8f5a 100644 --- a/app/src/main/java/com/nauk/coinfolio/PlaceholderManager.java +++ b/app/src/main/java/com/nauk/moodl/PlaceholderManager.java @@ -1,6 +1,6 @@ -package com.nauk.coinfolio; +package com.nauk.moodl; -import com.nauk.coinfolio.DataManagers.PreferencesManager; +import com.nauk.moodl.DataManagers.PreferencesManager; /** * Created by Tiji on 19/04/2018. diff --git a/app/src/main/res/drawable/icon_coinfolio_background.xml b/app/src/main/res/drawable/icon_moodl_background.xml similarity index 100% rename from app/src/main/res/drawable/icon_coinfolio_background.xml rename to app/src/main/res/drawable/icon_moodl_background.xml diff --git a/app/src/main/res/layout/activity_add_currency.xml b/app/src/main/res/layout/activity_add_currency.xml index 1da3f91..bdb24c9 100644 --- a/app/src/main/res/layout/activity_add_currency.xml +++ b/app/src/main/res/layout/activity_add_currency.xml @@ -3,7 +3,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="com.nauk.coinfolio.Activities.CurrencySelectionActivity"> + tools:context="com.nauk.moodl.Activities.CurrencySelectionActivity"> + tools:context="com.nauk.moodl.Activities.CurrencyDetailsActivity"> + tools:context="com.nauk.moodl.Activities.RecordTransactionActivity"> + tools:context="com.nauk.moodl.Activities.HomeActivity"> + tools:context="com.nauk.moodl.Activities.HomeActivity"> + tools:context="com.nauk.moodl.Activities.HomeActivity"> - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/icon_coinfolio_round.xml b/app/src/main/res/mipmap-anydpi-v26/icon_coinfolio_round.xml deleted file mode 100644 index eb89aea..0000000 --- a/app/src/main/res/mipmap-anydpi-v26/icon_coinfolio_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault.xml b/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault.xml deleted file mode 100644 index 4a0745c..0000000 --- a/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault_round.xml b/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault_round.xml deleted file mode 100644 index 4a0745c..0000000 --- a/app/src/main/res/mipmap-anydpi-v26/icon_crystalvault_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_moodl.png b/app/src/main/res/mipmap-hdpi/ic_launcher_moodl.png new file mode 100644 index 0000000..4624e9e Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_moodl.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_moodl_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_moodl_round.png new file mode 100644 index 0000000..7b004a8 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_moodl_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_moodl.png b/app/src/main/res/mipmap-mdpi/ic_launcher_moodl.png new file mode 100644 index 0000000..fefdfb5 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_moodl.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_moodl_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_moodl_round.png new file mode 100644 index 0000000..0cb0c21 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_moodl_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl.png new file mode 100644 index 0000000..62177dc Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl_round.png new file mode 100644 index 0000000..94b6339 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_moodl_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/icon_coinfolio.png b/app/src/main/res/mipmap-xhdpi/icon_coinfolio.png deleted file mode 100644 index f21538b..0000000 Binary files a/app/src/main/res/mipmap-xhdpi/icon_coinfolio.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/icon_coinfolio_foreground.png b/app/src/main/res/mipmap-xhdpi/icon_coinfolio_foreground.png deleted file mode 100644 index fcbba5c..0000000 Binary files a/app/src/main/res/mipmap-xhdpi/icon_coinfolio_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/icon_coinfolio_round.png b/app/src/main/res/mipmap-xhdpi/icon_coinfolio_round.png deleted file mode 100644 index 16e05a1..0000000 Binary files a/app/src/main/res/mipmap-xhdpi/icon_coinfolio_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl.png new file mode 100644 index 0000000..29a639a Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl_round.png new file mode 100644 index 0000000..5609eed Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_moodl_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_foreground.png b/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_foreground.png deleted file mode 100644 index c0ff353..0000000 Binary files a/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_round.png b/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_round.png deleted file mode 100644 index 12e3fa8..0000000 Binary files a/app/src/main/res/mipmap-xxhdpi/icon_coinfolio_round.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl.png new file mode 100644 index 0000000..ca00ab2 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl_round.png new file mode 100644 index 0000000..eb7290e Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_moodl_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_foreground.png b/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_foreground.png deleted file mode 100644 index c525060..0000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_round.png b/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_round.png deleted file mode 100644 index 928adf9..0000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/icon_coinfolio_round.png and /dev/null differ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index aef88b4..f19ae91 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,10 +1,10 @@ - Coinfolio + Moodl Settings Edit mode Fais un don wallah - Coinfolio_debug - Coinfolio_debugVolley + Moodl_debug + Moodl_debugVolley Switch view Settings diff --git a/app/src/main/res/xml/pref_headers.xml b/app/src/main/res/xml/pref_headers.xml index be8b1af..024cc86 100644 --- a/app/src/main/res/xml/pref_headers.xml +++ b/app/src/main/res/xml/pref_headers.xml @@ -3,12 +3,12 @@
diff --git a/app/src/test/java/com/nauk/coinfolio/ExampleUnitTest.java b/app/src/test/java/com/nauk/moodl/ExampleUnitTest.java similarity index 93% rename from app/src/test/java/com/nauk/coinfolio/ExampleUnitTest.java rename to app/src/test/java/com/nauk/moodl/ExampleUnitTest.java index ddcd311..8426b2b 100644 --- a/app/src/test/java/com/nauk/coinfolio/ExampleUnitTest.java +++ b/app/src/test/java/com/nauk/moodl/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package com.nauk.coinfolio; +package com.nauk.moodl; import org.junit.Test; diff --git a/export/release/output.json b/export/release/output.json index 375651e..82b2719 100644 --- a/export/release/output.json +++ b/export/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.nauk.coinfolio","split":"","minSdkVersion":"23"}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.nauk.moodl","split":"","minSdkVersion":"23"}}] \ No newline at end of file diff --git a/gource/test.txt b/gource/test.txt index c968641..9d9b7c2 100644 --- a/gource/test.txt +++ b/gource/test.txt @@ -1 +1 @@ -gource --frameless --key --auto-skip-seconds 1 -e 0.001 --title Coinfolio \ No newline at end of file +gource --frameless --key --auto-skip-seconds 1 -e 0.001 --title Moodl \ No newline at end of file