Android :: Time Steps In OS 1.6 Using OpenGL?
Mar 4, 2010
I'm trying to port one of my OpenGL/Glut programs over to Android 1.6. I used GLut extensively due to my classes teaching glut. Is there an alternative to glutTimerFunc or replacement for using glutTimerFunc? Also, any ideas where I can replace glutMainLoop? From looking at a few examples, onDrawFrame what I should be looking at?
View 1 Replies
Jul 5, 2009
i'm doing some experiments with OpenGL using the GLSurfaceView introduced in 1.5 In my Renderer I keep track of the time spent to render the last frame and pass this value to the method that update my model. The goal is to keep objects movements on the screen independent from the rendering time. Now this seems to work perfectly in the emulator, but on the real device is at least 4/5 times slower! Has anyone experienced the same problem? Or, anyone has a clue of what I'm doing wrong? Here's pieces of the code I'm using
View 3 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
Mar 17, 2010
Is there any simple application that can track how many step I walked. I don't want the one that uses gps. Just make use of the accelerometer i guess? I have this application when i use my old C905.
View 3 Replies
View Related
Jun 29, 2010
could you explain me steps for android app distribution.I can sign it and publish to Android market. But can I offer clients to load this application without market? e.g from company web site? if yes, can I still use self-signed certificate?
View 2 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
Apr 7, 2010
Android - Can I force BACK button to go 2 steps back in the Activity stack with some kind of code? I know I can override the onKeyDown method but I want BACK to do it's thing, just twice!
View 3 Replies
View Related
May 26, 2010
Is it the SensorManager API that i have to use to measure steps? Any sample code or tutorial?
View 1 Replies
View Related
May 5, 2010
Making the jump to the Incredible on Friday, just wondering if anyone knows if everything is automatically updated or if I have to manually back some things up.
View 1 Replies
View Related
Apr 2, 2010
How can we integrate Facebook in android?
View 4 Replies
View Related
Aug 3, 2010
I need to install an android application running in my local machine on to my new android htc handset, how to do this,and i also need to give this application to someones htc device who is not near to me.
View 4 Replies
View Related
May 5, 2010
I have a written a game that works fine on the 'normal' 320x480 screen of my G1.
I tried it on a friends Xperia x10 and it leaves a large blank section on the right hand side of the screen. How do I fix this? I've read that I need to include an extra directory in res/drawable for different densities. How do I do this?
View 1 Replies
View Related
Jun 23, 2010
Anyone have a favorite simple paid / free application they use while jogging? I noticed some remarks that accuracy seems to differ across different jogging applications, and some stop tracking if you get a phone call or text message. Any GPS jogging applications that run also in the background so you can call or text?
View 37 Replies
View Related
Jul 6, 2010
I am trying to display an bitmap I created in and android program, but all the tutorials I find involve either Drawables or XML in order to display them. Can someone show me the steps needed to display an Bitmap in code?
This is not the entirety of the code, this is just the majority, the rest is related to getting the camera working. code...
View 2 Replies
View Related
Sep 21, 2010
Apart from knowing a bit of C, I have no experience in software development.I want to know from where to start learning to build android applications apart from learning java? What are the steps?
View 2 Replies
View Related
Aug 11, 2009
Say, a WebView with an html that scrolls vertically. What would be the basic steps to make it scroll horizontally (screen by screen)? Can't grasp the idea.
View 2 Replies
View Related
Aug 30, 2010
I rooted and now have Amon's recovery on my phone. I downloaded SetCpu and ran it but it will only let me overclock to 528 max. What steps do I need to do so I can overclock in the 700's like everyone else.
View 16 Replies
View Related
Nov 25, 2010
I rooted my phone last night and have installed a ROM manager and a file manager. I dislike the ROM that I have on my phone right now (I believe its plainjanev2 or something titled like that). I have found other ROM's that I want to download and have tried but they don't work. What am I doing wrong? Can someone give me the steps (and how to complete the steps) or send me to a detailed video/forum that will show me how to do this?
View 4 Replies
View Related
Jun 10, 2010
I rooted my phone with the help from this forum. All went well. My phone started off a stock unmolested 2.1 version with update 1 and ESE81 and in about an hour, I was wirelessly tethered to my laptop and on the internet. A lot of this was copied and pasted from Fabolous' threads, so props to him. Before you do anything, make sure to copy your contacts to your SD card and anything else you are afraid to loose. The first section won't erase anything, but second section will. Some of these steps may not be needed, but these are just the steps I took, and it worked.
These are the steps:
1.) Download SPRecovery_ESE81.sbf to your C: root directory (C:)
2.) Download md5sum
3.) Place md5sum in c:windowssystem32.....
View 6 Replies
View Related
Jun 25, 2010
So I am trying to flash the WW rom and i can flash it just fine and everything works like it should but i had to wipe obviously to flash it, when i do a Nand Restore, it restores to the EE 3.0 rom i'm coming from. Can someone tell me when i'm supposed to restore? Should I wipe and then flash the rom, and THEN restore? Or should I wipe restore then flash the rom? I'm confused on the process i guess.
View 5 Replies
View Related
Apr 16, 2010
Completed all the steps, not sure how to install a ROM. What ROM should I install? Fresh?And how do I install it?
View 7 Replies
View Related
Jan 4, 2014
I have an issue with the Ktweaker app that came with the Ktoonz kernel. I flashed the new Hyperdrive rls12 rom with the ktoonz kernel that was in the rom. Everything is great with the rom except the Ktweaker app will not work right. When I tap the OC steps it does not allow me to raise the freq. past my stock max freq. (1890)? I have a Verizon Galaxy S4 (MK2) on 4.3, Rooted, with Safestrap 3.71. I am running Hyperdrive rls12 with Ktoonz Kernel.
View 1 Replies
View Related
Nov 12, 2010
So I rooted a few days ago using Universal 1 Click Method and flashed Xxtrasense ROM immediately (in step 4 of the instructions below).
Step 1) download and install this APK:
http://dl.dropbox.com/u/8699733/erisone010.apk - VERSION 0.1.0
Step 2) Run, read disclaimer, press button
Step 3) Reboot, once rebooted your phone should have Amon's recovery. Yay.
Step 4) Use the recovery to flash rootme.zip that is now on your SDCard, or the custom rom of your choice.
Step 5) Go into settings, and turn usb debugging on. After you have root, please uninstall this app.
I want to try new ROMs and have read through a number of threads but its only confused me more on the next steps. Questions are:
1. Do I need to do a NAND or NAND+ext backup (I've done a NAND back up shortly after flashing the Xtrasense ROM)?
2. Is Titanium Backup the only way to get my Apps and data transferred to any new ROMs I flash?
3. At what point is a dalvik wipe required?
If someone is able to provide a step-by-step outline (similar to jcase's 1-click eris root noted above).
View 4 Replies
View Related
Aug 17, 2010
What steps do i need to follow to connect my phone to the computer?
i want to access my SD card.
the only disk that came with the phone is VZ access manager but when i installed it i could not locate the SD card.
View 19 Replies
View Related
Oct 29, 2010
On your HTC EVO 4G, go to Settings > Language & keyboard > Touch Input > International keyboard and check the box in the screen shot attached. Now go into the app that you want to type the degree symbol in and use the microphone key with the EN underneath to access the degree symbol. Go to 12# > 1/3 and you will see a degree symbol, along with the degree C & degree F symbols.
View 3 Replies
View Related
Jul 1, 2010
Can anyone provide steps to make a hard reset as painless as possible?
View 3 Replies
View Related
Apr 25, 2010
Can someone provide me with a step to step guide to root my phone as we won't be getting this damn update...I. think I mite as well join the fun.
Also once I rooted will everything be wiped from my phone? Like my scenes n stuff.
View 3 Replies
View Related
Aug 27, 2010
I want the hulu app to work, apparently newest leak it does not. I can do root and s-off, don't want to go through backing up apps and restoring. Want the most stable 2.2. Needs verizon's 3g hotspot working. Doesn't need sense. What rom do I need, and what are the steps to getting this done? If it's always recommended to do a full backup, wipe, and restore, then bleh.
View 3 Replies
View Related
Oct 6, 2010
Just received my replacement droid x after receiving a refurb with bad freezing problems. Should I update to 2.2?
What steps should I take now that I have a chance to do it again?
View 5 Replies
View Related