Update a deleted timeline item - google-mirror-api

The documentation does not specify it but ...
If a Glass user deletes a timeline item, can an authorized Glassware service use the timeline id of the deleted item and perform an update operation and have timeline item re-inserted into the Glass user's timeline with the same timeline id?

Once the user has deleted the timeline item, only a tombstone remains in the API to notify the Glassware.
Any requests to this timeline item aside from GET will yield a 404 Not Found response status.

Related

Reading and updating data from outside the widget

Is it possible to first request the data of some widget, and then update the data or add new ones?
Example: Product card widget. There are several of them on the page. I go to the admin panel and by pressing the button the data in all widgets is updated based on those received from other sources (API of a third-party site). In short, the synchronization of data in some widgets based on some data received from another site.
Whatever the manager manually checks, does not waste time changing prices, the availability of balances based on data from a friendly site, from where I get the data.
How can one read widget data on some page via PHP?

Looking for Outlook Office Web Appointment OOTB "Delete" button event handler

As we are able to track OnSend event on send button. Is it possible to track delete event on delete button while deleting the event? Please see the below screenshot for the same.
Screenshot
Currently delete event is not a part of the product.
We track Outlook add-in feature requests on ourĀ user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.

How to share timeline item from Google+ glassware which have two options (Comment, +1), no Share?

Current Google+ glassware adds a timeline item with shared picture when picture is shared to this user(device). Now this timeline item have two options (comment, +1), from this timeline item, is it possible to share this picture to some other glassware app,
or is it my glassware app should implement same functionality as Google+ glassware does.
Thanks
You won't be able to share Google+ timeline item unless the Google+ Glassware adds the SHARE menu item to the timeline items it inserts.
Please start this discussion in the Glass community forum and/or contact your guide to ask for this feature to be implemented; make sure to add as much details as possible regarding your use-case.

Initiating an app manually

Is it possible for the user to initiate interaction with glassware, rather than responding to cards that appear unsummoned? I plan to create an app that will only be useful in situations the user identifies.
I combed the documentation some and didn't find anything describing this, but it seems necessary.
You can use a Pinned TimelineItem
https://developers.google.com/glass/v1/reference/timeline
set isPinned to true and the card will appear on the left of the home screen. Users can then initiate your app functionalities through that card's custom actions.
A user can initiate interaction by tapping/using heads up to get to the OK GLASS prompt, then swiping to a card inserted by the Glassware, then tapping on the card, then tapping on an action. They can also share various items to contacts inserted by the Glassware. See the documentation on subscribing to user notifications:
https://developers.google.com/glass/about#subscribing_to_timeline_notifications

Destroy / Release store instance

I work in a navigation view. In this navigation view, you can stumble on a profile page.In this profile page you can see others profiles related to the current profile (basically pictures displayed in a dataview). You can navigate to other profile views by taping on these profiles.
Every time, the user click on a profile pictures, I create a new instance of the profile view and a new instance of the profile store.
Now, what I want to do, when the user goes back, (so when the view is popped) is delete the instance of the store associated to the instance of the profile view.
I already know when and how to delete the view, I just want to know how to delete the store and any reference to it.
Update : StoreManager
I just discovered the Ext.StoreManager.unregister function. Is it enough or is there something that should be done, to release the store (in order to free memory)?
Ext.getStore('storeId').destroy();
http://docs.sencha.com/touch/2-0/#!/api/Ext-method-getStore

Resources