Android :: Training Session / Course For Droid Graphics API - OpenGL ES?
Sep 25, 2010Can anyone please recommend a training session/course for Android graphics API/OpenGL ES?
View 1 RepliesCan anyone please recommend a training session/course for Android graphics API/OpenGL ES?
View 1 RepliesI was disappointed to discover that OpenGL ES, the flavor of OpenGL implemented in Adroid, doesn't appear to support the usual techniques for drawing graphics involving curves. I'd be happy with either OpenGL's low-level Bezier evaluators, or the more advanced NURBS approach, but AFAICS neither is supported - only straight-line graphics are possible. Does anyone know, am I missing something basic here? Is there a way to generate curves of any sort in Android's OpenGL implementation? I am still fairly new to Android development, so that's certainly possible. Note that I'm not talking about functions related to Canvas - I know about drawOval, for example - but I specifically need 3D.
View 2 Replies View RelatedI am having trouble finding information related to which i should choose, OpenGL ES 1.1 or 2.0 for 2D graphics.
OpenGL ES 1.1 on Android is a bit limited to my knowledge, and based purely on sprite count the only useful renderer is draw_texture() (as far as i know). However, that does not have rotation and rotation is very important to me.
Now with the NDK adding support for OpenGL ES 2.0, i am trying to figure out if there is anything that preforms as well as draw_texture(), but can handle rotation.
Anyone have any information on if 2.0?
Or does it merely provide more options for graphics?
View 2 Replies View RelatedI want to show off how good opengl es can display on my G1. Does anyone know a game with good 3D graphics that I should install for this?
View 13 Replies View RelatedAnyone get an email offering a training seminar on the Android phones? I just got it today.
View 10 Replies View RelatedThe Facebook application that came loaded on my Droid has been working fine for 2 months. This afternoon, at first I couldn't access anything that had posted since this morning. Now I can't get anything at all. I keep getting an error message: "102/Session Key invalid or no longer valid" And it even happens when I try to go to my profile!
View 7 Replies View RelatedWe're designing an Android app that has several activities which are working in a wizard like way - user should pass from the activity #1 to activity #5 to get to the final activity (#6).
Since we know an activity can be suddenly terminated by OS on low memory we used Application class as a static storage for keeping the data the user inputs on "wizard" activities and other data our app needs for the whole session.
Unfortunately we've discovered this approach fails - looks like the Application class instance is also can be killed by OS (this was specifically discovered on Android 1.6 versus 1.5). Are our expectations wrong on this approach (we think Application class instance always lives for the whole app session)?
So the question is - what is the best practices on Android to keep data between activities deathes/restarts for the whole application session?
How come when m in a call session my 3g turns off? Is there a way to enable it to stay on while in call? Because id like to multitask.
View 5 Replies View RelatedSingle 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 ?
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?
I'm an athlete, and for my sport i like to keep track of hours spent training, and notes on distance cover etc.. I was wondering if there was any sort of app that could help with keeping track if these things.
View 1 Replies View RelatedI'm using cardio trainer to log my running and it's great but I've noticed quite a few others out there.Also I want to log my exercises in the gym. I've just installed WorkitOut, which seems good but basic. I've had a look at FitSync but it seems to need an internet connection and I don't get a signal in the gym.I've also installed Calorie Counter which is great for logging food.
View 10 Replies View RelatedMaybe it sounds interesting. My neighbor's dog is very naughty, his name is Lali, everytime when i come through, he will shouting, very noisy, I want to find an program that can make him stay quiet.
View 8 Replies View RelatedAny one else get the email from Verizon about the free in-store training course on the Android OS?? I just got the email today.
View 3 Replies View RelatedMaximize your new smartphone's potential at our free in-store training on August 10th.Learn more about tips and tricks and free apps that will keep you up to speed on everything your new Droid Incredible and Droid Eris has to offer.Anyone get one of these emails from Verizon?Are they standard with new smartphone purchases?
View 22 Replies View RelatedInterval Training Timer is an invaluable tool for all interested in workout, run, cycling, sprint, tabata, weightlifting, hiit and many more. It allows you to set own training schedule with various number of rounds, ready time, round and rest times and relax time after workout. It is also possible to create dynamic training plans in which every round and rest time can be longer or shorter. Import and Export your training plans or share them with the world!
View 1 Replies View RelatedAny other weekend athletes out there that train for triathlons and are using android apps?I'm new to the app world but am very interested in knowing if there are any running, cycling programs available to track routes, times and with the GPS even speed.
View 12 Replies View RelatedThe title basically says it. I am looking to use my incredible HTC Incredible as I run/workout and am looking for a good armband. Does anyone have any suggestions? I see some "Universal" ones out there but would prefer something that would fit the phone well.
View 1 Replies View RelatedI am banging my head against the wall trying to create a Bitmap from a Path object (android.graphics.Path). Is there any way to do this? I've browsed through most of the classes now but can't seem to find any way to do it.
Actually, what I have is a Path that consists of many cubic Bezier curves. It is really expensive to draw with canvas.drawPath(). So I figured that I could perhaps "cache" the Bitmap of this Path by converting the Path to a Bitmap once and then just drawing the Bitmap every time instead of calling canvas.drawPath().
Is there any way to create a Bitmap from this Path?
Or is there a smarter way to draw tha Path multiple times without having to recalculate all of the Beziers? For example, if I created a ShapeDrawable from PathShape from the Path, and just draw the ShapeDrawable objects every time, would that be more efficient than drawing the Path every time?
I'd like to port my iPhone app to Android. The interface is constructed with artwork designed for 320x480 resolution. What steps do I need to take when I'm constructing the XML interface for the Android so that my GUI will be compatible with the different screen sizes (or at least the most popular ones...)?
View 1 Replies View RelatedThis is a follow up question of http://stackoverflow.com/questions/3550593/sending-html-commands-over-httpclient-android , I have successfully Posted to the server and received 200 code but when I attempt to move to another page it does not recognize that I have logged in. I am wondering if it is a session issue or if i need to follow the redirect after the POST. How would I go about following a redirect?
View 1 Replies View RelatedMy husband just got an email offering a workshop on using the Inc! Crazy when the phone does so much that you need that! Has anyone been to one of those before? Is it worth it?
View 10 Replies View RelatedI make an app with some activities.
The first is the login.
If I login correctly, I pass to the second activity, and I want download a stream (like twitter), but I cannot keep the session.
I saved user & pass in sharedpreferences, how can i keep the session through all activities?
I have an app that requires user to register. I've got the app conected to PHP in my server to do the logic of register/login and so, this is not problem at all.
But, I want to keep a session of the user in local, so the user doesn't have to login again every time he runs the app.
So, I want something like this:
First time user, he opens the app, register and login. Do some stuff with the app and closes it. Open the app again, the user is recognized so he doesn't need to login again.
I only need to store an ID and a Username (both fetched from the DB in the login php method). What's the best way to do this?
I've thought about doing a custom preference, store the data in files or even a local DB (sqlite).
The user must login through the WebView. Of course, the session is for that WebView.But, what if I need to make REST API calls during my Android application?Those REST API calls need the session to be authenticated , otherwise those will not work. Is there any way I can attach the cookies of WebView into everything I do in Android?
View 1 Replies View RelatedCan any one tell me how can we clear browse session history.We have api called Browser.ClearHistory(),this will delete entire records but i want to delete history of browsing session.
View 2 Replies View RelatedI've got a problem with my application when I make a number of requests using the HttpsUrlConnection class.
My program makes the first request using the HttpsUrlConnection class to retrieve a file. It then makes a second request to the same server to retrieve a different file. What happens however is that periodically I'm getting a -1 HTTP response code on the connection.
When the failure occurs between the two requests I see the following line of trace in logcat:
D/OpenSSLSessionImpl( 699): Freeing OpenSSL session
This seems to happen fairly consistently. If I retry the second request after it has failed it generally works and I get the requested file from the server.
Note that if I don't see the OpenSSL session being freed the second request works fine the first time.
Some other information:
1) I'm not calling disconnect on the connection
2) I'm don't always read the entire file from the server after the first request
3) I always close the InputStream in the event that I get an InputStream on the first connection
How to prevent the OpenSSL session from being freed.
I'm trying to avoid that when a user has connected to Facebook from my webview, the next time he do it, doesn't need to put the email and password. but doesn't work. That cookie I suppose that is not valid because the user has to put his username and his password again and after login, I get a different cookie that the one I had stored. What I'm doing wrong? Is there another way to accomplish that?
View 3 Replies View RelatedOk I am at the end of my rope. I am doing some image processing. I have a large image file which I open and create a smaller bitmap from. At the end of processing I call recycle on everything. I null everything. I run GC manually.
I then try edit another image and I get an out of VM memory error. Bitmap exceeds etc etc.
I am looking at the heap and the secone edit doesn't seem to cause it to increase at all.
What else can I do. Surely google cannot possibly be suggesting that we can open one large bitmap per session and thats it?