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 ReadingiOS7 Sprite Kit for Game Design for iPhone & iPad
iOS 7 Series – Sprite Kit Welcome to iOS7 and to start off, I want to kick things off with SpriteKit. Although it deals with video games, many companies are using iOS apps as a marketing tactic to engage their users in an effort to promote their products. SpriteKit is the most prominent feature in iOS7 so we’re going to take a quick tour. Go ahead and create a New Project in XCode5 and select the SpriteKit template (the bottom right icon): Click next and fill in your project data. Once you are in the main XCode window notice we have the following files in the Project Navigator: 1) AppDelegate… 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 6
My First Android App Now we are going to receive the input of this message and use the button to send it. To do so, edit your Button declaration to look like this: <Button android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”@string/button_send” android:onClick=”sendMessage” /> We are simply telling it to respond to the onClick button action by calling the sendMessage method. So we must declare this method in code, of course. Open your MainActivity.java file and add the following: /** Called when the user clicks the Send button */ public void sendMessage(View view) { // Do something in response to button } We are declaring a public method that returns void, is called sendMessage and… Read More
Continue Reading