Jumping right in, let’s create a Glass GDK project from scratch: Create New Android Project Configure GDK Imports Code qwe To create a new project…See our Part 1 of the tutorial. Make sure to configure the Glass GDK Sneak Peek Manually if it didn’t get configured by Android Studio or Eclipse on set up. As it turns out, even if you create a project setting GDK as the Compile for API, it doesn’t get created as such. You must double check in your build.gradle file (CAREFUL, there are 2 such files. You need to modify your inner most gradle file) and make sure it looks something like this: And you… Read More
Continue ReadingFirst Google Glass App – Part 7 – Bridge to Glass App GDK Development
Before jumping into Glass dev, let’s understand how to create a Hello World project in Android Studio (AS) and run it on our device. Create New Project Get to know the guts Add Imports Add Code Tweak guts Run on Device Create New Project When you select New Project from the File Menu, you get this Wizard screen: Fill in the Application Name in a natural language and the Module Name without spaces. Make sure to select API 15 for Minimum and Target SDK but Glass Development Kit Sneak Peek for Compile with. Click Next and in the next screen just leave everything as is (the launch icon selector screen).… Read More
Continue ReadingGlass Development Mirror API – Part 4 – Where to start after setting up!
So you have Glass and you want to develop apps for it? You already have an IDE such as Eclipse or Android Studio to code your apps in, you know all about adb and Droid@Screen to view your Glass screen on your computer screen! Well you do have options, before jumping into your typical Hello World Glass app. As with other platforms like iOS, you have the option of native apps and web based services apps. This last option is basically an app that runs on a server(s) and interacts directly with your device (be it Glass or iDevice) by sending it information. Native – GDK – Apps These are… Read More
Continue ReadingFirst Android App – Part 5
My First Android App Android is based on Java much like iOS is based on ObjectiveC. If you are coming from an iOS background, itll be a bit jarring at first. Even though ObjC “comes from” C, C formats are a bit different. So I thought Id start with that first. ObjC: [myObject methodForDoingThis:someParameter]; is a method call which refers to this declared method: -(void)methodForDoingThis: (id)someParameter{ //1. Take the passed in parameter //2. Do something to with that parameter value //3. Call some other method… //4. Or if this were a method that returned an object instead of void //4. Return a new object value } C: myObject.methodForDoingThis(someParameter); is… Read More
Continue ReadingGoogle Glass – Part 2 – Pros & Cons
In the first review I covered basically what Glass is and what its not, what it can & can’t do. Now on to usability! PROS (IMHO) The biggest advantage in my opinion, is being able to interact with information without having to look down like a zombie. Or more importantly, not just the fact that we all look like zombies throughout the day, constantly checking our phones. Because of course some will argue we are “Glassholes” or look like morons wearing these glasses. But if you’re a true techie, you don’t care how something looks, you care about what it can do. Its very comfortable to be able to get… Read More
Continue ReadingGoogle Glass & Android Series for Developers & Users
So I’ve gotten a little carried away with the Glass-Android thing. My posts are as disorganized as my thoughts, so I thought I’d organize my posts a bit. Here is the set of posts for Android & Glass Development as of Feb 15th, 2014: Google Glass Review – Part 1 – 什么 (shen me = what = what Glass is & isn’t) Google Glass Review – Part 2 – Pros & Cons Develop apps for Google Glass – Part 3 – Setting up! Glass Development Mirror API – Part 4 – Where to start after setting up First Android App – Part 5 First Android App – Part 6 First Google… Read More
Continue ReadingGoogle Glass Review – Part 1- 什么
I got my Glass a little late…but here is my review! What they are? You might think the answer is obvious, but its not. Its a wearable computer but its not a full blown computer. Does that make it less of a computer? Not really, unless you consider ipads and iphones less than a computer because you can’t do ALL the things you can normally do on a full blown laptop. What can you do with them? Since we already mentioned you can’t do everything you can on a full blown computer, let’s talk about what we CAN DO! Out of the box, Glass comes with a few commands such… Read More
Continue ReadingDevelop apps for Google Glass – Part 3 – Setting up!
If you have experience in Android (Java) development, this will be even easier. What you’ll need: Google Glass – to test your apps on Eclipse or Android Studio for coding Android SDK 15 & Glass Development Kit Sneak Peek (GDK) Configure adb Glass Well you either borrow a pair or get your own, but you will need Google Glass to test your apps. The reason being that there is no Glass emulator as there is for Android as of yet. Eclipse or Android Studio Eclipse is the most widely known IDE for Android programming but its worth getting to know Android Studio, the new IDE for developing on Android &… Read More
Continue Reading