DanielPollithy / flashwifi

Wifiota - share WiFi p2p in exchange for iota on android
https://tobywoerthle.github.io/flashWiFiSite/
9 stars 1 forks source link

Balance Checker Fix #50

Closed tobywoerthle closed 6 years ago

tobywoerthle commented 6 years ago

-Balance checker should be accurate now -Need to test more and remove println statements -Added checking of pending transactions to not include them in the key index update

To retrieve balance from stored preference @danielpollithy @gosticks:

prefFile = getActivity().getString(R.string.preference_file_key SharedPreferences sharedPref = context.getSharedPreferences(prefFile, Context.MODE_PRIVATE); String defaultValue = "0"; String storedBalance = sharedPref.getString("balance",defaultValue);

-Added About, License, Agreement settings sections -Updated and added security settings and usage