Android :: Backgroung Setting In OpenGLES
Feb 19, 2009
I am writting opengl app using GLSurgfaceView given in API demos. I create a rectangle and added texture but then drawframe in renderer is called in a loop i,e it is redrawing it even if there is no changes. so what should i do to? how to set background.
View 2 Replies
Jun 9, 2010
I plugged in my phone at roughly midnight last nite.. when i woke up i checked my BatteryIndicator app and it said it had been fully charged since 12:52 am... somehow i think that that cannot be right... full charge in a single hour?
I just looked at my SystemPanel app to check the usage history and it showed this...
At 10:52 i took a screenshot that shows that my battery had gone down from 100% at 7:28 when i unplugged it, to 59% (see picture below).. I had light-moderate usage during this time as the following picture from SystemPanel will show.. the phone was inactive for a while (blue) and the CPU was only a little active, about 10%(bottom Green) yet the battery still was draining pretty rapidly...
This picture shows that the first 30 mins ate 5%-10% of my battery..
- I have animations off
- No live backgroung
- I have changed my radio from GSM auto (prl) to CDMA auto (prl) <- that eliminates the cell standby battery usage by elimitating the time without a signal (used to be 20%, now its 1%)
- I have only the mobile setting on (GPS, 4G, Bluetooth, Hotspot are all off)
Basically i have turned off all the settings that make this phone better then my Treo 700WX
View 5 Replies
View Related
Apr 20, 2009
I have serious issues using the eglMakeCurrent() method of the EGL10 class.
1) After a successful call ot the eglMakeCurrent method with an eglSurface & an eglContext, if i request the current context and the current surface (eglGetCurrentContext() & eglGetCurrentSurface (EGL10.EGL_DRAW)) i get different instances compared with the one that i've passed. Even the equals method fails.
2) After initializing the eglDisplay and before any call to eglMakeCurrent(), if i request the current context and the current surface i recive instances that are not the EGL10.EGL_NO_CONTEXT and EGL10.EGL_NO_SURFACE.
View 4 Replies
View Related
Jun 28, 2010
I'm developping a native application for android and I face to artefacts when rendering the scene. I can reproduce the issue with Java code.
While the following code running, I got a green screen. But If I move the status bar up and down over the screen, I see some red artefacts.
Here a screenshot made with ddms :
http://picasaweb.google.com/lh/photo/42bVsuIt8JldSIbPy8x2AA?feat=dire...
The Acer liquid running Android 1.6.
Can you check on other devices and tell me if you face the same issue ?
I would like to know if it's an Android issue or an Acer issue.
Here the code :.........................
View 2 Replies
View Related
Jan 5, 2010
How to play video using opengl es in android?
View 3 Replies
View Related
Oct 7, 2010
I'm writing a little 3D engine for android to better learn the platform and opengl. I hope to eventually use it as a base for little 3D games.
I'm trying to implement lighting right now, and generally following the NeHe opengl android port tutorials. I have a simple spinning cube and 1 light that should not change position. Upon rendering my scene on a device the light appears to "dim" and re-lighten as cube rotates.
This is a swf video of the behavior:
http://drop.io/obzfq4g
The code for my "engine" is located here: [url]
The relevant bits are:
[url]
This is where I'm initializing opengl and setting up my scene. and [url]this is the code for actually rotating / drawing the cube mesh.
I wish I could formulate a better question; but I'm very stuck/confused and can't even think of an intelligent question to ask besides "does anyone know what might cause the kind of behavior I'm seeing?"
Also the slowness / choppyness of the animation in the video is a result of the screencap software. It's smooth throughout the whole rotation on the emu.
View 1 Replies
View Related
Oct 4, 2010
From the posting so far I have seen, the current emulator as of API level 8 and Platform 2.2 does not support OpenGL ES 2.0. (Only in the emulator that the support is not there)
(The support is there at API level 8 for the ES 2.0)
wondering if any jone has figured out the following
1. Will the emulator support ES 2.0 in the future (considering there is compilers, shaders etc needed to support es 2.0) 2. What is a likely timeframe this may be available? (months or sometime future?)
I suppose considering that iPhone SDK has the emulator suppor for es 2.0, it can be anticipated on the Android emulator as well.
View 3 Replies
View Related
Nov 7, 2010
In my application I'm trying to create a mesh that is shaded by a single directional light. The problem I'm facing is that I can't seem to get the light to take my normals into account at all.
It works fine if I set the normals on a per-triangle-strip basis, but if I try to render a series of triangles with normals set using the glNormalPointer method the entire mesh is rendered using the same color (which is identical to the result I'm getting if I skip calling glNormalPointer all together).
My mesh render method looks like this:
code:.............................
View 1 Replies
View Related
Sep 3, 2010
I am drawing some textures with alpha channel, but when they are displayed it looks like the alpha channel is only binary. So a pixel is either transparent or opaque, although in the texture file itself the pixel is half-transparent.
The blending is set up like this:
code:............
The above shows how it should be like, and the below shows how it is:
View 4 Replies
View Related
Apr 8, 2010
I'm having a hard time deciding whether to go with Quartz2D or OpenGL for an iPad game. It will be 2D mostly, but effect-intense (simultaneous lighting effects for 10-30 objects, 10-20 simultaneous animations on the screen). So far, assuming i'm equally dumb in both technologies and have to learn them from the ground, i came to this list. (I've read several topics here, on SO, with names like "Quartz or OpenGL", but i'm still left with some questions)
View 1 Replies
View Related
Nov 7, 2010
Just couldn't find anything regarding the purpose of android.opengl classes anywhere on the web: they seem to be copies of javax.microedition.khronos.opengles - just with static vs member methods.
So is there any special meaning in using them instead of j2me classes: are they supposed to be faster, have additional functionality, simpler to work with? I think of using them instead of passing that gl reference all the time.
View 2 Replies
View Related
Jan 27, 2013
I want to learn Android development so I downlosded the Eclipse and configure it with ADT plugin with lots of hassle. When I open SDK manager it open the repository list that are needed to download lije Android4.O files, Google APIs ,System image etc. Though I was on slow internet connection. I read a tutorial to download google api and sysimg separately by copying the link from xml file. but now I dont know where I have to put these files in the main folders.
I have
1) Googleapi16_r03
2) sysimg_armv7a-16_r03
View 2 Replies
View Related
Aug 29, 2010
whats the best setting for setcpu to get longer battery life.
View 1 Replies
View Related
Aug 2, 2010
I can't, for the life of me, figure out how to set this up. I don't know what I'm supposed to put in the "Hostname or IP" field and I have no clue what my port is. And this also has a place to put a username and password. Do I just put anything?
View 8 Replies
View Related
Sep 28, 2010
I'm setting up Eclipse for Android and when attempting to install the ADT plugin, I encounter the following error:
Notice the more complete error message here.
Cannot complete the install because one or more required items could not be found.
CODE:.......
But it could not be found
I'm on Win7 x64 and using Eclipse 3.5.
Did I not set my Path correctly? This is what the relevant part looks like.
Path...;C:UsersMosheDevelopmentandroid-sdk-window ools
Do I need to reboot after modifying the path?
I am looking to install this package: org.eclipse.wst.sse.core 0.0.0
View 4 Replies
View Related
Sep 28, 2010
I'm having trouble setting up the Android SDK. I've set up Eclipse before but it didn't work, so I uninstalled it, but I'm trying again.
Does Eclipse need to be extracted to a particular folder for it to work? Where should I extract to?
I'm using Eclipse 3.5 on Win7 Ultimate x64
View 3 Replies
View Related
Mar 1, 2009
How does one go about setting a cookie? I have an website that sends mp3's to clients, but the request must have a cookie attached to it. How would I go about setting a cookie for a MediaPlayer URL request? Is that even possible?
View 3 Replies
View Related
Sep 23, 2009
This is my first post . I'd like to know how to add new APN configuration programmatically in my android program. Is it possible or not? I already searched the forum but failed to find one.
View 2 Replies
View Related
Jul 27, 2010
I recently switched computers, so im trying to reinstall it and im doing so by following the steps in the Pre-requisite section of this guide: http://androidforums.com/all-things-root-eris/53963-guide-stock-1-5-latest-root-2-1-a.html
It says that I should be getting a "#" when i type adb shell since I'm already rooted. Instead, I'm getting "sh-3.2#". Is it safe to continue?
View 2 Replies
View Related
Dec 24, 2011
The only package that seems to support tablet AVD is GALAXY tab with Android API 8.
Is it possible to setup a tablet size AVD for testing Android 4.0?
View 1 Replies
View Related
Aug 3, 2010
My application isn't working when user zoom in more then 18 times. How to set a maximum value to zoom?
View 5 Replies
View Related
May 29, 2009
The Android keyboard has a "Android Keyboard Settings" screen in the Settings->Locale&Text menu. I am developing an input method, using the Sample keyboard program as a starting point.How can I add a Setting screen for my keyboard, in the Settings->Locale&Text menu, similar to the Android keyboard ?
View 3 Replies
View Related
Jan 18, 2010
Can we set a wma song as alarm ringtone? I set a wma as alarm ringtone but it is playing the different one but it is working fine with mp3.
View 2 Replies
View Related
Mar 11, 2010
I want to write an android application, that should have a homepage or home screen and having many utilities. Each utility should have an icon with the name. So clicking on each utility or the icon, the corresponding next screen should be displayed. It should be similar to the android home screen. Is there any sample application that i can refer? Could anybody please let me know, how to set the icons for the utilities in the homepage of my application.
View 6 Replies
View Related
Nov 2, 2010
This seems like an obvious thing, but I can't find any way to do it.When I put my phone in the car dock, instead of auto-launching the official "car dock" application, I want to launch an app of my own choosing. (in this case vlingo)I can find various apps that specifically replace the car dock app, but that's not what I want, I want to use vlingo (which doesn't seem to have that option by default)Just to be clear, I don't want an app that gives me an icon I can click to launch vlingo, that would defeat the purpose as I can already click the icon on my home screen to launch it if I want.So how can I set what program launches when I drop it in the car dock?
View 5 Replies
View Related
Oct 5, 2010
Been trying to use chrome to phone after setting it up, it works once, maybe twice and then stops. can't figure it out, re-installed and same thing, once maybe twice. think it must have something to do with goggle account but no idea what, anyone else getting this problem?
View 7 Replies
View Related
Sep 24, 2010
Here is my color XML
CODE:.............
Here is my Java code:
CODE:............
This works when I use Color.RED or Color.GREEN, but when I use my own colors. The color doesn't show up.
View 1 Replies
View Related
Sep 4, 2009
I am quite irritated by the feature in the calendar, that places any new events by default in My Calendar, that is NOT synced with Google cal. Is there a way to change this default setting, to have it choose my Google Cal instead? I have not been able to find any such setting, but reasonably there should be one somewhere (maybe accessible through command line instead of gui)?
View 1 Replies
View Related
Nov 9, 2009
i downloaded the pandahome app and did really know how to use it as first and was annoyed with it constantly asking me what theme to use, so i set the home screen as default. now that i know how to use pandahome i want to to be the default.I have tired finding it in settings and deleting the defaults set. I have to Motorola Droid and would love some help.
View 1 Replies
View Related
Aug 21, 2010
I succeeded in setting up exchange email on my nexus one.The things that bothers me a bit is that I can only select to sync emails from the last week/month/etc.In some cases I want to look at an old email to perform my work.It's great how with IMAP email you can scroll down and just press a button to read more emails. Is there anything similar for exchange? Or at least some workaround?
View 3 Replies
View Related