Android :: White Screen In OpenGL Application

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?

Android :: White screen in OpenGL application


Android :: Opengl Es Texture Created From Bitmap All White?

Feb 18, 2009

All the textures I create from my resource files are fine, but when I create a texture in the following way... <code> mOverlay = Bitmap.createBitmap((int)mWidth, (int)mHeight, Bitmap.Config.ARGB_4444); mOverlay.eraseColor(0); mOverlayCanvas = new Canvas(mOverlay);

...

Canvas c = mOverlayCanvas; c.drawColor(Color.argb(0, 0, 0, 0)); Paint p = new Paint(); p.setColor(Color.RED); c.drawCircle(160, 240, 10, p);

....................

View 4 Replies View Related

Android :: OpenGL ES Application

Oct 25, 2010

I am currently trying to develop a game for android in OpenGL ES and I am testing it on my Nexus One. But I have run into some performance problems,and I would like to ask somebody about it,could you help?I currently have a very basic scene - background made of 25 tiles(256x256 texture each), and then a number of textured cubes(128x128 texture for each side of a cube ). However,when I try to display approx. more than 10 cubes, the performance becomes so sluggish that I can't even rotate the scene smoothly. I can't imagine how can I add more objects(player,enemies, all that kind of stuff) when it runs so slowly with 35 objects in total. I mean - games like Raging Thunder 2 probably display hundreds of objects at once(plus they do lots of computations behind the scenes) and they run super- smooth on my nexus one. What am I doing wrong? Could somebody help me please?

View 13 Replies View Related

Motorola Droid :: Remove White Screen From Favorite Screen

Jan 18, 2010

I accidentally opened a screen and can not get rid of it. I was looking at corporate calendar and now I have a large white no calendar events on my favorite screen that I can not get rid of. I do not have an exchange server to sync too at work.

View 2 Replies View Related

Android :: OpenGL ES Application On WebView

Sep 5, 2009

I want to implement OpenGL ES application on WebView. Can the application be ported that way? I have an Applet Player which uses JOGL for rendering purpose and JavaScript for event handling. Now to port that application on Android I have completed rendering on GLSurfaceView. For event handling I need to replace the code of Javascript with something else. Can I call Javascript and parse it from my standalone application. Or I would have to use WebView class to use it.In case I need to use WebView for calling Javascript then can I draw opengl es on WebView.

View 2 Replies View Related

Android :: OpenGL Application Rendering Using Software?

Oct 27, 2009

From the adb log of my G1's boot time, it shows "requestGPU returned -1", among other stuff. Does this mean that my OpenGL app is being rendered using software? BTW, I see the same messages on Hero as well.

------------------------------------------ log begin ------------------------------------------

I/SurfaceFlinger( 81): SurfaceFlinger is starting I/SurfaceFlinger( 81): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... D/SurfaceFlinger( 81): pid 81 requesting gpu core (owner = -1) W/SurfaceFlinger( 81): couldn't grant gpu core to pid 81 D/EGL ( 81): requestGPU returned -1 E/libEGL ( 81): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS) I/SurfaceFlinger( 81): EGL informations: I/SurfaceFlinger( 81): # of configs : 6 I/SurfaceFlinger( 81): vendor : Android I/SurfaceFlinger( 81): version : 1.31 Android META-EGL I/SurfaceFlinger( 81): extensions: I/SurfaceFlinger( 81): Client API: OpenGL ES I/EGLDisplaySurface( 81): using (fd=19) I/EGLDisplaySurface( 81): .......

View 2 Replies View Related

Android :: Spinners Showing Text In White With White Background

Jun 12, 2010

I have an app which uses 3 different spinners to allow users to choose from some options. Iīve added those spinners to my layout without editing most of itīs properties and this way it works for most of my users. Unfortunately most isnīt all and then some of them started complaining that the list of options is showing text in white with over a white background! Iīd like to know if thereīs a way (or a property) so I can force those spinners to show the options list using text in black.

View 7 Replies View Related

Android :: Memory Usage Profiling OpenGL Application?

Aug 23, 2010

How do I find out how much memory my openGL application is using at any given moment, including sounds, textures, and everything else? I've been wrestling with DDMS for hours and all it seems to show me is basic object allocation counts. I must be missing something, but I haven't had any luck searching. LONG VERSION: I've got an otherwise operational beta Android game which crashes out after a while on my device (Droid X). I'm fairly sure my problem is that my textures are not being properly cleared from memory. I'd like to confirm this fact before I start blindly making changes. My game does fairly frequent level transitions. During these transitions I typically dump a texture file, wait a bit, then load a new one.

