Google Glass: Developing and testing using PlayGro

2019-04-02 09:53发布

问题:

I am not a person with the Google glass and I am not a person registered glass explorer. It seems like we can't develop for glass at the moment. - https://developers.google.com/glass/quickstart/java

Is this is it or is there another way around? I have seen a post from another member, developing a prototype with the playground. He mentioned about "uploading" HTML files to the playground, so, I also need to develop a UI prototype. But I have never seen a way to upload anything to play ground rather than typing just text in text box next to the play ground window.

Once we develop with playground (if possible) can we simply plug it to glass or do we have to redesign and develop everything with Mirror API or glass GDK ?

Can someone please help me with this?

回答1:

It's correct that you can't upload something to the playground. You can use the playground to test the layout of your cards and see how they will be displayed on Glass, you can't really do much more than that if you don't have access to the Mirror API.

I would suggest you take a look at https://github.com/Scarygami/mirror-api/ which lets you host your own clone of the Mirror API on App Engine with almost equivalent features and a browser-based emulator, which should allow you to develop Glassware that should run on Glass with minimal to no changes necessary, once you have access to the real Mirror API.