Android :: OpenGL ES Tutorials ?
Jun 30, 2010
As I am one who cannot find any decent Android-based OpenGL ES references, I have decided to start one. You can check it out at http://www.vincepascuzzi.com. As I am not a seasoned GL programmer, any and all comments and/or questions are greatly appreciated!
My mission is to first create an OpenGL version of an application on Mac OS X, and then port to Android. Once the port is done, I go through each program, step-by-step, and contrast and compare how the port was done. I also explicitly point out any and all differences between the two, subtle or obvious.
View 2 Replies
Nov 17, 2010
Do you know a good tutorial about OpenGL ES 2.0? I'm going to use it with Android and C++.
View 3 Replies
View Related
Oct 27, 2009
What tutorials and libraries are available which can help beginners to develop 2D and 3D games on Android using OpenGL-ES? I'm looking for tutorials which can help me learn OpenGL-ES, and I'm looking for OpenGL-ES libraries which can make life easier for beginners in OpenGL-ES.
Since Android is still small, I guess it may be help-full to read iPhone OpenGL-ES tutorials as well, as I suppose the OpenGL-ES functionality is much the same.
I have found the following useful information which I would have liked to share:
Android tutorials: DroidNova: Basic tutorial covering polygons, no textures anddev forum with some tutorials
Other Android OpenGL-ES information: Google IO lecture regarding games, not much OpenGLES The The Khronos Reference Manual is also relevant to have, but its not exactly the best place to start.
iPhone OpenGL-ES tutorials (where the OpenGl-ES information is probably useful): http://web.me.com/smaurice/AppleCoder/iPhone_OpenGL/Archive.html
[url]
As for libraries which a beginner might use to get a simpler hands-on experience with OpenGL-ES, I have only found Rokon, which is recently started, thus has many holes and bugs. And it's gnuGPL licensed (at the moment) which means it cannot be used, if we wish to sell our games.
View 5 Replies
View Related
Feb 25, 2009
Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !
Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"
Framerates I get is
with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!
I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png
variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"
Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png
OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt
I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device
Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?
View 8 Replies
View Related
Jul 24, 2010
I would like to be able to use the OpenGL API from both Java and C (via NDK).
In Java, there is a GL object passed, which has all GL methods on it.
In C, you just talk to the native library.
In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?
In other words, is the GL object just a wrapper for the same instance of the native library?
View 3 Replies
View Related
May 13, 2010
i can implement the QSB on my app using onSearchRequested() method.i have 4 column in my table. when i was type in the QSB. it will give some suggestions on the Suggestion window. how to do that? searchable dictionary example shows the dictionary provider class to retrive the suggestions. but on that no data inserted. then how they getting the suggestions. can you explain me what are the steps we have to follow or tutorials, sample codes are most thankful.
View 1 Replies
View Related
Aug 19, 2010
Does anyone know of any tutorials on populating a Mapview using an overlay at a specific point? e.g adding a marker at a specific lat / lng on your mapview?
View 1 Replies
View Related
Jun 2, 2009
I need to work on my Android development skills. Which blog has the freshest and most walkthroughs, code samples, and tutorials?
View 7 Replies
View Related
Nov 17, 2010
I am a newbie in android world so i am ready to spend some time watching android tutorial videos and reading some books. I am ready to spend some amount on android paid tutorials also if they are worth a look. Please suggest me some study material along with some android paid tutorials, i want the best tutorial since i have many apps in mind to develop :) I have had a look at all the free tutorials and i know how to do some simple stuff like calling an intent, making the layout file, media controller. But i dont have knowledge about the major issues like database connectivity, flinge, adapters, geolocation and stuff. Hence the bottom line.
View 3 Replies
View Related
Apr 7, 2010
I need a very simple menu which probably contains only one or two items: settings/options, where pressing one of them should show some customer defined parameters (is it called dialog), e.g., number of results shown. Is there any good tutorial on creating such kind of menus? I've looked at the "notepad" example in android, it doesn't really help.
View 1 Replies
View Related
Apr 30, 2010
I was trying http-cleint tutorials from svn.apache.org. While running the application I am getting the following error in console.
CODE:............
I have added android.permission.INTERNET in AndroidManifest.xml.
CODE:...........
The java code in HalloAndroid.java is as follows
CODE:....................
View 1 Replies
View Related
Oct 6, 2010
I follow the instructions exactly on this page (and some of the other tutorials) but they always seem to be missing some key information as they dont work out of the box
I added a bunch of packages that seemed like were missing, but now I'm stuck.
http://developer.android.com/resources/tutorials/views/hello-gridview.html
Description Resource Path Location Type Conversion to Dalvik format failed with error 1 HelloGrid Unknown Android Packaging Problem
And a whole bunch of these for each of the drawable.sample_* references
Description Resource Path Location Type R.drawable.sample_0 cannot be resolved ImageAdapter.java /HelloGrid/src/com/example/ImageAdapter line 51 Java Problem
CODE:....
As you can see I have all the images loaded in the /drawable directory
View 3 Replies
View Related
Mar 6, 2010
Can any body give me some tutorials about operations on the android emulator ?
View 2 Replies
View Related
Apr 4, 2010
Does anyone have any recommendations for a class (online) or tutorial that teaches android programing for dummies? It's frustrating knowing exactly what you want to do and no idea how to do it. Something that uses basic language and explains each line in detail to help a person remember how to do it later. Any suggestions would be great.
View 1 Replies
View Related
Mar 21, 2010
Does anyone know some places that have some good books or video tutorials or just generally good knowledge of creating android apps? If someone can hook me up with some info on at least what I need to know to create android apps that would be very appreciated.
View 2 Replies
View Related
Sep 19, 2010
There is compile error in HelloAndroidTest program in the Tutorials Hello Testing program, because I got this compile error. com.example.helloandroid.R.id.textview can not be resolved.
CODE:................
My com.example.helloandroid.R doesnt have R.id.textview, and endroid.R.id class does not have endroid.R.id.textview field. Where do I support to get this field, com.example.helloandroid.R.id.textview?
View 3 Replies
View Related
Nov 12, 2010
If (in Android) you wanted to write an alarm app where the user entered in the time for the alarm by swiping the hours & minutes up and down, what's the easiest way of achieving this? Is it the Swipe or Fling command?
Are there any good tutorials out there for this?
View 1 Replies
View Related
Jun 9, 2010
Specifically some that may cater to an experienced developer (C#) but not necessarily familiar with Java/Eclipse?I have seen a couple vids on YouTube but they are either short (not much you can learn in 3mins or patronizing)
View 2 Replies
View Related
Sep 19, 2010
I'm looking for some good tutorials for introducing someone to programming android applications. I'm not new to programming, but i wouldn't say that i'm an expert by any means.
View 1 Replies
View Related
Jun 24, 2010
I am looking to start a project that will involve the use of soap quite extensively. However... I know nothing about it! I was wondering if the community here could point me towards a few of the choicer tutorials on the net instead of having to wade through countless sub-par search results. And when I say I know nothing about it, I mean I know that its like an online api to some extent, but really that is it.
This would be used in conjunction with an android app, so I suppose I should also ask if android sdk even supports soap/ is this even a valid question? I really am clueless here.
View 2 Replies
View Related
Jul 21, 2010
Can Anyone get There System Tutorials To Run? I Press Begin And Nothing Happens.
View 5 Replies
View Related
Sep 6, 2010
When I make a new android project and I go to res/values/string.xml I get a screen to add android resources instead of a XML document. I keeps getting the error about : java.lang.NullPointerException.
Is there a way to just alter a XML file (like suggested in tutorials)?
View 2 Replies
View Related
Sep 1, 2010
I'm not really sure how to go about using these now to create a backup and recovery for my phone in case anything ever happens. I have downloaded Droid X bootstrap and ROM Manager so far not really sure where to download Clockwork (if this is even a different app than what I have).Does a tutorial on how to use these things exist anywhere? I did a search on this forum, but it seems like everything is for moderately experienced users.
View 19 Replies
View Related
Oct 30, 2010
I am new to Android. Can someone tell me if there is any tutorial or if someone can tell me how to install an application (step by step) and particularly, the following:
1. How to Boot into Recovery.
2. Fix Package permissions.
3. Apply any zip from SD and choose one particular zip.
4. Also, how to install non-market applications.
View 13 Replies
View Related
Aug 25, 2010
Does anyone know of a good resource site that has proven tutorials to root HTC Droid incredible?
View 2 Replies
View Related
Apr 3, 2010
I am in desperate need of good tutorials on Content Providers in Android. I have been searching in the web for the tutorials but none could give me a clear idea on how content providers work. I'll be grateful if anyone can provide me with sample codes of the projects that implement content providers...
View 1 Replies
View Related
May 30, 2010
On Youtube, there is a user named thenewboston who posts videos teaching basic computer programming that are aimed at total beginners like me. His tutorials are really easy to understand, because he goes through the process as if talking to an elementary school kid.nyway, he just started a tutorial series about developing iPhone apps. Maybe it's time someone from the Android camp did the same? Sure, there are many tutorials already available online, but they don't appeal to the common person, and the good video tutorials on Youtube are all more than one hour long. By doing something like this, more people would be attracted to try develop apps for Android.
View 1 Replies
View Related
Jun 23, 2010
1.myJpegFile = new File("images/jpegImage.jpg");
2.output = new BufferedOutputStream(new FileOutputStream(myJpegFile));
3.encoder = JPEGCodec.createJPEGEncoder(output);
4.encoder.encode(myJpegImage); Please could you give me the equivalent code for line no. 3 and 4 in Android?
View 1 Replies
View Related
Jan 27, 2009
I am working on developing a 3d game. I have loaded ms3d model in my project and all texture and everything is working fine. I m not loading any joints.But I am facing two major problems which indeed are related to one thing. 1: I have got FPS problem in my game.Its too low even on G1. 2: When I have touch event to control the game it affects the FPSmore. So plz let me know how to optimize it more because the same game with same code of opengl es is wokring at 45 FPS on Iphone So why its running slow on G1.What is opengl es benchmark for G1 ? Wat can be comparison btwn Iphone and G1 related to hardware acceleration?
View 3 Replies
View Related
Oct 11, 2009
Been working with OpenGL a little more recently, and have been noticing pretty bad performance on my G1. Were there any major changes to OpenGL in 1.6 that would change the performance (or made my code incorrect?) on device? As a test, I grabbed the SpriteMethodTest out of Apps-For-Android, and gave it a spin. I had run it a few months ago and noticed pretty decent performance. With a low number of sprites (10-100), every method (Verts, Hardware VBO's, and DrawTex) had easily over 30fps, with drawTex beating out the others. I fired it up on my G1 (recently updated to 1.6), and all 3 methods are giving me performance of around 10-12fps with all methods of OpenGL at 10 sprites. Just for fun, installed the exact same APK on my girlfriends phone, which has yet to be updated to 1.6, and hers shows what I expected to start with, 30-60fps depending on method. So the question is, did anything change in terms of OpenGL, that would make the example code in SpriteMethodTest less than optimal?
View 3 Replies
View Related