Android :: Solid Black Screens When Calling Dialogs In OnCreate() / Way To Fix

Sep 17, 2009

I've had this problem in a few different apps now and I can't seem to find a solution.

If, in the onCreate() of an Activity, I start an activity that uses the dialog theme it doesn't draw anything to screen... the whole screen stays black. All the views are there (e.g., I can tap where an EditText should be and it'll give me the keyboard), they're just not visible. code...

Android :: Solid black screens when calling Dialogs in onCreate() / Way to fix


Jelly Bean :: Screen Is Solid Black On Kocaso M9100

Dec 25, 2013

i recently got a kocaso m9100 and it was working just fine but i changed the brightness and now after it shows the android sign the screen goes solid black but i still here noises and all but the screen is solid black

View 4 Replies View Related

Android :: Callback URL Calling Oncreate

Jul 30, 2010

I am making twitter application in which i open browser for user authentication and i pass call_back URL when launching authentication browser.

Problem is after authenticating it is calling again oncreate of TWitterShare class instead calling onNewIntent method, why is that ? my another class working fine i am unable to find difference any idea by looking at the following ocde why it is calling oncreate again ?

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

View 2 Replies View Related

Android :: How To Cache Views And Avoid Calling OnCreate Everytime

Apr 27, 2009

With Android, I've got an application that seems calling "onCreate" every time on a new instance of an activity, because this activity is the son of an another and it finishes itself while it ends its role for one piece of data.

The calling of "onCreate" everytime seems to be re-parsing the xml to create the views and re-attaching/re-creating the listners to the code and so on. So Is there a way to "cache" an activity to be recalled everytime, without seeing it if we click on "back" in the mobile devie? it's like having it really hidden (not accessible with the back button) and destroyed only if it's necessary.

View 4 Replies View Related

General :: A9220 Turns Black When Calling?

Jul 9, 2012

i just got the phone today. But when i make a phone call the whole screen turns black and doesnt respond to any buttons/touch, i can't hang up either. But the conversation is still running i can speak and hear the other person. only when the other person hangs up the screen returns back to normal.

Phone specs:
- Phone Model : A9220
- Model number : e1108_v73_jbl1flash8p4
- Android version : 4.0
- Baseband version : MAUI.11AMD.W11.37.SP.V17.F1, 2012/03/20 18:09
- Kernel version : 2.6.35.7 Tue Apr 10 15:29:22 CST 2012
- Build number : ALPS.GB.FDD2.MP.V4.5
- Custom Built Version : 1334213021
- CPU MTK 6573 256 rom 512 ram

bought it from everbuying

View 3 Replies View Related

General :: Star N9776 JB - Phone Screen Goes Black When Calling

May 18, 2013

I bought a cheap (all I could afford) jelly bean Chinese Star N9776 phone 6" and on the whole have to report its great for the money. The only problem is that when I make a call or receive a call the ALS_PS sensor I think turns the screen off and it will not come back on until the call ends.

I have searched for answers and have found that this is a common problem. One thread suggested that if you enter the boot menu with the volume and power key you can sellect an option to disable this feature. However the menu is in Chinese !!

View 5 Replies View Related

General :: HDC Galaxy S4 I9500 Exynos 5410 - Screen Goes Black When Calling Out

Jul 20, 2013

I have HDC Galaxy S4 exynos. I have a problem, when I call out the screen goes black, and I charge my battery full, but it very fast discharge or when I restart my phone, it show my battery percentage 10-20%.

View 7 Replies View Related

Android :: Set Solid Background To Spawned Activity

Sep 9, 2010

I'm not very familiar with the android SDK yet. I have an application (game), which is developed mainly using the NDK, and uses egl to render. i have an activity which handles the egl swapbuffer and runs the games native main loop, pretty straight forward I guess.

Now I have made another activity which host a TableLayout containing an EditText as well as a button (simply for text-input later used by the game). I spawn this activity from my main activity using startActivityForResult. The small problem I'm having now is that I can't manage to make this "popup" activity to have a background, so my paused game will reside in the background, with the various widgets just overlaid. This is not very pretty in my opinion, and I would like to at least have a solid background color for my spawned activity while it's active. I *could* just simply go into some state in the games main loop which clears the gl-screen just before I spawn the new activity. But I don't like this solution and it's a tad more work then I'm prepared to put in just at this time in the project. I'm pretty sure there is some simple way to just set a background color somehow, I just can't find *any* way to do it, I've looked around in the SDK resources and tried to search for any hints towards this, but i'm just not familiar enough with the java SDK to find what i'm looking for.