Over time the application performance degrades. After 10 or so transitions frame rate starts to take a nose dive. 10 or so more and it usually dies. Prior to dying I see log messages like this: 08-23 12:26:58.038: DEBUG/Cursor(1265): fillWindow is not executed because Cursor object is closed. 08-23 12:27:27.186: INFO/ActivityManager(1239): Low Memory: No more background processes. And then eventually: 08-23 12:27:46.952: INFO/ActivityManager(1239): Process com.thup.lunchbox (pid 4927) has died. There are no specific error messages of any sort. I've got lots of ideas for things to try to fix this (e,g, glDeleteTextures), but I really want a way to measure before I start trying to fix.

View 2 Replies View Related

Android :: Map View In Emulator - White Screen

Oct 19, 2010

I tried to use map view to load google map, i have generated the keystore, and put in the mapview, below is my MapView, and also I have changed the Custom debug keystore equal to default debug keystore but still showing me a empty screen. please advise which on i am wrong. I use google api 2.2.

View 3 Replies View Related

Android :: White Screen Comes Over Video View / What To Do?

May 27, 2010

I am trying to play a video via streaming in my android application. Video playing functionality works good but whenever changes the orientation of the phone...a white screen comes over the video view and audio keeps playing. And after turning back to original orientation, video starts playing normally..(with proper video and audio.) what should i do?

View 1 Replies View Related

Android :: Crashes - Blank Screens When Running OpenGL Application

Jan 14, 2010

I'm nearly ready to publish my OpenGL game. I've been browsing this newsgroup and I've seen quite a few posts regarding crashes, blank screens, etc when running an OpenGL application on the Droid. I have three questions:

1) What are some common pitfalls that occur when trying to support the Droid/Nexus One? So far, I've tested my game on the Android 2.0 emulator (both WVGA & FWVGA) and everything works fine but I'm still paranoid.

2) I've placed my textures (png) in the assets folder. Will these images be pre-scaled automatically? I've read about specifying density independent images for resources but do the same rules apply for images stored in the assets folder? I'm afraid that pre-scaling will cause my textures to become non-power of 2.

3) What additional strategies have developers been taking to ensure their application works on the newer devices when they only have access to G1/G2 hardware?

View 10 Replies View Related

Android :: Writing Portable Java Application Using JOGL And OpenGL

Oct 24, 2009

I plan on writing a Java 3D game that will work both on PC and Android. Unfortunately it looks like there is no common OpenGL API for both platforms.Do the APIs differ significantly? Is there a way I could use the same 3D code in both versions? Is it a good idea?

View 3 Replies View Related

Android :: White Screen Appears In Main Activity?

Feb 15, 2010

public class Profile extends Activity{
WebView prof_webv;
private String selected_username;
private static final String INDEX = "http://14.143.227.140";

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
prof_webv = (WebView) findViewById(R.id.mainwebview);
prof_webv.getSettings().setJavaScriptEnabled(true);
prof_webv.getSettings().setSupportZoom(false);
prof_webv.loadUrl(INDEX);}

@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if ((keyCode == KeyEvent.KEYCODE_BACK) ) {
finish();
return true;
}
return super.onKeyDown(keyCode, event);
}
}

This is my new Activity for a WebView. When the user clicks back, I simply want to close this Activity and return to my previous one. Notice, I put "onKeyDown" -> Finish. However, it's not working. Instead, I click "back", a blank white screen comes up.. (it doesn't even hit that onKeyDown Statement when I try to debug it)! When I hit "back" the second time, then it will go back to my previous Activity.

View 1 Replies View Related

Android :: OpenGL Half Screen

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

HTC EVO 4G :: How To Fix White Screen

Oct 10, 2010

I am root using unrevoked. I made a nandroid as soon as I rooted. I have since removed a bunch of the crap-ware and I would like to try custom roms. But I cant seem to make another nandroid backup. I have tried to do it through ROM Manager and through the volumedown+power. Both take me the the white evo screen and it just sits there. I haev been patient, but 45 minutes is long enough I think. I know y'all see this stuff all the time and it gets frustrating but I really have tried to understand and to read and to search and I haven't found a fix for this.

View 1 Replies View Related

Android :: Backflip Stuck At White Screen With Moto Logo

Mar 25, 2010

I was messing around with the camera and suddenly it goes to the White Screen with the Motorola logo in the middle. Its just stuck there. I've pulled the battery for at least 30 minutes, tried holding down, up, camera, while turning the phone on, no luck. Every time I power it up its just the same white screen. It's doing nothing. Are there any other manual methods of resetting this thing?

View 6 Replies View Related

Android :: Opengl Es Testbed App Not Render Anything Besides A Red Screen

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

Android :: Move Particular Texture Around Screen Using Opengl Es?

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

Android :: OpenGL Speed Issue - Code Contribution To Other OpenGL

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

Android :: NDK OpenGL - Mixing Java And Native - C - Calls To OpenGL API

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

HTC EVO 4G :: Stuck On White Screen!

Jun 24, 2010

After following the guide to rooting, my phone is now stuck on the white "htc evo 4g" screen. It will boot up to that, then restart, and repeat.

View 4 Replies View Related

General :: Star S9300 - Android 4.1.1 White Screen When Phone Turned On

