Wednesday, December 11, 2013

My First "Google Glass App"

I made what my friends consider a poor purchasing decision - and what I hope will pay itself off in the long run. I bought an explorer edition of Google Glass.

The purpose, of course, was to start developing for them. I'm a programmer at heart and programming is what I want to do. It took about a week before I finally got around to making my first app, and of course being an Android developer I wanted to play with the newly released "Glass Development Kit" or GDK - the API on top of Android specifically for Google Glass Apps - not the mirror api cards. So I took apart one of Google's samples, as I'd never worked with Services or RemoteViews before.

It says "Meow" (on the card) when you trigger it using the voice command "OK Glass, Meow."

To do this, I had to create a few things: MeowService - the service running in the background that controls the LiveCard, meow_card.xml - the layout file that simply says "meow", MenuActivity - the required intent when interacting with the live card (yes, required!), and voice_trigger_start - a trigger with the text to launch the app, and of course AndroidManifest.xml, but that's barely important.

10 comments:

  1. you shared a great post and your concept is very good and thanks for this ossm site, if you are interested then you may like: top car of world

    ReplyDelete
  2. You blog post is just completely quality and informative. Many new facts and information which I have not heard about before. Keep sharing more blog posts: Records daily

    ReplyDelete
  3. Today, Christmas is both a religious and cultural holiday, centered around the birth of Jesus and celebrated all over the world. Midwinter ...

    ReplyDelete
  4. Comments on a handsome boy's pic · Impressive picture. · You look strong and confident. · That's a perfect gentlemen pic. · Wow! Looking handsome ...

    ReplyDelete
  5. As very long as merchandise will need being manufactured and assembled, there will be plenty of position options in just enterprises that serve a basic business functionality. click for more: is basic industries a good career path

    ReplyDelete
  6. He experienced a struggle with Lorena for more than 14 several years and experienced many hijas. Could or not it's that divided from me you will find there's ton of adoration nonetheless. click to get info: alexander shunnarah net worth

    ReplyDelete
  7. Doki Literature Club can be a transient time period actively playing American freeware visual novel video game established by group Salvato from the yr 2017. click here: how long is doki doki literature club

    ReplyDelete
  8. She has proven up on Television on Big-name Phantom Stories and Superstar Around fiascoes. As indicated by crystal gazing, Michael’s income is monitored. He wedded Lisa Kendrick...michael cooke kendrick

    ReplyDelete