KeyAnalyser v0.7

18th March 2013 - Sheikh Mehdi

Changes:
=======
- Removed obsolete class files (AlbumStorageDirFactory, BaseAlbumDirFactory & FroyoAlbumDirFactory) from initial photobyintent project.
- Changed package name from "com.example.android" to "mehdis", project name from "photobyintent" to "KeyAnalyser", and main activity from "photobyintent.java" to "KeyAnalyserActivity.java".
- Added "results" class, to store each instance in a single variable.
- Removed dialog for results, and use TextView instead (working on showing the last 10 results at a time).
- Added ImageView for key model (if found).
- Added context menu to ImageView, which contains a link to catalogue page at ekc.silca.biz (needs log in).
- Combined "Delete Temp Files" and "Delete Temp Images" into one option.
- Added "Clear Screen" option to clear TextView and ImageView.
- Added left/right buttons to side of Views to scroll through past results (once working).
- Restructured all analyses (extraction, pixel/cm ratio, canny analysis, degree mesurement) to run within a single FOR loop, increasing efficiency, and accuracy of results.
- ImageView scales images according to available size (for other devices, hopefully).
- Added toast to confirm how many frames being analysed.
- Fixed bug where vidLength was being incorrectly calculated (was dividing, then multiplying, which rounded the number down).
- Created class "Key", containing name, length and degree of keys in database (currently just MS 2, UL 050, UNI 3 & UL 054).
- Added array to store recent results (static array for 10 instances).
- Left/Right buttons now disappear at correct times (when not possible to use) using onClickListener.
- Images for keys now saved in res/drawable.
- "No model found" scenario now handled.
- NaN error for angles also handled.

Issues:
=====
- Need to find a way to restore ImageView on orientation change (TextView is fine) - Not doable for now. Need to make ResultStorage (user-defined class) parcelable for OutState.

NOTE: v0.7 is considered a different application to v0.1-v0.6, due to the project name change. As a result, you cannot overwrite v0.6 or lower with this version.