Apr 5, 2013

I have recently Bought an S9300 phone and when received all was working OK. And I was really happy with the phone. BTW the phone runs on Android 4.1.1 OS (MTK6577).After a week I started experiencing problems with the camera and gallery. The seller instructed me to reset factory settings. This didn't work.

Then he sent me the firmware so that I would Upgrade it. This has been done but know, after upgrading firmware, when I turn my phone on all I get is a blank white screen. Although the hardware seems to be responding to button commands, the blank white screen persists.

To Upgrade the firmware I used the Smart Phone Flash Tool.

View 2 Replies View Related

Android :: Drawing 2D Stuff On Screen In OpenGL Over 3D Scene

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

Motorola Droid :: Way To Change Clock In Notification Bar From White To White?

Oct 22, 2010

I am running Bugless Beast v5 with the Evolution theme on my Droid1. Is there any way to change my clock in my top notification bar from white on white to black on white?

View 13 Replies View Related

HTC Incredible :: Stuck At White Screen

Aug 5, 2010

I rooted my Inc with the Evo tool, and installed a ROM through ROM manager, after deciding that I did not want to keep the ROM, I tried to restore back to the stock rooted ROM I had before through the clockworkmod/nandroid options. Now the phone is stuck at the white screen that reads, "htc incredible" and none of the buttons will cause anything to happen. I was debating on doing a battery pull and restarting, but I believe I read somewhere that doing so would brick the phone.

Update: Did a battery pull and was able to boot into the HBOOT and run the nandroid recovery again, I am trying it now to see if I can get back to the original ROM.

Update:Update:
After rerestoring the phone, the boot animation runs all the way through and the phone starts back up.

View 7 Replies View Related

HTC EVO 4G :: Stuck In White Screen And Recovery

Nov 25, 2010

Flashed a Fresh ROM, did a wipe cache and dalvik before flashing but now I'm stuck in the white htc evo 4g screen. Tried to reflash didn't work. I've pulled out the battery and powered on while holding volume down. This is what the screen reads:

SUPERSONIC EVT2-3 SHIP S-OFF
HBOOT-0.97.0000
MICROP-041f
TOUCH PANEL-ATMEL224_16ab
RADIO-2.15.00.09.01
Aug 19, 2010

I can boot into ClockworkMod Recovery v2.5.0.1 but my backup and nandroid files can't be located. Sometimes I get the Android with the exclamation point, sometimes not. PCIMG36.zip image can't be found either. I think my phone is screwed! I've searched through the forums and googled and tried out a many things but to no avail. Also, does doing all this through a Mac make a difference?

View 25 Replies View Related

HTC EVO 4G :: Stuck At White Boot Screen

Nov 9, 2010

Been creating a theme last few days. I installed it on my phone, but before doing so i was a good boy and did a nandroid backup. Then i didnt like osme of the things i changed so i restored my backup i just did now its stuck after restoring on the white htc evo screen. NOT GOOD!! I even pulled the battery and SD Card...twice.

View 4 Replies View Related

HTC Desire :: White Line Across Screen?

Jun 2, 2010

Ive only had my desire a couple of days and for some reason a white line has appeared across the screen, wondering if its been damaged. It hasnt been dropped or abused in anyway so quite confused. Tried a hard reset but to no avail? Pic attached if anyone can figure out otherwise back to the shop it goes!

View 9 Replies View Related

HTC Incredible :: White Screen Of Death

Aug 7, 2010

my phone is stuck on the white screen that says htc incredible, now when i try to use the unroot method put the zip file. on the sd card and turn off phone and turn it on by holding the volume down and power button. when it tries to load the file as it should , it says no image or wrong image and does not load anything. now im stuck when i try to go into the recovery it lets me get there but i cant even wipe anything. it says something like E: Cant mount.

View 7 Replies View Related

HTC Desire :: Not Booting - White Screen

Jun 9, 2010

I 'had' a desire - for a whole 3 days. Then it stopped booting ( white 'HTC' screen ) or boot looped when in 'safe mode'. Spoke to HTC, tried factory reset - they told me to take it back to the shop. I got a refund - the iphone was announced the same day and now I'm in two minds! So, was I just unlucky or is the desire not very reliable? The iphone's I've used seem to be much more solidly made. For the short period I had it I was a little concerned by the inability to back up the apps & stuff externally. I just sort of assumed that I would be using my PC to get apps and stuff and then transfer to the desire - just like itunes. Now, I know itunes is not too popular here (!) but the fact that all my purchases are held on my pc too makes me more comfortable. So

1) Is there any way that the desire can store all it's stuff in a similar way?
2) Now my phone's ( & mem card ) gone have I lost the apps I bought?
3) Can I only by Apps from market via the phone itself?

Sorry for the questions, but I'm not sure whether I want another desire now. I really like the interface but I'm not sure that the overall package is 'friendly' enough. The iphone just looks more polished.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved