A Ti-Alloy widget for displaying an augmented reality camera overlay
Failed to load latest commit information.
assets/images initial commit Aug 6, 2013
controllers radar range extended to most distant poi Nov 29, 2013
lib restructure to capture open-close while busy and shorter open-close d… Nov 29, 2013
models stabilized roll Aug 23, 2013
spec tests passing with utils moved into module Sep 2, 2013
styles restructure to capture open-close while busy and shorter open-close d… Nov 29, 2013
README.md updated readme Sep 2, 2013
widget.json doc describes poi config objects Aug 6, 2013


An Alloy Widget for Augmented Reality inspired by...

ParmaVision: A sample Titanium AR App by Jeff Bonnes

The purpose of this "port" is to create an Alloy Widget and keep working on the functionality of Jeff's Titanium AR example.

Main Differences

  • Alloy widget vs. pure Titanium (increasingly Alloy at least)

  • Jeff wrapped 360 degrees with a series of overlay views that had the AR tags placed on them. This widget uses one overlay view and moves AR tags within that one view.


	var arWin = require('/alloy').createWidget('ArView', null, {
		pois : [],					// place description objects (see below)
		overlay : null,
		maxDistance : 50000,		// in meters
		initialLocation: {
			latitude: 44,
			longiude: -93
		showDebugView: true,		// show orientation variables center screen
		staticLocation: true		// lock to the initial location
  • `pois' is an array of objects representing places to be tagged in the view.

The poi description objects in the array take this form:

		title: "My Place's Name",
		image: "place_icon.png",
		latitude: 44.1,
		longitude: -93.1
  • `overlay' is a view, possibly a title view, etc. that will sit on top of the ArView.

Example App

For an example of how to use this widget, please see ArView-Example-App.