Subscribe to Glass Platform Announcements |
XE22.0 - October 14, 2014
User features
- Glass now supports Android notifications. For more information, see Notification Sync.
GDK
Changes to CardBuilder
:
setAttributionIcon(android.graphics.Bitmap)
,setAttributionIcon(android.graphics.drawable.Drawable)
, andsetAttributionIcon(int)
have been added.setEmbeddedLayout()
has been added.showStackIndicator()
has been added.- Added new
EMBED_INSIDE
layout.
Other changes:
- Added
Slider
widget to support loading/progress animations. - Added new voice triggers to
VoiceTriggers.Command
- Added new contextual voice commands to
ContextualMenus.Command
XE21.3 - September 24, 2014
GDK
CardScrollView
now has the scrollbar enabled by default. To disable it, callsetHorizontalScrollBarEnabled(false)
.
XE21.0 - September 8, 2014
User features
- Advanced developer settings are now available from the settings menu when debug mode is turned on.
GDK
- Replaced
Card
withCardBuilder
, which supports many more layouts.Card
is now deprecated and will be removed in a future release. - Added new voice triggers to
VoiceTriggers.Command
- Added new contextual voice commands to
ContextualMenus.Command
- Added support for contextual voice commands on
LiveCard
. - Added animations to the
CardScrollView
widget. - Deprecated the behavior of the
GestureDetector.ScrollListener
: a future release will report scroll events regardless of the number of fingers on the touchpad. To keep the old behavior (i.e receiving scroll events only when exactly one finger is on the touchpad), use the newGestureDetector.OneFingerScrollListener
and its related setter. - Updated the GDK samples to be fully compatible with Android Studio.
XE20.1 - August 21, 2014
GDK
Fixed:
- Issue #469: MediaStore.ACTION_VIDEO_CAPTURE intent does not use duration limit or size limit
- Issue #289: Support ACTION_WEB_SEARCH intent to search using Glass UI
- Issue #412: Expose the Volume widget / card
- Issue #555: Tap to accept, is not working (MediaStore.ACTION_IMAGE_CAPTURE Intent)
- Issue #578: MediaRecorder fails to capture video after update XE19.1.
Mirror API
Added new timezone
setting to the
Settings collection.
XE19.1 - July 15, 2014
GDK
Added support for USB webcam On-The-Go (OTG) on Glass. Known issues include:
- Plug and play for the video node is not supported. Reboot Glass to detect attached webcam.
- If the attached accessories have a microphone, contextual voice commands may not work.
- Holding a partial wakelock is recommended to prevent the system from suspending access to attached webcam.
Check out the Google I/O 2014 Innovate with the Glass Platform session for more information.
XE18.1 - June 10, 2014
GDK
- Added Contextual voice commands support for immersions.
- Added the
ACTION_ON_HEAD_STATE_CHANGED
broadcastIntent
to notify you when the user is wearing or removing the device. - Moved the Camera API
EXTRAS
from theCameraManager
class to the newIntents
class.
XE17.3 - June 3, 2014
GDK
- Some
CardScrollView
methods are no longer private.
XE17.1 - May 13, 2014
GDK
- Added new voice commands to
VoiceTriggers.Command
XE16.2 - April 29, 2014
GDK
- Added new voice commands to
VoiceTriggers.Command
XE16 - April 15, 2014
GDK
Changes to Card
:
toView()
is no longer supported. Use one of thegetView()
methods instead.addImage(android.net.Uri)
is no longer supported.addImage(android.graphics.Bitmap)
andaddImage(android.graphics.drawable.Drawable)
are now supported.getImage(int)
returns anandroid.graphics.drawable.Drawable
.getText()
returns andsetText()
expects ajava.lang.CharSequence
.getFootnote()
returns andsetFootnote()
expects ajava.lang.CharSequence
.getTimeStamp()
returns andsetTimestamp()
expects ajava.lang.CharSequence
.getItemViewType()
andgetViewTypeCount()
have been added for view recycling.
Changes to CardScrollView
:
onPreActivate()
andonPreDeactivate()
are no longer overridable.getItemForChildAt(int)
is no longer supported.isSettled()
is no longer supported.updateViews(boolean)
is no longer supported, useBaseAdapter#notifyDataSetChanged()
instead.
Changes to TimelineManager
:
The TimelineManager
class and support for static cards from the GDK have been removed.
Changes to LiveCard
:
- You now create a
LiveCard
with theLiveCard(android.content.Context, java.lang.String)
constructor. - The
navigate()
method has been added to navigate to a publishedLiveCard
. setRenderer(com.google.android.glass.timeline.GlRenderer)
supports adding an OpenGL ES 2.0 renderer to aLiveCard
.attach(android.app.Service)
has been added and lets you run the live card service in the foreground.
Changes to CardScrollAdapter
:
findIdPosition()
andfindItemPosition()
have been replaced bygetPosition(java.lang.Object)
recycleView()
andsetItemOnCard()
have been removed.
Other changes
- The
Sounds
enum values have been updated. - The
GestureDetector
has twoisForward()
helper static methods to detect whether or not a gesture is forward.
Voice Triggers
- Production-ready voice commands are required for submitting Glassware for review.
- Unlisted voice commands require development mode.
Mirror
GET_MEDIA_INPUT
is now a supported
menu item action and lets you provide media payloads to Glassware from a menu item
(currently, only transcribed text from voice input is supported).
XE12 - December 17, 2013
User features
See the new user features at support.google.com.
GDK
The following GDK changes were made in the XE12 platform release:
Changes to TimelineManager:
- The timeline supports the insertion of static cards.
getLiveCard()
is nowcreateLiveCard()
.
Changes to LiveCard:
enableDirectRendering()
is nowsetDirectRenderingEnabled()
.setNonSilent()
is removed. Thepublish()
method now takes theLiveCard.PublishMode()
enum that determines whether the timeline publishes the card silently or publishes and gives the card focus.
Changes to Card
:
getTimestamp()
andsetTimestamp()
are removed.getInfo()
andsetInfo()
are nowgetFootnote()
andsetFootnote()
.getFullScreenImages()
andsetFullScreenImages()
are nowgetImageLayout()
andsetImageLayout()
using theCard.ImageLayout
enum to determine the card's image style.
Other changes:
- The
Camera
class is nowCameraManager
. LiveCardCallback
is nowDirectRenderingCallback
.- Added the
Sounds
class, which provides constants that you can pass toAudioManager.playSoundEffect()
to play Glass system sounds.
Mirror
The following Mirror API fixes were made in the XE12 platform release:
XE11 - November 11, 2013
The following Mirror API changes were made in the XE11 platform release:
- The
VIEW_WEBSITE
menu item is no longer available.
XE10 - October 7, 2013
The following Mirror API changes support new features in the XE10 platform release:
- Timeline items that contain a URL in the text property now automatically provide
the
OPEN_URI
feature. The sharingFeatures property has been added to Contacts. It allows you to control the caption feature during the sharing flow. To enable captions, set it to
ADD_CAPTION
.{ "displayName": "Chipotle Cat", "imageUrls": ["http://example.com/chipotle.jpg"], "sharingFeatures": ["ADD_CAPTION"] }
Issues resolved:
- #197 - Crashes related to sharing timeline items have been resolved.
XE9 - September 9, 2013
The following Mirror API changes support new features in the XE9 platform release:
- Using
video/vnd.google-glass.stream-url
as an attachment'scontentType
is deprecated. To stream video, use thePLAY_VIDEO
menu item action with the payload set to the streaming URL instead. See Attaching video for more information. - If you override a built-in menu item's displayName, then the default contextual voice command for the menu item is not functional.
- The timeline
resource's
htmlPages
property is no longer supported. See Paginating for the currently supported method. VIEW_WEBSITE
is deprecated and will be removed in a future release. UseOPEN_URI
instead.
Issues resolved:
- #164 - Video streaming now supports YouTube video URLs
XE8 - August 12, 2013
The following Mirror API changes support new features in the XE8 platform release:
Glassware specified voice menu commands
- Add voice menu commands using the
contacts
resource. - Specify your voice command in the
contacts.acceptCommands
property. - "Take a note" and "Post an update" are the only commands currently supported. To request support for other voice commands, fill out the Suggest a Glass Voice Command form.
Improved HTML pagination
- Manual and automatic pagination from within the
timelineItem.html
property. timelineItem.htmlPages
is deprecated and will be removed in a future release.
New VIEW_WEBSITE
menu item:
- When activated from a timeline card, this opens the URL specified in
menuItem.payload
with the Glass web browser.
Issues resolved:
- #6, #63 - Glassware can now register voice commands using the Mirror API
- #91 - Video is now playable from an HTML card, and thumbnail URL can now be specified
- #115 - Video playback is now handled by a menu item
- #137 - New built-in action:
VIEW_WEBSITE
- #160 - Images with very long URLs now work
XE7 - July 7, 2013
Issues resolved:
- #53 - Videos now preserve their aspect ratio
June 13, 2013
Share contacts no longer need to be enabled by users on MyGlass. All contacts are now enabled by default.
If your Glassware includes documentation that advises your user to enable a share contact (for example at the end of the authentication flow or as a welcome card) you should remove it.
XE6 - June 4, 2013
The following Mirror API changes support new features in the XE6 platform release:
Added
video/vnd.google-glass.stream-url
as a MIME type for timeline attachments. This MIME type allows you to specify a URL to stream video from.See Attaching video for more information.
Added the ability for users to add captions to shared images. The caption is stored in the timeline item's
text
property.See Captions for shared photos for more information.
Issues resolved:
- #77 -
htmlPages
now work within threaded bundles
April 15, 2013
Initial release of the Mirror API.