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 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 & 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 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 ReadingWhy Im not excited about multitasking!
MULTITASKING ISNT FOR US Why Im not excited about multitasking! On iOS, OS X, Windows or any other platform, multitasking simply is not a good fit for humans. The reason is that while these operating systems might multitask and quite efficiently at times, humans and human brains more specifically, cannot multitask. Let’s take the typical working day. Let’s say that you finish eating lunch at home and get back in the car to drive to your office. On the way to work you remember that you have to pick up some groceries on your way back home. [toDoArray addObject:@”groceries”]; A few minutes later a call comes in and… Read More
Continue ReadingAndroid vs iOS
A friend of mine recently send me an email with this link from extremetech.com listing the 5 Android features that leave iOS in the dust. Here are my thoughts in response: 1. Homescreen/widgets. These drain battery life, which is why iOS doesnt have them. I’ve been learning to code in Android and their OS can run as many background services as apps that contain them. This drains battery and consumes bandwidth. iOS’s solution is APNS or push notifications which a server running on the internet can send to the device instead. Its not as fancy as Android, I agree, but ill trade it for battery life anyday. When hardware manufact… Read More
Continue Reading