On a side note I would also like to be able to center the EditText widget as well as the button on the screen once the Activity is active, I haven't looked very deeply into it yet, but from a quick glance of the documentation I couldn't really find any suitable positioning methods in the tablelayout class. But as I said, haven't looked very hard. Can probably solve that one easy, but i'm just throwing this in as well :)

View 2 Replies View Related

Android :: Solid RSS Feed Reader & Widget

Aug 28, 2010

I simply can't find a solid RSS feed reader and widget (mostly the widget).I've tried NewsRoom, NewsRob, BlueRSS, DoggCatcher etc, and they all

1) are missing a widget,

2) are ugly,

3) are missing some basic functionality.

Can everyone please share what RSS feed reader app and widget they use?Preferably one that can sync with Google Reader but not necessarily,just an extra. I'm more interested in the widget, also.

View 3 Replies View Related

Android :: Dialogs On A Change Orientation

Mar 5, 2010

I'm doing an APP that shows some dialogs. Those dialogs are Alert dialogs, and when they are being showed if I change the orientation of the mobile I lost them...they are not being kept on the screen.

View 13 Replies View Related

Android :: SubMenu - Dialogs And ActivityGroup

May 31, 2009

I have 6 options to put in options Menu, but 3 of them are not so important and i want to hide them in submenu. All of my Activities are started from one ActivityGroup which creates Menu on MENU button press. Problem is that when I open SubMenu or Dialog (which is created and displayed by ActivityGroup) my current foreground activity makes onPause, onStop and onDestroy, and when I close this submenu (using "back" key) or dialog (by "ok" button for ex.) I don't have any response (onCreate, onResume) from any of my activities registered in LocalActivityManager.

View 3 Replies View Related

Android :: PNG File With Transparent Drop Shadow Appears As Solid / What Am I Doing Wrong?

Oct 3, 2010

I have a PNG file with drop shadow that is supposed to be blended using multiply operation. I'm using an ImageView to show it.

However, the shadow is shown as solid gray.

What am I doing wrong?

View 4 Replies View Related

Android :: Modal Dialogs Definitive Solution

Feb 8, 2010

