The SmartEyeglass API allows you to control what is displayed on the device, and to access and control the device sensors, such as the accelerometer, compass, camera, microphone, and so on. In this section, you’ll find a number of different guides talking you through the depths of SmartEyeglass development.
Not sure where to start? Check out this summary of guides, and click any of the guide names to learn more.
See the Design guidelines
for recommendations on UI design that conforms to Sony standards and conventions, and that ensures the user’s safety when wearing the SmartEyeglass device.
Every extension must provide basic configuration information about the app and its capabilities to the Smart Extensions framework.
- User interface
This guide shows specific techniques for defining an application UI for the SmartEyeglass display. You can render bitmaps or XML-based layouts, handle user-interaction events, and customize transitions between screens in your UI with built-in animation effects.
Define a widget that is suited to the SmartEyeglass display and use it as the entry-point card for your app.
Example of an entry-point card.
There are simple predefined dialogs for alerts and user notifications, and custom dialogs that you can use for multiple selection options and small menus.
Example of dialog with OK button.
A notification is a message displayed on the SmartEyeglass such as a Facebook update, Calendar alert, or SMS. You can display notifications to the user using the Notification API and the information displayed in each notification can be customized.
Example of a notification display.
- Sensor data
You can access data collected by the various sensors. SmartEyeglass has an accelerometer, a magnetic field sensor, and a gyroscope (a rotation vector sensor) that provide information about the user’s head movement, attitude, and direction. A light sensor provides information about ambient brightness.
Example of accelerometer sensor data.
The SmartEyeglass built-in camera can record still pictures or video, or it can save a real-time JPG stream to memory.
- AR rendering
Learn how to overlay a dynamic display onto real-world objects as they appear in the view the user sees through the SmartEyeglass.
- Voice-to-text input
SmartEyeglass can receive voice input from the built-in microphone, and translate voice into text.
Voice-to-text input operation in active mode.
- Audio I/O
The SmartEyeglass device acts as a Bluetooth headset. You can use the Android Bluetooth Hands-Free Profile (BT HFP) API to capture sound and play back audio as you would for any standard Bluetooth headset.
- Settings guide
Utility methods allow you to control settings such as safe display mode, whether the connection is Bluetooth or WiFi, and whether to play a sound on the controller’s speaker in response to particular events.