Tag Archives: iPhone App

 

unnamed-4

At the time of this writing (pre-WWDC 2015), there are a number of limitations on what Apple Watch code can do. The primary limitation is that watch apps cannot exist by themselves. It is necessary for the watch app to be a part of a corresponding phone app. Apple has said they will not accept watch apps where the phone app does not do anything itself. Also, watch-only apps (such as watch faces) are not allowed for this same reason—although it’s rumored that this may change after WWDC 2015.

Another Apple Watch limitation is that Core Graphics animations are not supported, but animated GIFs are. Complex layouts (such as overlapping elements) are not allowed. However, elements can be positioned as if they overlap—provided only one element is visible at a time. Using actions such as taps and timers, the visibility of these “overlapping” elements can be changed. This can be implemented to provide a more dynamic interface. Another major limitation (also whispered to change after WWDC 2015) is that watch apps cannot access any of the hardware on the watch including the motion sensor and heart sensor.

Apple+Watch+UI+Kit

Most watch app processing (controller logic) is done on the phone instead of the watch, and some delays are inherent in the Bluetooth communication that transpires between the watch and the phone as the view (on the watch) talks back to the controller (on the phone). This view/controller split is not obvious in the code, but the watch/phone split is obvious in the code, as the watch cannot access anything from the phone, even though the controller logic is running on the phone side—except via a specific watch-to-phone request.

One notable feature is the watch app’s ability to explicitly call the phone app with a dictionary and obtain a dictionary response. This functionality allows the developer to then set up a number of client-server style requests, where the watch is the client, and the phone is the server. For example, the watch can request information from—or record information to—the phone. The phone (which has storage and may have Internet connectivity) can then fulfill the request and provide data in response to the watch. This can drive the phone app’s UI to provide near-real-time synchronization of the watch app display, as well as the phone app display.

Custom notifications (both local notifications and push notifications) are supported on the watch. These custom notifications can have a somewhat customized layout as well as having the ability to define a set of custom actions. After performing one of these actions, the watch app is started. Apple mentions not to use notifications as a way to just launch the watch app from the phone app. Apple maintains that the notifications should provide useful information.

applewatchapps-100531434-large

One developer test limitation relates to custom watch notifications (for local notifications).  Since watch notifications are only displayed if the phone is asleep, there is no direct way to test custom watch notifications.  Because of this, XCode does provide a mechanism to test push notifications in the simulator (using a JSON file), but there is no similar mechanism to test local notifications. Still, one can certainly test local notifications with the physical device.

An App to Monitor Your Teen or Employee Driver

scr-app-safe-driver-300wMobile apps have infiltrated themselves into the auto industry and one of the newest, Safe Driver Program for the iPhone by Dangerous Decisions, is going to make most parents of driving teens pretty happy. Amongst other things, this app lets you know the moment your teen goes over a certain speed or acceleration that you’ve set (by utilizing the iPhone’s GPS and accelerometer). It also records a number of other bits of driving data, including braking and cornering. This trip report can be password protected.

The app gets installed on the driver’s 3G or 3GS iPhone. Parents can use this to monitor teens, or companies can monitor employees who drive regularly as part of their job. Visual and audio indicators can warn a driver if they’re getting close to some set limit such as speed. If the driver violates some limit, the trip log plots the location on a Google map. Text message and email notifications, if configured, are received in real-time by the person doing the monitoring. The

Cost: free for the basic app [iTunes] and US$24.99 for the pro version. [Via Mobile Weblog]

What’s not clear is how you get someone to run the Safe Driver app, since it’s on their phone, but it sounds like a great concept. (I suppose you could make running the app on every trip mandatory.)

Want to discuss a mobile Web or native mobile app for your business or projects? Feel free to contact us to discuss your app or mobile campaign needs.