Android :: GLSurfaceView Comes Out Whole Screen Become Black / Show It Smoothly?

Apr 12, 2010

I've been block by this question for about a week. I tried to implement a simple application: show a image, when user touch on screen, I want to create a GLSurfaceView to cover the previous image. Then show some 3D effects on this GLSurfaceView.

The logic is quite simple. But I have a serious problem. When GLSurfaceView comes out, the whole screen become black, after 1-2 seconds, the GLSurfaceView with texture shows up. Is there any way to make this smoothly? The 1-2 second black screen is really a bad user experience.

Android :: GLSurfaceView comes out whole screen become black / show it smoothly?


Android :: GlSurfaceView Is Completly Black When Reloaded

Oct 5, 2010

In a nutshell, I use regular views for all my application except for on that uses a GLSurfaceView.

The UI flow works well. I can navigate form one to the over except whith the GLSurfaceView

When I open the first time the GLSurfaceView everything works fine, but when I switch to another view and come back (pause menu) my view is completly black...

I tried several things and the closest I got from fixing it is to recreate the GLSurfaceView completly (but that takes too much time ...)

What I want is be able to do this:

CODE:........

what I'm doing wrong or point me to a tutorial that explain how to swap form GLViews to regular views

View 1 Replies View Related

Motorola Droid :: Camera Just Show Black Screen?

Jul 4, 2010

Has anyone had there camera just show a black screen? it makes the autofocus noises but black screen. I have done a bat pull and it still doesn't work.

View 1 Replies View Related

Media :: Youtube Video Show Black On Full Screen

Jul 23, 2009

When i open Youtube app. and try to play video it shows black on full screen
i know it has worked before the resent software update

View 1 Replies View Related

Android :: Making View Slide Off Screen Smoothly?

Aug 10, 2010

I have ads that display on the top and bottom of the screen, and I'd like them both to slide off the screen smoothly, instead of just disappear. Is there some way to do this? They are both WebViews, if that makes any difference.

View 2 Replies View Related

Android :: Screen Flickering In GLSurfaceView

Mar 18, 2010

I'm using GLSurfaceView to create a simple OpenGL drawing application. Since the elements drawn in each frame must remain on screen in order to be composed into the whole drawing, I don't use gl.glClear(GL10.GL_COLOR_BUFFER_BIT) at the beginning of each frame. But not clearing the color buffer leads to substantial flickering. Is there any way to eliminate flickering while still not clearing the screen at the beginning of each frame?

View 7 Replies View Related

HTC EVO 4G :: Youtube Not Working - Quick Black Screen Flash And It Goes Back To Home Screen?

Aug 9, 2010

When i fire up my youtube app, i get a quick black screen flash and it goes back to home screen. The app doesnt launch at all. It was working just fine for several months, all of a sudden it started doing this.

View 8 Replies View Related

Sony Ericsson Xperia X8 :: Blank Screen / Black Screen / Hang / Freeze Error?

Dec 2, 2010

This was reported in the other thread about X8 Issues, but thought to start a new one to gather feedback from users. It's about the ''black screen'' freezing issue encountered by some users. I have had this several times since owning the phone for a few weeks, so it is a recurring issue. Problem: The phone hangs or appears to be shut down or become unresponsive suddenly. Pressing the hardware buttons doesn't help as the phone doesn't react at all. Solution: Take out cover and battery and restart.Observations: From my own observations, it's not actually a shutdown but a major freezing/hanging. Sometimes when it happens, I can still see vague shades of the display at an angle. After leaving the phone for a while in the pocket, the phone comes back to normal again. Not sure if this is true for all users with this problem. Anyway, gathering more feedback to see how prevalent the problem is, to evaluate whether I should take it to the SE service centre, or whether doing so will help at all.

View 3 Replies View Related

HTC EVO 4G :: Screen Going Black When Making Call And Screen Locks?

Jun 23, 2010

1) After I make a call, the screen goes black in a matter of seconds. I'm typically using a headset when I notice this. To end the call (or enter numbers in a call menu) I need to press the sleep button to get the screen to light up again. This is a pain in the a$$.I have the screen timeout set for 2 mins.

2) About once or twice a day the home screen will lock where I can't press anything. I need to reboot to fix.

View 7 Replies View Related

Samsung Epic 4G :: Sometimes Screen Is Black When I Hit Screen On Button

Sep 9, 2010

Sometimes when I hit the screen/power button the screen will stay black and i can see the menu bar up top fine but all else is black. If I hit the home key then all lights up fine. Then sometimes Ill hit the button and it works fine.

