I’d like you to create an App, due by Friday, March 21 by the end of class, that uses either the Geolocation, Accelerometer, or Compass API in conjunction with Cordova. I am concerned with the functionality of the app primarily, the design is secondary. You will not be required to use a framework (like JQM), but it’s an option (and in some cases makes your app easier to create).
There are a boatload of geolocation examples on the server that you can use as a starting point, but I’d like you to add some functionality to these existing apps rather than just re-creating them. For instance, there’s a driving app on the server; what if you tweaked it to be an app that shows driving directions from wherever you are to Elon, specifically? Or there’s the ‘places’ app, which shows the restaurants in an area around Elon. Why not change that to show, say, hair salons in East Durham, or sports stadiums in the Triangle, or korean food in Los Angeles?
You are not required by any means to use Google Maps, but many of you will want to (keep in mind you can use Google’s Geocoder to reverse-geocode latitude and longitude, and Google’s driving directions and places API, without using a Google map). But if you do use Google maps, it’d be a really good idea to do something to your map to make it look ‘different,’ such as using the Google maps style wizard (or even using MapKit or a Google maps alternative).
I know how busy / preoccupied you folks are with your capstone, but I also think many of you have capstone projects that’d benefit from geolocation. So, if you can ‘port’ that from of geolocation into an app for our assignment, you should be able to re-use that coding on your capstone!
All the online tutorials I’ve found only show how to display your x/y/z/timestamp info on the screen, which is useless. If you’d like to develop an accelerometer app, please do something with these values, such as make a ball roll around (the project we’re looking at in class), or tilt an image, a la parallax, or something else kinda cool. I’ve had quite limited luck getting the iOS to recognize a ‘shake’ event (using the accelerometer API), so that may not be the best approach.
Again, all the online tutorials you’ll find will just show you how to print your heading on the app’s screen, or at best rotate a needle around a compass (just like the compass app already on your phone). Any use of the Compass API will require some decent creativity. (I was thinking of a ‘game’ / ‘test’ where you ask people to guess what direction they’re facing?)
A few requirements:
- This must be an ‘app,’ not a website. When you hand it in, I’d like your entire App folder (that was created by ‘cordova create…’)
- Please only bother to develop for iOS, as that’s what I’ll test it on.
- Please format it for the iPhone, or, if you’d rather format for the iPad, that’s fine, but tell me in advance so I don’t test it on a phone and think you did a crappy job.
- If you don’t hand it in by March 21, you’ll get a ‘LP’ for our class’s mid-semester grade. This is non-binding, but still scary. Yes, you can hand it in early.