google-mirror-api

Menu Item for “OPEN_URI” not present in menuItems return

狂风中的少年 提交于 2019-12-01 00:24:12
I have a card that is being inserted in my timeline by the mirror api. The card has 3 options: SCAN, REPLY, DELETE. Expected-> Barcode Test[SCAN, REPLY, DELETE] Received-> Barcode Test[REPLY, DELETE] The Reply and Delete options only return on menu item. If i change 'OPEN_URI' to 'CUSTOM" it returns but does not do what I hope to do, which is open my android.scan.(this is present no my device) I followed similar steps to here and on the Mirror-API docs about creating the menuItems https://developers.google.com/glass/v1/reference/timeline#menuItems Opening GDK Glassware through Mirror API

Menu Item for “OPEN_URI” not present in menuItems return

家住魔仙堡 提交于 2019-11-30 19:38:44
问题 I have a card that is being inserted in my timeline by the mirror api. The card has 3 options: SCAN, REPLY, DELETE. Expected-> Barcode Test[SCAN, REPLY, DELETE] Received-> Barcode Test[REPLY, DELETE] The Reply and Delete options only return on menu item. If i change 'OPEN_URI' to 'CUSTOM" it returns but does not do what I hope to do, which is open my android.scan.(this is present no my device) I followed similar steps to here and on the Mirror-API docs about creating the menuItems https:/

How can I start an intent from a card in Google Glass

限于喜欢 提交于 2019-11-30 15:49:00
问题 I've tried this app, Crystal Shopper : https://crystalshopper.herokuapp.com/ which seems to be able to start an application from a card. As you can see in this screenshot https://crystalshopper.herokuapp.com/static/images/barcode_search.png there seems to be a command called crystalshopper://open Source seems unavailable, so I must infer... Is correct to assume that this is simply an action which, through the Mirror API, tells the server to send a special notification to the device, which is

How to test Mirror API Subscriptions

泪湿孤枕 提交于 2019-11-30 13:53:57
The restrictions of a https callbackUrl and the nature of the subscriptions as a whole makes it seem like this is something that can only be done with a publicly accessible url. So far I have come across two potential solutions to make local development / debugging easier. The first is the Subscription Proxy service offered by google. This workaround essentially lets you remove the SSL restriction and proxy subscription callbacks to a custom URL. The second and most helpful way I have found to do development locally is to capture a subscription callback request (say from a server that is

Google Glass Development Error: (403) Access Not Configured. Please use Google Developers Console to activate the API for your project

南笙酒味 提交于 2019-11-29 05:19:06
I am using the PHP version of the Google Glass Developer Kit. Setup everything per the sample code instructions. API/credentials are all fine, account billing is setup, have added the Mirror API to the project, but after I permission the application, I get the following Error: An error ocurred: Error calling POST https://www.googleapis.com/mirror/v1/timeline?key=xxxxxx (403) Access Not Configured. Please use Google Developers Console to activate the API for your project. I have added the Mirror API and have Billing active and setup so have no idea why i am getting the error message. Testing

Google Glass Development Error: (403) Access Not Configured. Please use Google Developers Console to activate the API for your project

天涯浪子 提交于 2019-11-27 22:43:33
问题 I am using the PHP version of the Google Glass Developer Kit. Setup everything per the sample code instructions. API/credentials are all fine, account billing is setup, have added the Mirror API to the project, but after I permission the application, I get the following Error: An error ocurred: Error calling POST https://www.googleapis.com/mirror/v1/timeline?key=xxxxxx (403) Access Not Configured. Please use Google Developers Console to activate the API for your project. I have added the

Opening GDK Glassware through Mirror API Glassware MenuItem

妖精的绣舞 提交于 2019-11-27 06:30:44
问题 I have problem integrating GDK Glassware and Mirror API Glassware as described here. I need to open GDK glassware application using Mirroe api Glassware app MenuItem. Can I send data bundle with intent. Does anybody have an idea about that. Thank you. 回答1: I have finally figured out a way to do that First add your custom scheme to android activity tag in AndroidManifest.xml <activity android:name="com.sanath.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name