Skip to content

Commit

Permalink
Merge pull request #26 from SirkoVZ/master
Browse files Browse the repository at this point in the history
Version 0.9.2
  • Loading branch information
SirkoVZ authored Jun 30, 2017
2 parents 1fcdb1c + a773048 commit ca84564
Show file tree
Hide file tree
Showing 14 changed files with 944 additions and 44 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ obj/
/out/

# User-specific configurations
.idea/libraries/
.idea/libraries
.idea/.name
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
Expand All @@ -117,6 +117,9 @@ obj/
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/markdown-navigator
.idea/markdown-navigator.xml
projectFilesBackup

# Keystore files

Expand Down
14 changes: 14 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ Download: [https://github.com/volkszaehler/app-android/releases/latest](https://
![ScreenShot3](http://wiki.volkszaehler.org/_media/software/frontends/vz_app/grafik.png?w=200&tok=3e01fa "ScreenShots 3 of VolkszaehlerApp")
![ScreenShot4](http://wiki.volkszaehler.org/_media/software/frontends/vz_app/einstellungen.png?w=200&tok=ede86f "ScreenShots 4 of VolkszaehlerApp")

## VolkszählerApp für Android, Version 0.9.2

## VolkszählerApp für Android, Version 0.9.1

Funktionen:

- Abrufen der Channelinformationen und Anzeige der letzten Werte
- Anzeigen von Details zu jedem Channel
- Tabellarische Ansicht der Verbrauchswerte
- Anzeigen von Charts zu einzelnen Channels, incl. Zoom, auch mit „Touch and Move“ im Diagramm
- Anzeigen von Gruppen-Charts und Hinzufügen weiterer Graphen ist möglich ("Long Touch" im Chart)
- Unterstützung von Basic Authentication und HTTPS, **_ABER das Zertifikat wird nicht wirklich geprüft_** , es werden auch ungültige oder Man-in-the-Middle-Zertifikate akzeptiert
Expand All @@ -36,12 +37,14 @@ Wenn das Clonen bzw. das Öffnen des Projektes wegen eines ausgegrauten "Use def
---

English:
## VolkszaehlerApp for Android, Version 0.9.1
## VolkszaehlerApp for Android, Version 0.9.2


Features:

- Download of Channel Information and Display of recent Values
- Shows Details for all Channels
- Shows Values in TableView
- Shows Charts for every Channel, supports Zoom, (Touch and Move)
- Shows Charts of Groups, it is possible to add further graphs (use "Long Touch" in chart screen)
- Supports Basic Authentication und HTTPS, **_BUT the certificate is not really checked_**, the app accepts also invalid or Man-in-the-Middle certificates
Expand All @@ -61,6 +64,16 @@ If the cloning resp. opening of the project fails due to a grayed "Use default g

## Version history:

### Version 0.9.2
#### New
- new TabelView of Values

#### Fixed
- fixed display issues with Channel of type "heat" and consumption

#### Changed
- small optimizations

### Version 0.9.1

#### Fixed
Expand Down
11 changes: 7 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.volkszaehler.volkszaehlerapp"
android:versionCode="91"
android:versionName="0.9.1">
package="org.volkszaehler.volkszaehlerapp"
android:versionCode="92"
android:versionName="0.9.2">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Expand Down Expand Up @@ -44,6 +44,9 @@
android:noHistory="true"
android:theme="@android:style/Theme.Holo.Dialog">
</activity>
<activity
android:name=".TableDetails"
android:label="@string/app_name">
</activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void onCreate(Bundle savedInstanceState) {
String typeOfChannel = Tools.getPropertyOfChannel(myContext, mUUID, Tools.TAG_TYPE);
switch (typeOfChannel) {
case "power":
case "heat": //really for all heat?
case "powersensor":
strom = true;
break;
Expand Down Expand Up @@ -177,6 +178,32 @@ public void chartsDetailsHandler(View view) {
}
}

public void tableDetailsHandler(View view) {
String range = "day";
switch (view.getId()) {
case R.id.buttonViewTableDay:
range = "day";
break;
case R.id.buttonViewTableWeek:
range = "week";
break;
case R.id.buttonViewTableMonth:
range = "month";
break;
case R.id.buttonViewTableYear:
range = "year";
break;
default:
range = "day";
break;
}

Intent detailTableIntent = new Intent(ChannelDetails.this, TableDetails.class);
detailTableIntent.putExtra("MUUID", mUUID);
detailTableIntent.putExtra("Range", range);
startActivity(detailTableIntent);
}

private void callChart(String zeitRaum) {
long from;
long to;
Expand Down
Loading

0 comments on commit ca84564

Please sign in to comment.