I started reading stuff on Google Glass development one week ago, including this. However, I still could not find a tutorial to develop a "complete hello world program". What I meant by "complete" is; where to get the API, how to set up the API, how to write the hello world UI, how to write the code for the UI, how to install the emulator/simulator and test it. For an example, if you take a Java / Android / C++ / C# book, the first chapter is a hello world program, the "complete note" which explains how to develop it, step by step, making sure the new user is not in a mess. I went through the developer guide, and it is not what I am looking for.
Since I couldn't find anything, what I did is wrote the HTTP code in here, in the given small text box.
But I saw some people have developed code and tested it, so I would like to have "step-by-step guidance for writing Hello world for Google Glass". I am sure it will benefit a lot of new comers as well.
Please note that my favorite language is Java and Android, I do not have a Google Glass and I am not a registered "glass explorer" (as they have asked here) if it matters.
Please provide me step by step instructions / Link to step by step instructions for writing Hello world for Google Glass, because even after a one week of reading, I am totally empty handed, giving so much stress to my student life.
You say that your favorite language is Java and Android so I'm not sure if you are looking for a mirror-api solution or GDK solution. If you want a GDK solution I've created a hello world application and it can be downloaded here: https://github.com/DasCody/Hello-Glass
From the sounds of it you're looking for a GDK solution.
Start with the Android SDK here: http://developer.android.com/guide/index.html
Then move onto the Glass GDK here: https://developers.google.com/glass/develop/gdk/
You can then find a step by step GDK "Hello World" article here: http://www.straza.co.uk/latest/google-glass-gdk-tutorial
Related
I'm fairly new to Appcelerator and Titanium and I want to start with developing Android modules but I have no clue where to start to be honest. I know there is a guide within the documentation of Appcelerator but that is not as detailed as I'd liked it to be and it feels somewhat out dated. I've struggled for days trying to get through the quick start without ever succeeding as a error occurred which I wasn't able to solve. There is another question just like this from 2011 where someone said it was best to just learn by reading code, but I don't understand the code at all or at least not the Kroll part of it. I've also read several blogs and tutorials but none give me any form of progress whatsoever.
So to keep it short, I'll get straight to the point.
Is there anyone who has any extra information or a detailed guide on how to start developing Android modules with Appcelerator and Titanium?
You have my thanks!
Take a look at this: http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Development_Guide
The online docs are really the best source.
I found a simple Google App Engine open source app which I'd like to play with. Coming from Objective-C my Java knowledge is limited.
Is there a tutorial that walks through the entire process of how to create a simple Google App Engine app?
I would recommend python personally, as you can literally just edit the pages on the fly, press refresh and see the effects immediately in the browser.
If I could give you two pointers though
1) Every action needs to be an http request - keep that in mind when you start and it will make things easy for you
2) Forget SQL. And use the relationships between classes to navigate between them.
did you saw this.. https://developers.google.com/appengine/docs/java/gettingstarted/ This is the one i referred when i started with it.. or probably this one for a hello world program http://googcloudlabs.appspot.com/codelabexercise0.html
I know similar questions have been asked before but i think this is slightly different. for about a year Ive been learning Java. I have been building a few applications on the desktop using my-eclipse and swing GUI. Now i want to start programming for the android. I understand how to do what i want in Java but it all seems very different on android. Does anyone know of any good tutorials or videos out there with step by step instructions showing examples of android applications so that i can learn and build off of them? Most of my programs are simple and for the most part i just need to understand how to interact with the interface (IE the buttons, label or text views i think they call them and so on). I've searched all day and I cant find anything good.
I found this quite use full apart from the tutorials from the developers site.
If you are looking for advanced tutorials , you can try here.
for the most part , once you are trying a specific application , a google search could get you a relevant tutorial.
goodluck.
ps. It helps to read dev guide before you begin to write programs for android.
You should have a look at the Android API demos. They include a lot of simple examples which access special problems/tasks.
A more complex 'productive' application is the Android app for the I/O conference. It's Open Source - so you can have a look 'inside'.
the Android developers site has a great dev guide and tutorials to try out. the dev guide can be found here. The tutorials can be found here.
I highly recommend "Android Programming Tutorials" by Mark Murphy - http://commonsware.com/AndTutorials/. I found the step-by-step tutorials to be very helpful, and it does focus on teaching Android development rather than Java.
Does anyone have some source for connecting to a Wiibalance board using java? I have looked at Wiiboard_simple project on google, but it never seems to connect correctly. I have seen other examples in C# and javascript, but none in java.
Check out some of the libraries on the WiiBrew.org site:
Wiimote Libraries for Java
I have only been looking at this from an Android perspective, so its not entirely useful for PC-based Java.
However, for Android info, including some Android Java links, check my answer on this thread:
How to connect wii balance board with android
Basically it links to:
#Ben Mordue's answer on: Is it possible for an android device to read information from the wii controller and nunchuck?
Blues-IME project for Android - you might be able to use some of that code
WiiBrew.org pages for Wiimote & Wii Balance Board
Update:
Last night I was able to get the Balance Board correctly communicating to the Android device based on the library, and the info on the wiibrew.org site. It really is not that difficult once you get your head around working with HEX commands.
The important part is to realise that the Balance Board is treated in much the same way as a Nunchuck or Classic Controller. Since most of the libraries can access these Extensions, it should be easy to adapt them to also detect the Balance Board extension.
I have a general old-fashioned phone that has no special app system and uses Java (I assume ME) for the few applications you can use on it.
This is still a decent userbase and I'd like to start programming for this type of phone. I already know basic Java theory and syntax, so.. where do I get started for programming for non-smartphones?
Best programming environment for Java ME IMO is Eclipse with EclipseME. Includes lots of built-in stuff about packaging your midlets etc. The SonyEricsson wireless toolkit is great for PC-based testing and debugging, but don't forget on-device testing!
If you don't know much about Java ME's lifecycle, then get reading as widely as you can, and try lots and lots of examples. Start with the JSR-118 (MIDP2) javadocs; you'll want these open on your desktop at all times while coding.
Don't waste too much time with the form-based user-interface; I recommend either rolling your own using Canvas, or read about LWUIT.
You can do all sorts in Java ME and target a very broad range of handsets. HTTP capability is guaranteed, so you can hook up to a public web service, or create your own using something like Google Appengine.
Finally, you can release your app very easily on somewhere like Get Jar. Don't be put off by those who say "no owners of Java ME handsets want apps", you'll find the most popular user bases on this site will be users in countries such as India and Indonesia.
Good luck!
I would start with a book on J2ME and work from there.
Try Beginning J2ME: From Novice to Professional.
You could also download the J2ME SDK and play around with the example they give.
For tutorials have a look at the stackoverflow question https://stackoverflow.com/questions/584923/do-you-know-a-good-j2me-tutorial as mention in my comment.
I started with writing simple Flashlight application (choose how much seconds screen will remain lit) in NetBeans ME. And other app which I mange was Countdown with some graphics and sound. After that I found limitations too much annoying and now I'm waiting for my Android phone.
in short:
If you want to try it out - you don't need to buy books. There are plenty of tutorials around.
But, if you want to start deep development - don't waste time.