It seems like every tutorial that I can find has a different, usually old, way of doing it. For example, even Google's LiveCard page has an example where they tell you to implement LiveCardCallback , however the link they give is dead, and that class doesn't exist in the GDK.
I also found a gdk apidemo on github, but most of those examples seem to be outdated?
Any good resource for an Android developer just starting out on Glass?
LiveCardCallback was renamed to DirectRenderingCallback in XE12. Thanks for catching one that we missed!
Third-party examples that you find online may have not yet updated to XE12, but the Compass, Stopwatch, and Timer on our GitHub page (and also found in the add-on's samples folder) are all updated and good examples of using live cards with high-frequency direct rendering.
Related
I'm currently learning how to build applications for android online, following tutorials on youtube and Udemy.
I want an entire Android Studio app package to tinker with to help me learn how to code properly. In the same way I learned about fixing cars by taking one apart and putting it back together, I was hoping somebody could point me in the direction of a place where I could get an app and mess around with it.
Ideally I'd like a fitness app but I'd take anything except games at the moment.
HYelp anyone :)
You can find tons of samples and examples on github. For an example checkout this fitness app.
https://github.com/googlesamples/android-fit
Please use those sample codes in compliance with the License.
I have been looking for this for ever on the internet, but I can't seem to find it:
I want to create an augmented reality app for Android using Qualcom Vuforia and Eclipse.
Compiling and installing the Vuforia sample app worked, but I just don't get the logic of all behind it.
Do you know a thinner/ lighter tutorial for starting with Vuforia? (NO UNITY!!)
It is not very clear what exactly you are looking for - a tutorial for starting with it is one thing, and understanding the logic behind it is another thing...
Anyway, you can start here:
Getting started with Vuforia.
What exactly it is they are doing would not be revealed, of course, as it is not an open-source library, but you can learn some things from the Articles section. They have explanations on several topics, one of which could also assist you to better understand what's going on there:
Natural Features and Image Ratings
I want to develop an android augmented reality application, in which app should have a function to reconstruct a destructed objects(ex : buildings/statues) as shown in the following video link
https://www.youtube.com/watch?v=WOVjISxlhpU
I have gone through metaio, wikitude and vuforia sites each has some difficulties it self. and at Last i found vuforia has a feature call Smart Terrain where it is used for 3D animation and game development , the issue is only limited tutorials available to develop a customized application.
With that above link i found armedia.it and hyperspaces.inglobetechnologies.com those too have limited tutorials with the code.
Please let me know if any other SDK available their to fulfill my app feature share if there any useful tutorial to do such for the above sdk's
Thanks in advance
I do not think that there are any publicly available tools that can help you do this, except perhaps that armedia app. Reading through it, it seems like their approach is kind of laborious and fragile (align photos of user viewpoints with accurate 3D model). If you can't work through the tutorials these tools have, then posting here isn't going to get you what you want: SO is for asking specific technical questions (e.g., help fixing problems in code you have tried to build), not for general guidance and help.
FWIW, Vuforia's visual tracking will not work for something like this, I don't think, as is aimed at MUCH smaller scale things (for which you can build a target or object); typically things smaller than a person. Metaio is no longer available (Apple bought them).
Non-visual tracking (GPS + orientation) is not sufficient to attain this kind of tight registration.
i want to code an application which enable file sharing via Bluetooth with android, but i can't find samples which i can base on. Please can someone give me links to some samples.
There is really a lot of info all over the place about this.
A good starting point is always the documentation it also has examples too!
As was mentioned a quick google search should have given you a lot of examples programs but here is one anyways.
Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html