MyPins commit

Altered ring so that it's no longer fixed at centre of screen. Not yet implemented drag functionality, but can do a single touch to place ring. Stencil mask will also recalculate screen space coordinates and transform accordingly.

Refactored into MVC pattern. Ring is now draggable and scales on altitude. Still need to scale/position masking quad accordingly

Bit of decoupling. Make interfaces for all of the major PoiCreation classes

Separation of concerns. I've been working specifically on PoiRing functionality here, which isn't representative of the entire POI creation process. Broken everything down into PoiRing sub-namespace. This will make things clearer when I add non-ring related stuff to the PoiCreation module.

Additional ring improvements. Ring now spawns at centre of screen when initially set enabled. Also animates in and out, rather than just appearing/disappearing. Started workings of iOS UI. Added and wired button that toggles ring on/off.

Altered the PoiCreationView so that the PoiCreation button is actually a UIButton, rather than a UIView. Better UX this way as it is tinted grey when pressed

Slight name change PoiCreationView-->PoiCreationButtonView

First go at poi creation UI interaction. When button is pressed, bar appears. When cancel button on bar is pressed, state is reverted. Still need to fixup reactions and initial state

UI interaction between components working. Poi creation button reacts to search results menu being on screen, search results are cleared if poi creation mode is enabled

Ring now has renderable, slight refactor, ring code moved into own module

Refactoring of model concerns. Everything was driven by the ring, which isn't right. Now a PoiCreationModel which has a switchable state. Bit of a refactoring to go along with this. Implemented first effort of PoiDetails dialogue. Most wiring done. Gallery and camera working. Need to implement back (reset model) and confirm (submit to REST)

Added checkbox, share text, t&c text. Slight height change, made sure that share box isn't hidden away

Addition to the title and description sections of the poi details dialog box. Can now press on title or description and start editing over placeholder text (no need to delete existing text, etc). Placeholder text also has different colour.

Fixed bug where close button in details dialog wasn't wired up properly. Was using a gesture recogniser in controller. Close button now works, model state sets to inactive and view resets upon fade-out animation finishing. This means you can close and open and images/text etc will have reset

Tweaks to details model/views

Removed redundant arrow renderable. Added scaling to ring icon so that it's visible from high altitudes.

Added new UI components. Added confirm button functionality on POI details dialog box. At the moment, this just caches the JPG image to file.

Poi data can now be saved to local disk. Image saves to library directory, pin model data is saved in a json file

Removing API keys
Pins now save locally to JSON file. Persistent between runs of app now. Also added initial web request call. Currently working, though images aren't getting through. Believe this might be a shortcoming of some of the lower level web request API code.
Added MyPin loading from disk and display on LHS menu
Merge branch 'master' of github.com:eegeo/mobile-example-app into poi_creation

Conflicts:
	ios/ExampleApp.xcodeproj/project.pbxproj
	ios/ios_src/AppHost.h
	ios/ios_src/AppHost.mm
	ios/ios_src/ViewController.mm
	ios/ios_src/Views/MenuView/MenuViewController.mm
	ios/ios_src/Views/PrimaryMenu/PrimaryMenuView.mm
	src/MobileExampleApp.cpp
	src/MobileExampleApp.h
	src/PrimaryMenu/IPrimaryMenuModule.h
	src/PrimaryMenu/PrimaryMenuModule.cpp
	src/PrimaryMenu/PrimaryMenuModule.h
	src/WorldPins/IWorldPinsModule.h
	src/WorldPins/WorldPinsModule.cpp
	src/WorldPins/WorldPinsModule.h
	src/WorldPins/WorldPinsService.cpp
WIP Droid implementation of My Pins UI.  Created layouts for each UI element & hooked up to view model.  Still to implement photo selection & submission of poi. Buddy: Ian
Renamed PoiCreation => MyPinCreation. Whilst doing so, renamed CretaionButton objects to CreationInitiation.
Fixed some of the stencil rendering. The actual geometry that renders to the colour buffer is now just a full screen quad, rather than a smaller quad based on the position of the spheres. This means that we don't have the issue of parts of the ring disappearing at low altitudes. This has concomintantly simplified the controller, too, as no screen space calculations are necessary. We no longer need to constantly update the quad's MVP. Finally, we don't need the dependency on screen properties any more.
Fixing up MyPinCreation functionality to use new cross-thread message buses. Pair: Tim
Merge branch 'master' into poi_creation

Conflicts:
	src/ExampleAppMessaging/NativeToUiMessageBus.h
Remove API key
Merge branch 'master' into poi_creation

Conflicts:
	src/MyPins/MyPinsService.cpp
Merge branch 'master' into poi_creation

Conflicts:
	src/MyPins/MyPinsService.cpp
Merge branch 'master' into poi_creation
Hooked up photograph taking an selection to the Poi Creation box. Added additional permissions to application & changed launch mode from SingleInstance to Standard which is required to launch additional activities (i.e. Camera) correctly from application.  MainActivity now contains a PhotoIntentDispatcher, used for firing off and recieving callbacks and image data.  Hooked up submissions button but disabled the saving of POIs for now. Buddy: Mark
Generalised some pin controllers so that different domain models can make use of the WorldPinsService to display pins. Also wired up MyPins to make use of this. Introduce functionality into the LHS menu to allow jumps to custom pins
Merge branch 'poi_creation' of github.com:eegeo/mobile-example-app into poi_creation

Conflicts:
	src/MyPins/MyPinsService.cpp
Merge with latest, Includes rename of PoiCreation -> MyPinCreation domain, usage of Ui to Native message bus for informing model of state changes, and added thread asserts. Buddy: Jonty
Fix issue on S2 device where taking a photo with the example app to store as a POI created invalid images on the SD card and failed to show correctly.  Removed ability to set specific gallery, now uses public Pictures folder. Added additional permission for camera. Buddy: Mark
Merge branch 'poi_creation' of github.com:eegeo/mobile-example-app into poi_creation
Fix for bug in which search result hover card would not be interactive if it first became visible during a period of modality -- this could be reproduced by performing a search, then performing a long camera pan, then quickly opening a menu. The result at the resting point of the camera would be created, then made invisible and non-interactive due to being in a modal context. The location and visibility were correctly set when the modal dialog or menu is exited, but the interactivity was not re-enabled. Fix is to enable the control when updating the location.