Does anybody have and want to share layout.xml file and working Activity class in which have example of using OpenGL in android ?
This is the best one I know of...
http://blog.jayway.com/2009/12/03/opengl-es-tutorial-for-android-part-i/
http://developer.android.com/resources/articles/glsurfaceview.html
Sorry, no layout.xml (but how hard can it be to find as this was the first result in my google search?)
I find this website to be immensely useful in learning OpenGL as a whole, along with how to use it in Android: http://insanitydesign.com/wp/projects/nehe-android-ports/.
The original C++ tutorials (ported to many other languages also) are available here for reference.
Related
I'm looking for something like Quick Dialog (http://escoz.com/open-source/quickdialog) which can be used to build and instantiate views for iOS from a JSON file (or some representation). Is there any framework similar to that for Android which i can use to build my Android views from a JSON file or similar format ? Please let me know.
Quick Dialog JSON Builder: http://escoz.com/open-source/quickdialog/json-builder
Thank you.
Cheers,
Simith
I just released an open-source library that offers this functionality on Android. It's called NexusDialog. Check it out here: https://github.com/dkharrat/NexusDialog
Hope this helps.
I haven't yet seen a framework for android like QuickDialog, unfortunately.
The closest I've seen is MVVMCross, which builds on top of Mono For Android: https://github.com/slodge/MvvmCross.
Can someone give me a simple example since I'm trying to learn it but haven't seen examples for Android, for iOS plenty though. I want to create one so it is easier to debug my collision area's. Thanks in advance
I don´t know it this helps you. I use Cocos2d-x. This library is the same that cocos2d-android, but:
Works in C++, it is faster than Java
Is multiplatform, can compile in iOS and Android, and HTML5
Exist a big community whose hold the project, and cocos2d-android doesn´t have more updates
Exist This link with a lof of tutoriales to start.
I'm looking for a way to include multilingual support in an app I'm working on for Android Honeycomb - what's the best practise of doing this?
I've been looking at .mo files and such, but haven't been able to find a concrete answer just yet. Thanks.
Try localozation
Tutorial is here
http://developer.android.com/guide/topics/resources/localization.html
Give a look at this:
Shouldn't have changed much in Honeycomb
I am currently starting to create an app for a small charity company. But I'm not entirely sure how to properly learn how to code for the Android OS. I have searched online for tutorials, but most stop at the same stage and only show you how to launch the "helloWorld" app.
My question is this:
1) Will using solely XML be sufficient to code an app? Does it require working in partnership with Java?
2) Does anyone know of any books, recommended books of course, that break everything down for you step-by-step?
Android Developer site very good to give you all ideas. Start from Hello, World
1.) Not at all. XML is ONLY used for the layouts.
2.) There are a few books out there that I'm sure someone will come along and recommend, but I've found the tutorials here to be the best start.
In your case, I'd look at AppInventor which allows you to create small Apps without coding (at least that's what it says, haven't used it yet myself)
1) No, you can use XML for interface, but you can't write an Android app in XML :) You are not required to work with Java, but Android language is based on Java, so knowing Java is an advantage while learning to code.
2) Did you installed Eclipse and the plugin for Android?
The Android Training is pretty useful, and I've learnt a lot from the tutorials and the sample code provided there. (The Notepad app is way more complex than the Hello World tutorial ;)!).
Also, take a look at the answers on that question: How can I learn Android?
I was wondering if there a class diagram available for Android API on the internet? I think it help you to learn and visualize the system in your head.
Here is a great categorized list of classes in the Android API in both PDF and Visio formats, from Troodon Software: http://gyurigrell.com/2011/1/17/great-android-class-diagram-poster
While it's not a class diagram, it is still quite useful. Maybe I'll get around to creating a proper hierarchical class diagram at some point...
This diagram helped me: http://www.adakoda.com/adakoda/2010/01/20/ASPH_AW_REV1.pdf
It may be kinda old, but you could find a Android classes poster here:
http://gyurigrell.com/2011/01/great-android-class-diagram-poster/
Could you not check out the source code ? Any decent IDE can create a class diagram from the source code. That way you will have both the code and the underlying design.
Of course android is available in Git
https://android.googlesource.com