caseydavenport / biermacht

Homebrewer's Companion for Android
Apache License 2.0
23 stars 10 forks source link

Export / import data with measured S.G. and batch size #83

Open gabeweisz-oldacct opened 5 years ago

gabeweisz-oldacct commented 5 years ago

It would be great if, when exporting the data and importing it into a new device, the data included the measured gravity and batch size in addition or instead of predicted values.

caseydavenport commented 5 years ago

Agreed - I don't think it was intentional to leave that out.

caseydavenport commented 5 years ago

We at least appear to be exporting the gravity metrics here: https://github.com/caseydavenport/biermacht/blob/master/src/com/biermacht/brews/xml/RecipeXmlWriter.java#L86-L87

And importing the fields here: https://github.com/caseydavenport/biermacht/blob/master/src/com/biermacht/brews/xml/BeerXmlReader.java#L517-L526

So, there might be something slightly wrong with that if you're not seeing it exported / imported.

I don't see batch size in that though.