View 3 Replies View Related

Android :: Endless Black Screen

Dec 2, 2009

I installed panda home just now and i get a black screen. I tried a battery pull, phone reset, etc. I cant get past the black screen. Is there any way I can boot in safe more or something? I literally cant use my phone, all I see is the task bar at the top and no buttons.

View 1 Replies View Related

Android :: Black Screen Is Displaying

Mar 23, 2010

i opened my application after i am not doing any kind of operation i leave the mobile 5 min after 5 min when i touch the my application it is showing black screen.is there any way to avoid this idle state.

View 1 Replies View Related

Android :: Black Screen In Inner PreferenceScreen

Jul 2, 2010

My PreferenceActivity contains a nested PreferenceScreen in another PreferenceScreen and I'm applying a theme to my PrefenceActivity that changes the background color. However when I open the nested PreferenceScreen I get a black background and I cannot see the options.This happens with android 2.1 , but it does not happen with android 1.6.Any ideas on how this can be corrected?

View 1 Replies View Related

Android :: Webview Broken In 1.5 SDK - Black Screen?

May 3, 2009

Can anyone confirm the fact that webview is broken in the 1.5 sdk? Either that, or update the code page on the google developer side as neither that code nor any other (including my previously working webview code) is showing anything but a blank black screen.

View 19 Replies View Related

Android :: Got Black Screen After No Operation On Application

Aug 13, 2009

in my app, I came into an Activity from the pre Activity's UI (such as:click a TextView which has added OnClickListener), like this way, after several times, I came into a deeper Activity. I left it for a while (such as left away) , when I came back ,I returned the Activity before the last Activity. then I got a black screen.

View 3 Replies View Related

Android :: Screen Goes Black In Middle Of Slideshow

May 22, 2009

I have a slideshow function in my app and if the number of images is more, the phone locks (screen goes black) in the middle of the slideshow. How can I avoid this in my app?

View 3 Replies View Related

Android :: Barcode Scanner Black Screen

Feb 23, 2010

I have T-mobile touch with android on it. I want to use Barcode scanner, but when i turn it on, the screen is black, and all i see is that red line on the center. It's like my camera is not turning on. I also tried on my cousins phone (exactly the same) and the Barcode scanner app worked fine. I tried many times all over again but the problem is the same everytime. BTW when i try to take photo my camera is working fine.

View 8 Replies View Related

Android :: Screen Becomes Black While Swicthing Activity

Jul 17, 2009

There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history stack. Previously I just called setContentView of the activity without starting the activity again, but with this I cannot have the previous page in the history stack.Now the problem is - each screen normally takes up to 20 seconds to fetch content, parse and display. when the startActivity is called the screen becomes black until the next UI is rendered. I wanted to keep the previous screen showing until the next page loads.Please tell me 1. Is there a way to do this? 2. Is it good to start the activity again for each page. If not how to have the previous page in the history stack so that I can use the Android's back button.

View 6 Replies View Related

Android :: Camera Preview Screen Still Black

Mar 16, 2010

I'm trying the camera preview

This is my code and it doesn't throw any error, but the screen still black, any ideas?

this.setContentView(R.layout.camerapreview);
SurfaceView cameraSurface = (SurfaceView)findViewById(R.id.cpPreview);
SurfaceHolder holder = cameraSurface.getHolder();
holder.addCallback(this);
holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
this.camera = Camera.open();
this.camera.setPreviewDisplay(holder);
this.camera.startPreview();}

View 2 Replies View Related

Android :: WebView Displays Black Screen

Feb 2, 2010

I have a listview that when you click on an item it will take you to a WebView that displays some static formatted text associated with that list entry.

I had it all working with a TextView but I wanted to be able to use HTML formatting for the text and figured the WebView was the way to go. Right now it is just supposed to display a generic link for testing purposes but when the viewContent intent starts it just goes to a black screen. I can go back and pick another entry and it also just shows the black screen.

I'm not sure what code you are going to want to see so here's the viewSection class file and the viewsection.xml layout.

viewSection.java:

CODE:..............

viewsection.xml:

CODE:..................

View 1 Replies View Related

General :: Android Tab Shows Black Screen?

Feb 5, 2014

My Tablet shows black screen after a while animation android logo and no more work. So I tried factory reset. But factory reset doesn't proceed to recover menu. It shows only factory reset logo (Android logo with red triangle) like screenshot.

