Android :: Screen Is Dark Momentarily When Launching OpenGL View
Nov 2, 2009
Dear all, I want to implement the transition effect ( transparent with Z axis ) when user slip the android home to change home page. therefore, I plan to launch the new activity that is implemented by OpenGL ES to perform this effect. However, i encounter a problem that the screen/display is dark momentarily when launching the OpenGL ES activity.
View 3 Replies
Aug 23, 2010
I want to get the display as dark as possible but I also want the display to remain touch sensitive.So I can't turn the display off, otherwise it wouldn't react to touch anymore. And I use WindowManager. LayoutParams. screenBrightness to get the screen as dark as possible. And I put a layer colored black over the entire display.That works, but at night one sees that the screen is still quite strongly illuminated.Does anybody have an idea of how to get the screen even darker?
View 5 Replies
View Related
May 28, 2009
I've dug through the documentation but couldn't find a call that would fit: Is there a way to find out the screen status (Active/dark)?I've got an app that implements the relevant data processing and backend server connectivity through a Service that I keep running on a reduced activity level when the user puts the device to sleep (using end button), or when the screen timeout hits. In the app code, I can follow this status change, because it triggers calls to overloaded onStop() and onPause() methods of the app's subclassed Activity. This way, I control active/reduced ("sleep") activity levels of that Service. Everything's cool and dandy in this scenario.Enter an AppWidget that's using this Service in a similar fashion, with functionality implemented in a subclass of AppWidgetProvider. This changes the game - I have found no way to determine when to set the Service to the reduced ("sleep") activity level from that point. The app's Activity has long paused, and I keep the Service at active level, as the widget needs updates from the Service similar to what the Activity needs when in front. With the AppWidget on the home screen, I want, and should (re: battery life), drop the Service's activity level when the device enters sleep mode. The most elegant way to handle this would be to detect whether the screen is dark, right inside the Service.
View 5 Replies
View Related
Jul 2, 2010
I have noticed a dark stripe/streak on my screen just to the right of the center. I have an invisible shield screen protector installed would that cause this dark stripe or is it a screen problem?
View 3 Replies
View Related
May 28, 2013
I am using the camera app that came along the phone its good. But If i am using other photo apps like picsart or*instagram the *screen looks dark and cant see anything through the camera. It looks dark.And also other apps like*qr code and Google goggles they also *looks dark through camera. Its running jellybean 4.1.2 out of box.
View 7 Replies
View Related
Nov 26, 2010
A girl at work spilled her drink of water by my phone and of course it got wet. I did the whole sit in rice for 3 days and hit it with a lite blow drying. After I turned it back on everything works perfect (can text and receive calls, ect) except the screen is so dark I can only see it (hologram type effect) in super bright light and tilted at an angel. And even then its barley visible. To my surprise yesterday the screen lit right up back to normal and I almost died, but by that night its back to dark. I have no insurance and have about 8 months left on my contract. I talked to some verizon people and the best scenarios for me would to be A) Buy another Droid X from like craigslist and switch everything over. Cheapest I seen in my area is $375 or B) Ad a line and get a new Droid X w/2 year contract for $200 and switch the info over and pay the data fee on the old one I cant use I'm not asking so much for help on those options, but more if anyone knows any tips to maybe fix the screen (if it is a screen problem and not hardware). It just sucks because it works perfect and it did come back on so I know (kinda) that it must be capable of doing it again.
View 2 Replies
View Related
Aug 19, 2009
I've noticed that OpenGLContext is removed from 1.5. Everybody says that GLSurfaceView should be used instead. Does this mean that there is no way to render OpenGL graphics into a regular View?
View 4 Replies
View Related
Nov 8, 2010
How do I set up an xml layout where an OpenGL view is part of it? As I do now is set the OpenGL view as the only view with setContentView(). But I would like to create an xml layout that includes the OpenGL view. Lets say I want to have the OpenGL view mainly and a small TextView at the bottom.
Is this even possible? Or can an OpenGL view only be the one and only view?
View 1 Replies
View Related
Jan 4, 2010
Forgive me if someone else has asked this, but I searched the forum and couldn't find an answer.I understand that the proximity/light sensor turns off the screen when the Eris is next to your ear to prevent "face dailing", etc. And, I understand the screen comes back on when the sensor senses light. Ok, that works fine.BUT, what do you do if you are using the phone in the dark? When I pull the phone away, the screen will not come back on because it does not sense light. For example, trying to delete a voicemail if you're using the phone in the dark. I've tried every button to re-activate the screen, and the only one that will work is the "End" key. And that obviously ends the call.
View 8 Replies
View Related
Apr 1, 2010
This may be just me or my combo of applications but, When I enter a number on the touchpad and press dial the screen goes dark and will not come back or accept input unless I put the phone to my face or otherwise cover the the light sensor. Even pressing the power button does not bring the screen back . I have forced the 2.1 update and have not noticed this behavior before. Not a big deal but is annoying if you dial a wrong number.
View 1 Replies
View Related
May 31, 2010
I just got the phone the other day. I have had the eris. I had a big problem with in call the screen goes out and i can not end the call. The screen wont turn on either when i open the slider takes a good minute and half till the screen becomes "awake". Is there a fix for this?
View 11 Replies
View Related
Dec 9, 2009
Dock for Moto Droid worked as advertised for a few hrs, then would go "dark" and touch buttons were flashing. Only thing that would stop the flashing was to press the power button. (but screen went blank again after hitting the return button)
View 3 Replies
View Related
Oct 25, 2013
I'm using samsung galaxy i5510 , and my problem is i'm having a dim dark invisble screen on cwm recovery 5.0.2.6 and some 2.3.6 official roms , and in all modded roms 7 and 10 that i found here ,even with this problem i succeed installing some mod roms using cwm recovery that is barely visible but the same problem the rom installed is dark and invisible but installed ,
Here a photo is what the screen looks like it's from another guy on youtube having same problem with i5510.
I don't want to come back to 2.2 or 2.3.6 beacause i can do it but i want a solution to install modded roms and cwm recovery without the screen problem.
View 4 Replies
View Related
Jan 31, 2010
Was wondering if any one else has experienced the trackball to not work at times momentarily? very rarely it doesn't move from screen to screen or from app to app. Then it starts to work, maybe its just something else on the phone doing work that stops it, idk
View 2 Replies
View Related
Jul 15, 2010
The new DX and I love it. It's fast and great. I'm a heavy user so I'd like to conserve as much battery as possible.Is it possible to have the screen not light up when I get an SMS or a call?I'd like my phone to just ring without lighting up because I get tons of SMS for my work.
View 2 Replies
View Related
Oct 7, 2010
I have follow an example of an opengl application and I don't know why is this thing happening...I have a GLSurfaceView with it's corresponding renderer drawing a triangle. But, instead of getting the whole view on screen, I have just the upper half, and it's also duplicated as you can see on the picure. I'm using a Nexus One.
View 3 Replies
View Related
Oct 23, 2009
I've just dusted off an application I did for Android half a year ago. I upgraded to the latest SDK and Eclipse ADT. After some struggeling I get the application to run again. When I debug it I can see that all the right code are executed the right way. The application shows a OpenGL surface and animates stuff on it. It used to work perfectly (I even have it running on my HTC Magic device), but in the new emulator the screen is just white?
View 11 Replies
View Related
Apr 7, 2010
For some reason my code here (this is the entire thing) doesnt actually render anything besides a red screen..
can anyone tell me why?
CODE:.................
View 2 Replies
View Related
Feb 9, 2010
I am very new to OpenGL ES. I am implementing some demo app to load multiple textures on the screen. For demo purpose I have loaded 2 textures in 2 different locations on the screen using glTranslatef() and glBindTextures() twice. Now I am able to see 2 different images on the screen. Now I want to move one particular texture across the screen using mouse.
View 2 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
Jun 27, 2010
Can somebody take me step-by-step how to draw 2D stuff over a 3D scene (such as controls, etc.). What I've been doing so far has not been working (it only draws the 3D scene), which is (in every frame): draw the 3D scene as normal, projection matrix mode, load identity, call GLU.gluOrtho2D(gl, 0, myScreenWidthInPixels, 0, myScreenHeightInPixels), switch the array pointers (vertices and texture coords) to the ones for my 2D stuff, then drawElements with an appropriate index list. (then switch the array pointers back so the 3D stuff works again).I get nothing added to the screen (just the 3D stuff).Do I need to be doing something else for it to draw? Can somebody take me step-by-step?
View 5 Replies
View Related
Nov 14, 2009
Oftentimes when I attempt to end a phone call the screen goes dark and I am not able to end a call. I have read other websites in which users have had similar issues. Will this issue be addressed and fixed soon in a firmware update?
View 3 Replies
View Related
Nov 10, 2010
I'm developing an Android application. I'm very new on it. I have the following classes:
class CustomGLSurfaceView extends GLSurfaceView
class CustomRenderer implements GLSurfaceView.Renderer
CustomGLSurfaceView uses CustomRenderer to render a cube on onDrawFrame method.
I've added an onTouchEvent(MotionEvent event) on CustomGLSurfaceView to manage touch events:
class CustomGLSurfaceView extends GLSurfaceView {
// For touch inputs - previous touch (x, y)
private float previousX; private float previousY;
private CustomRenderer myRenderer; public CustomGLSurfaceView(Context context) {
super(context); myRenderer = new CustomRenderer(); setRenderer(myRenderer);
} @Override public boolean onTouchEvent(MotionEvent event) {
float currentX = event.getX(); float currentY = event.getY();
switch (event.getAction()) { case MotionEvent.ACTION_MOVE:
myRenderer.handleMovement(currentY, currentY, previousX, previousY);
} // Save current x, y
previousX = currentX; previousY = currentY;
return true; // Event handled } }
May I have to modify onDrawFrame to draw something new or to rotate the cube? I thing I must do it on handleMovement.
View 1 Replies
View Related
Mar 21, 2010
How do I use gl.gluUnproject in my OpenGL ES 1.1 android app to determine what is selected when the user touches the screen?
My understanding is that the touch event results in a line and I have to find the first "thing" it intersects with.
Are there any tutorials on how to do this?
View 4 Replies
View Related
Sep 18, 2009
I've been working on a game framework for a little while, and while its far from perfect, I've put the current version online. To be honest, I haven't used much OpenGL in the past. Before last week I had never tried using it. If anyone would like to take a look, please do, I'd appreciate all the help possible on speeding it up. There are many features I have in mind and am planning at the minute, but so far it supports:
# Texture and Sprite management # Text, using TTF fonts # Organised layers # Two audio management classes, one optimized for music, the other for sound effects # Sprite dynamics (acceleration, terminal velocity, collisions) # Animation # Handlers to manage events fired through movement, animation, screen touches, accelerometer input, device shaking and collisions # Several minor features aimed at speeding development, such as screen settings and vibration.
View 1 Replies
View Related
Feb 4, 2010
I'm trying to develop a 2D game to android using opengl. I know how to print images on the screen and animate them. But in my game I have a map and a want to zoom in and out and scroll the map. But I can't figure out the best way of doing it.
View 2 Replies
View Related
May 3, 2010
I have written a object selection algorithm which picks the objects by their color. i give every object an unique color and then i just have to use the glReadPixels method to check which object was selected
this works fine and is really fast but the problem is that the frame is displayed on the screen with all the picking-colors so the screen flashes every time you select something.
so my question is: how do i write everything in the correct display buffer but dont display it on the screen to avoid these flashes?
View 3 Replies
View Related
Apr 21, 2010
I wanted to know if there is any way possible that I could use an opaque view like webView or mapView or such opaque view in some defined portion of my device screen like I want to use webView alongwith some another layout having another views. Is that possible? If yes, how? If no, where can I look to find some solution or workaround?
View 3 Replies
View Related
Oct 14, 2010
I am looking for an app that might let you record or see in the dark like night vision ( not the fake app ) A few of us are gonna play in the dark with a fun board we all know and some think that is a very creepy and we see if we can see what happens on camera . Any apps out there for this ?
View 6 Replies
View Related