I decided to share the solution i found to the problem of Android not supporting real modal dialogs.The solution was to draw the dialog by myself. :-( Well, at least worked fine, besides the problem that its a bit ugly.

View 17 Replies View Related

Android :: Multiple Choice Dialogs - Activities

Apr 26, 2010

I have tried to make a series of dialogs, like a questionnaire, that the user needs to answers a series of questions selecting one or more checkboxes. I can do one, just fine, but when I try to make more than one question (lets say 10), it does not show, or show all the dialogs. I tried using dialogs or new acitivities.

So, my problem is I have multiple questions, one to be presented each time, and I need to wait for one to be responded so I can ask the next one. How do I accomplish this?

My first attempt was with a dialog box... but obviously it got all the boxes stacked in each other:

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

View 4 Replies View Related

Android :: Show Dialogs In Service Process?

Feb 5, 2009

I intended to show a dialog in a service process, then I tried to use the AlertDialog but got the below error message: WindowManager$BadTokenException: Unable to add window -- token null is not for an application The reason seems to be that the dialog is not used in a application context (activity should be fine?) Was there any way that can solve this problem?

View 2 Replies View Related

Android :: No Cancel Button In Progress Dialogs?

Jul 14, 2009

I'm facing the same head-scratching moment similar to what this person (from Jan 2008) experienced when I realize that there is no cancel button in Android's progress dialog or spinners. It is now July 2009 and I've just installed the cupcake version of Android. Has this thing changed ? If not, are you adding a cancel button into the dialogs and how do you do it ?

View 4 Replies View Related

Android :: Save Instance State For Dialogs?

Sep 24, 2009

I wonder what is the right way to implement this? Could anybody advice whether my solution is correct?

So:
Activity is created
User clicks on button and dialog is launched (Dialog, not dialog styled activity)
User opens keyboard
we have onSaveInstanceState called where we save that our dialog was opened and all respective dialog input
we have onRestoreInstanceState and here we check whether dialog was shown, recreate the dialog with respective input.

Is it the right approach? or there is smth. that is done by Android and I am doing some redundant actions.

View 2 Replies View Related

Android :: Change Background Of Alert Dialogs?

Jun 25, 2010

I use the AlertDialog class in my application. By default, these alert dialogs have a transparent background. I'm trying to use an opaque background instead, very unsuccessfully.

These are my styles:

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

I applied the "MyOpaqueActivity" style successfully for whole activities (the window background is changed to "my_background"), but it doesn't work for alert dialogs within those activities. The "alertDialogStyle" attribute and my "MyOpaqueAlertDialog" style don't seem to have any effect.

So how can I change the background of these alert dialogs?

View 2 Replies View Related

Android :: Opening Another Activity From The Map Overlay Dialogs

Jul 22, 2010

I am trying to create a map application and I need to do something similar to what Google Maps does. I want to open show a list of locations and when user taps on them I want to show a dialog.

I was able to do it till here. But now when the user clicks on the dialog that opened I want to show another acttivity with the details of that item that they clicked on.

I tried to start a new intent but it gives me an error.

Here is what I am doing

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

Here is the stack trace

CODE:........

Why am I getting this error and how can I resolve this and open a new activity? Also where can I find the source code for the google maps on android?

View 1 Replies View Related

Android :: Clean Up All Dialogs Show By My Activity?

Sep 30, 2010

In my activity, I show a dialog under some condition like this:

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

My question is what do I need to do to ensure there is no resource leak? From the logcat, i see there is a case where it said a window is leaking or something like that.

View 1 Replies View Related

Samsung Captivate :: Filling Up Your App Screens - Not Home Screens

Jul 27, 2010

I had a little time with the captivate today and noticed it has 4(i think) horizontal scrolling screens for apps. What happens when you fill those? Does it automatically add another one or what?

View 2 Replies View Related

HTC EVO 4G :: Build Quality Solid And What About Hardware?

May 17, 2010

For everybody that has played with the Evo how is the build quality? Is it solid? Does it feel cheap? How is the hardware? What does the back feel like?

View 6 Replies View Related

Android :: Modal Loading Dialogs Not Good UI Decision?

Jul 29, 2010

I've read on Reto Meier's blog that he doesn't recommend the use of modal "Loading" dialogs in Android applications. Is this a general consensus among developers? If I have a login screen what should I display when the user tries to sign in? Until now, I have used a "Signing in" indeterminate progress dialog. Should I use the application's progress bar? Should I use a Toast? And, in the general case, when should I use dialogs and when not to?

View 1 Replies View Related

Android :: Trigger The Soft Keyboard For EditText In Dialogs

Nov 18, 2009

I am rendering an EditText as one element of a list-style AlertDialog (which is backed by the default ListView implementation). I sort of expected that this circumstance would not change the behavior of EditText, but it does: a click on the EditText does not spawn the soft keyboard anymore.

After an hour of messing around with focus settings and click handlers I got fed up and debugged into InputMethodManager.showSoftInput(), and found this:

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

The problem here is that mServedView is the ListView that's backing the dialog, while view is the EditText, and ListView.checkInputConnectionProxy() does simply return false in the default implementation of ListView (to be overridden by subclasses).

Worse, I couldn't find a way to set a custom ListView which allows proxying IME reuqests; AlertDialog.Builder.setView() accepts a custom ListView, but this is not the ListView that InputMethodManager sees.

View 2 Replies View Related

Android : Edit Contents Of TextViews In Droid Dialogs?

Jun 22, 2010

i want to display a dialog in my android application where certain TextViews in the layout need to have content set during runtime. while showing the dialog itself is no problem at all, accessing the TextViews via TextView.setText(String) crashes the application.

View 2 Replies View Related

HTC Desire :: How To Change Background Into Solid Color

May 16, 2010

Is it possible to change Wallpaper Background Image into SOLID COLOR only? I want change into totally black.

View 11 Replies View Related

Games :: How To Swap Metal Gear Solid?

Nov 3, 2010

I have PSX4 Droid and it's great, but my question is how do you play .bin/Roms that are downloaded and include Disc 1 and Disc 2? I just downloaded Metal Gear Solid, but would like to know how to swap the discs to resume game play when I beat the first disc.

View 4 Replies View Related

Android :: Dialogs Don't Fill Width In Landscape Mode / Make It To Do So?

Jun 13, 2009

Does anyone know how to make a dialog fill the screen width in landscape mode? Setting the layout's width to fill_parent doesn't do it. It always comes up portrait width, or something suspiciously similar.

View 3 Replies View Related

Android :: Changing System-level Dialogs - TimePicker - DatePicker

Feb 14, 2010

I have HTC Hero, and i see that TimePickerDialog and DatePickerDialog were changed by HTC (they look different than those in the emulator). My question is how can i change such system level dialogs?

View 1 Replies View Related

Motorola Droid X :: LED Turned To Solid Blue While Browsing Web?

Aug 21, 2010

Long story short: on my way to vegas my girlfriend was browsing the web on my droid x and the led turned a solid blue. The only app I have that turns the led blue is blink but I have it set to flash blue for incoming and missed calls, however, I didn't have any missed calls and there were no notifications in the tray.

View 2 Replies View Related







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