My tab has only 3 button (power, Volume up and down). I tried both of them. But the logo doesn't move. How to factory reset?

My tab Configuration:

Duocore M7200 7inch, 1.2GHz, 512MB DDR3

View 9 Replies View Related

Android :: How To Draw Curve Smoothly?

Jun 22, 2009

I have lots of discrete points and want to link them together smoothly. How to do that? Is there any api to call ?

View 2 Replies View Related

Android :: Videoview Can't Play Mp4 Smoothly / Fix It?

Jul 23, 2009

I have used videoview to play mp4 formate movie, but when start to play it, the videoview can't play smoothly, that means there have a little lag,

but in the: http://developer.android.com/guide/appendix/media-formats.html the android support media formate have mp4..

the code is very simple,just like in the sample code...

View 11 Replies View Related

Android :: Click On Talk Icon It Goes To Black Screen

Jul 8, 2010

when i click on talk icon it goes to a black screen as if it was gonna launch google talk but then goes right back to main menu screen.

View 1 Replies View Related

Android :: Activity Executing Code While Screen Is Black

Sep 22, 2010

I've a lot of initialization code in my main activity's onCreate(). When I launch my game, the screen goes black for a long time, then my game appears. I did logged some message at the start and end of onCreate() and found that onCreate() is executing its code while the screen is black. Sometimes the screen goes black for too long and phone shows a popup dialog prompting me to choose between Force close/Wait. Then when onCreate() is completed, my game appears. Choosing 'Wait' then dismiss the dialog.

I tried using progress dialog described in this article:

http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog

But it doesn't work. The screen goes black for the same amount of time even after I use the progress dialog.

View 4 Replies View Related

Android :: Screen Black And Wont Unlock - Lock 2.0

Jul 29, 2010

Dad was using the phone trying to send a facebook message and got impatient. Then the screen went black.I'm using Lock 2.0,but the original lock on my Droid and when I slide it to unlock my screen turns black.I've turned it off twice and took out the battery.

View 2 Replies View Related

Android :: Screen Was Black Case - Service Sleep

Sep 21, 2009

I wrote a service and I registered BroadcastReceiver in it. In the onReceive () method of BroadcastReceiver catagory,I just wrote Intent.ACTION_TIME_TICK.equals(intent.getAction()) to receive the systenm time every minute and deal with everything that I should do in it every minute.But i found a problem that when the mobile phone screen was locked and was completely black,my service seems to be sleep and does not work,and when I light up the screen(it is still in locked condition),the system will automatically run my service.I do not know the reason,I guess if it is because my service is not the system-level service? When the mobile screen is black,Andraid system will hibernate the sevice which is not the system-level service,so if this,I should add my service to system service,but I know how to use android.permission.ADD_SYSTEM_SERVICE? If you can,please send me a example about how to add own service to system-level service.This problem has been troubled me for two weeks.

View 2 Replies View Related

Android :: MapView Showing As Black Screen After Upgrade To 1.5

May 2, 2009

Has anyone seen their MapView which was working in 1.1 displaying a plain black screen (no errors) after compling with the 1.5 SDK? I made sure to copy the debug.keystore from the 1.1 location to the new 1.5 location so its compiling and loading on the phone correctly (I did a reinstall not uninstall/install) and shouldn't need a new mapsAPI key.

No errors are showing up in DDMS other than: Failed to find provider info for com.google.settings

View 3 Replies View Related

Android :: Animation Starting With Large Black Screen

Aug 15, 2010

I am trying to get a slide down animation to work, and it seems to work except that it starts with a big black screen instead of the screen that was there. So I have layout1 and layout2. When I start the animation using ViewFlipper.showNext it puts a big black background over layout1 and then slides in layout2. If I use ViewFlipper.startFlipping() it slides in layout2 out as it is sliding in layout1 -- which is what I would expect.

My slide_down.xml looks like this:
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromYDelta="0" android:toYDelta="100%"
android:duration="4000" android:detachWallpaper="true"/> </set>

My java code looks like this:
ViewFlipper vf = (ViewFlipper) findViewById(R.id.DropDownList);
vf.setAnimation(AnimationUtils.loadAnimation(this, R.anim.slide_down));
vf.showNext(); or vf.startFlipping();

View 2 Replies View Related

Android :: How To Avoid Black Screen On Starting Application?

Mar 22, 2010

Whenever I start any Android Application, initially a black screen comes to the foreground for a split of a second and then the splash screen comes up of the Application. Can anyone let me know the way of avoiding it?

View 7 Replies View Related







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