google-gdk

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

Google Glass GDK: How to Communicate with Android Device

随声附和 提交于 2019-11-26 18:32:20
I'm looking for a way to send data between my Android Device and Google Glass that doesn't rely on Cloud API's. Is this supported? I see the Bluetooth connections in the My Glass app, which makes me think it can be done. Is there an example source code that shows how this is done? Or do I have to decompile the MyGlass app to figure it out? Is there a preferred method for doing this kind of data transfer? Ideally I'd like to transfer data in both directions. Ok, for the requesters.... EDIT: The code below still works, but I've put it into a git repo for those who are interested... https:/

Why is my voice command missing from the ok glass menu in XE16?

可紊 提交于 2019-11-26 11:45:19
I had a Glassware that launched using a voice command on the ok glass menu. It worked great in XE12, but in XE16 it does not show up in the main menu. Here's a snippet from my AndroidManifest.xml showing my voice command configuration: <service android:name="com.mimming.sugarglider.MapDisplayService" android:label="@string/app_name" android:enabled="true"> <intent-filter> <action android:name="com.google.android.glass.action.VOICE_TRIGGER" /> </intent-filter> <meta-data android:name="com.google.android.glass.VoiceTrigger" android:resource="@xml/show_map" /> </service> And here's the contents

Glass voice command nearest match from given list

泄露秘密 提交于 2019-11-26 07:34:43
问题 With Glass you can launch an app via the \'OK, Glass\' menu and it seems to pick the nearest match unless a command is miles off, and you can obviously see the list of commands. Is there anyway from within the app, or from the voice prompt (after the initial app trigger) to have a similar list given and return the nearest match. Random (non-real world) example, an app that shows you a colour, \"OK Glass, show the colour red\" \'show the colour\' could be your voice trigger and seems to be

Google Glass GDK: How to Communicate with Android Device

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 06:27:46
问题 I\'m looking for a way to send data between my Android Device and Google Glass that doesn\'t rely on Cloud API\'s. Is this supported? I see the Bluetooth connections in the My Glass app, which makes me think it can be done. Is there an example source code that shows how this is done? Or do I have to decompile the MyGlass app to figure it out? Is there a preferred method for doing this kind of data transfer? Ideally I\'d like to transfer data in both directions. 回答1: Ok, for the requesters....

Why is my voice command missing from the ok glass menu in XE16?

。_饼干妹妹 提交于 2019-11-26 02:35:04
问题 I had a Glassware that launched using a voice command on the ok glass menu. It worked great in XE12, but in XE16 it does not show up in the main menu. Here\'s a snippet from my AndroidManifest.xml showing my voice command configuration: <service android:name=\"com.mimming.sugarglider.MapDisplayService\" android:label=\"@string/app_name\" android:enabled=\"true\"> <intent-filter> <action android:name=\"com.google.android.glass.action.VOICE_TRIGGER\" /> </intent-filter> <meta-data android:name=