Feeds:
Posts
Comments

Posts Tagged ‘iPhone’

Introduction

App Icon

App Icon

Following on my first post about my Easy ABVs application for the iPhone, I’ve now completed the application and thought I’d post a few pictures and describe how it works. Easy ABVs is a calculator application specifically designed to calculate alcohol content of a spirit, and show how adding water affects the final ABV (Alcohol by Volume). In addition to cleaning up the appearance, I’ve made pretty much all of the settings user-configurable, and added an information screen. I got around my lack of artistic abilities by going with a completely text-based application icon. It’s supposed to be a take on a grade school “ABCs” notebook ledger.

The calculator (Final ABV mode)

ABV Calc (Final ABV Mode)

ABV Calc (Final ABV Mode)

The calculator allows you to enter the original ABV of a spirit, the size of the drink you’re pouring, and by default, the amount of water you want to add. Note the combination of text boxes and sliders. I find the sliders to offer a level of convenience that you don’t get with similar web-based calculators. For one, I can enter the data a lot faster with the slider. Another benefit is the ability to progress through a bunch of numbers and see real-time updates in the results pane.

The results pane (panel at the top) displays a number of relevant calculations:

  • Pure Alcohol = Spirit Volume * (Spirit ABV / 100)
  • Drink Units takes the amount of pure alcohol and divides it by the number of ml considered to make up a single “drink unit.” There are standard drink unit sizes for the UK and US. More on that further down.
  • Total Volume = Spirit Volume + Water Added
  • Final ABV is the Alcohol by Volume for the combined water and spirit.

The calculator (Add Water mode)

ABV Calc (Add Water Mode)

ABV Calc (Add Water Mode)

The above image shows the calculator after I clicked the “swap” button right below the results pane. Now, instead of entering an amount of water to add and seeing the calculated Final ABV, you enter a Final ABV and see the calculated Add Water amount in order to dilute the spirit to the desired strength. This can be handy if you’re comparing a number of whiskies and want to try them all at the same strength. Simply set the Final ABV where you want it, and adjust the Spirit ABV for each whisky. The calculator will show you how much water to add.

The settings tab

App Settings

App Settings

Pretty much everything in the calculator is user-configurable. You can set the min/max values for the sliders. I recommend setting them so that the range is as small as possible, based on your normal use. This way you can be more accurate with the sliders. The more numbers, the more difficult to land on a particular one. The default values are also configurable. These are the values for when the application starts up, and when you hit the reset button. I’ll discuss the Drink Unit size in the next section.

The information screen

Info Screen

Info Screen

Clicking the “i” button in the lower right corner of the settings screen causes the screen to flip over and reveal some information about the whole Drink Units concept. The UK and US have similar guidelines for what they consider “moderate” drinking. They use different base drink sizes, but recommend similar total limits on a daily/weekly basis. The 10 ml drink unit in the UK is based off of a 25 ml serving of a 40% ABV spirit. The ~17.6 ml drink unit in the US is based on the amount of alcohol in a 1.5 oz shot of a 40% ABV spirit. I’ve set the default drink unit size to the UK 10 ml, but of course, it’s fully configurable. You could even come up with your own drink unit size based on your own habits/preferences.

What’s next?

I’m going to try posting this to the iTunes App Store and see what the process is like. I’m not charging anything for this application. I figure the potential audience is fairly small. You need to  not only be into drinking spirits, but you probably need to be something of a geek. 🙂

So…any whisky geeks out there want to give this a try before I post to the App Store and give me feedback, or see if you can break it?

Read Full Post »

Introduction

I’ve been reading up on iPhone development, and finally got around to creating something this weekend instead of just reading about it. It’s a pretty simple application, which is good, as it will allow me to get experience with the end-to-end iPhone App Development process fairly quickly. The purpose of Easy ABVs (as in “Alcohol by Volume”) is to help me quickly calculate how much alcohol I’m taking in (and keep myself in check), and to determine how much water to add in order to bring a whisky down to a particular ABV. I got the basic application working this weekend. I still need to make it “pretty”, and hook up the settings tab.

UPDATE: I’ve posted a Part 2 with pictures and details of my cleaned-up application. I’ve handed it out to a few people, but haven’t gone through the effort of putting it on the App Store, as I’m not sure it would appeal to a whole lot of people. I do use it now and then…mainly to figure out final ABV when adding water to a cask-strength whisky, or to figure out how much water to add so that I’m comparing at the same ABV in a head-to-head tasting.

Functionality and design

Easy ABVs Preview

Easy ABVs Preview

I want to be able to enter in the ABV of a whisky and the size of a pour, and immediately see how much pure alcohol I’m going to be taking in. In addition to having text boxes for data entry, I wanted to provide sliders. This way I can do everything one-handed using my thumb to control the application. With the sliders, I can also play around with different values easily, and scan the results as they’re updated in real time. I mean really…how much am I going to use this thing if I have to set my drink down to use it, or if it takes me a while to enter the data? 🙂

I started out with the original ABV and volume at the top, as these are the starting data points for the calculations. It makes visual sense to go from top to bottom, right? The problem with this is that my hand ends up being over the bottom of the screen while I’m setting the values, and I have to move it to see the results. I decided it was much more useable with the data entry at the bottom and the output at the top. I also added a “swap” button next to the “Add Water” text box. This moves the Add Water value up into the calculations panel and the Final ABV down to the data entry area. Now I can select a specific ABV and have the application calculate how much water to add.

Next step

Next weekend, I’ll look into creating a background image for the calculations panel (I wish I had at least a LITTLE artistic talent). I also need to create the settings tab view. I want to allow customization of the min/max ranges of the sliders, and the default values. I thought I’d also add support for switching between US and UK modes, with the US mode showing proof and US drink units. I also want to go through the process of trying to add it into the App Store, just to see what that experience is like. I’ll post an update when I’ve completed the application.

Video Demo

Read Full Post »