Android :: Possible To Disable Back Button When Alert Box Is On Screen?
Aug 30, 2010
I used onKeyDown function in the activity.....but when back button
button is clicked it first cancels the dialog box and goes to our
activity...I want both either both activity and dialog box closed when
clicking the back button or disable the back button when the dialog
box is shown...
View 2 Replies
Jun 17, 2010
How to disable the back button when the alert box is on the screen I used onKeyDown function in the activity.....but when back button button is clicked it first cancels the dialog box and goes to our activity...I want both either both activity and dialog box closed when clicking the back button or disable the back button when the dialog box is shown...
View 3 Replies
View Related
Sep 15, 2013
How to completely disable navbar when in full screen and use power button as "Back" and long press power means screen off. I want to save some precious screen space and avoid accidentally press navbar when playing games.
Is there a way to do it? I'm on CM10 - FXP - Ion lt28h
View 1 Replies
View Related
Oct 11, 2010
In my android application i have a video list screen,a buffering screen and a videoplayer screen.
As soon as the user clicks an item from videolist screen ,he is navigated to buffering screen and then to videoplayer.
In the buffering screen i am using Async task and doing the loading process in on background process.
Now my issue is like the user if has selested a video then gets navigated to buffering screen.But if the user clicks back when he is in buffering screen then initially he is getting navigated to videolist screen but immediately after that again he is navigated to videoplayer screen.
What i would like to have is either the back button should be made disable in buffering or should prevent the player tostart if back is clicked.
View 2 Replies
View Related
Jan 27, 2009
I want to display an alert asking "do you want to exit from the application yes/no?" before exiting the application (when we click the Back button).
View 5 Replies
View Related
Sep 1, 2009
I have a bunch of activities that are launching each other through intents. somehow, i got into a code state where some of the screens the back button (physical button) works, but others it does not.
I didn't do anything intentionally to disable the back button - what could be causing the back button not to work?
View 6 Replies
View Related
Sep 11, 2010
it just flips out goes up and down and the screen cant be touched untill i press the top button and it goes back to the screen lock, i have it rooted and running 2.2 im not all up on what this does should i just reset to og settings?
View 1 Replies
View Related
Jan 29, 2012
My kid keep switching my phone off ...
Even when I have a password or pattern ..the power button work..
I can edit any file in android system if required .
View 1 Replies
View Related
May 6, 2009
Whenever I press the home button when Im in the root task of my application and when I click on the icon of my app again the state of my task (activity) is retained, but when i press the back button on the emulator and when I open my application its state is not retained. I want the state to be retained in both the scenarios.
In the mnifest I have given the below entries,
android:alwaysRetainTaskState="true" for the root activity
android:launchMode="singleTask" for the application
View 2 Replies
View Related
May 4, 2010
I have just got my hero back from RMA with a new screen. (the old one was fubar). But now the back button is bringing me the homescreen. And not the last screen. So if I browse my settings, and go 4 screens in. I want the back button to bring me to screen 3 (like it used to), and not to the home screen.
View 5 Replies
View Related
Feb 27, 2010
I notice on my eris that when i am on a menu with a black background that if i hit my back (bottom button) a little firmly, right above the button on the lcd kind of changes colors. Like if you press your laptop screen, its only a little bit though. If you could, please try this and report back.
View 10 Replies
View Related
May 20, 2013
Is it possible to remap the Hardware back button to toggle screen rotation? (I'm on 4.1.1 with root).
View 1 Replies
View Related
Jul 15, 2010
This is my first android device and i'm loving it... but one thing that irks me is the use, or lack thereof, of the back button.
As I am navigating menus and options in the Settings, I cannot simply go back one menu using the back key. For example, if I go to Settings->Battery Manager->Battery Profile Options and want to go back to the Settings screen, I cannot.
Pushing the back button does nothing and I can only go back to the Settings menu by going Home, then re-entering.
Another quirk regarding the back button is when reading emails. Using a regular email account such as Hotmail, I cannot simply read an email and go back to the inbox using the button.
It makes navigating the phone very tedious.
View 5 Replies
View Related
Aug 11, 2010
So I'm new to Android OS and the Droid X. I'm on the $54.99 plan that's just data/text, so I don't pay for any minutes. So I was wondering if it's possible to change out the capacitive phone button on the main screen to something more useful for me, or would I need something a little beefier than root access, like a whole new rom?
Also, would it be possible to create a capacitive back button on the screen to replace the mechanical back button?
View 2 Replies
View Related
Nov 8, 2010
I have an Android app with a splash screen.
This splash screen pre-loads data and when finished starts the application's main activity and finishes (through a finish() call).
This works quite well as long as the application is not totally killed. So, I can usually switch back and forth between different tasks as usual: when I leave the app from a sub activity and return soon after I will be presented with this sub activity.
Now, when I leave this sub activity and do some other stuff for a while inevitably this application process is killed by the OS.
No problem so far. Now I would expect Android, being unaware of my preloading (if the data was not preloaded it would just take longer or not display some fonts, but Android cannot be aware of the fact that I am doing preloading somewhere), to restore the sub activity from a Bundle. However the splash screen activity is started.
So, I say, that's fine then... the splash screen activity is after all the launcher / main activity. Now, the actual mystery I have is as follows.
When I press the back-button from this newly loaded splash screen I will be presented with the sub activity I left the application from before it got killed. I really don't understand this. Apparently Android DID save the sub activity's state (and its history stack) to be reloaded but instead of reloading it chose to start the splash screen instead, with this sub activity (I left the task earlier before it got killed) one step back on the activity stack.
Why does this happen?
When the process is not killed I can switch back to where I left off. When it's killed I cannot (yet still have the whole earlier history of that app restored). I know that Android has to load state etc. in the latter case, but that shouldn't be a problem and is performed automatically by default (according to the docs).
View 1 Replies
View Related
Oct 6, 2010
how to disable the missed call alert that shows in the notification bar? When I get a missed call I do not want to be notified of it in the notification bar. If not does any one know how to disable the notification bar all together?
View 3 Replies
View Related
Sep 1, 2010
Right now I am using LFY 1.4 and now a new OTA update popup keeps coming up. I keep pressing download later, but its very annoying popping up every thirty minutes. How do I just disable it for good?
View 7 Replies
View Related
Nov 9, 2010
Anyone know how I can disable the sound/alert made when the Samsung Fascinate loses its phone network connection? I get little to no reception at my house and thus the phone is always beeping that it has lost reception, then gained it then lost it again - it drives me crazy. Usually I have to resort to muting the phone altogether but then I forget to unmute in the morning when I leave the house. I called Samsung and they said to try to turn off the emergency call option saying it was some workaround. It was already off on my phone and didn't help. I've looked all over the sounds etc. settings to no avail?
View 1 Replies
View Related
Aug 2, 2010
Is there any way to disable the low battery alert sound? I hate it when I'm doing something and it goes buh-bup in my ear. It always startles me when listening to music.. fn annoying!!
View 33 Replies
View Related
May 27, 2014
My definition/expectation of a 'notification' is a graphic/text message with the option to enable/disable a sound to alert me that the notification came in per app.
I want to:
1- enable/disable graphic/text per app
2- enable/disable sound per app
For #1, it looks like I have to go Setting>App Manager>All>Uncheck 'show notifications'. But, apparently that will disable everything...ie, no graphic/text or sound. I've tried lock screen and notification apps without luck so far......
View 4 Replies
View Related
Sep 24, 2010
So I have a fairly simple droid app. Part of it is a waterfall of alertdialog boxes makeing sure everything is ready to show the final display. Example Check GPS If (no GPS){ alert.show} The alert has one button that first dismisses the dialog, then performs the check again, and displays another dialog box if GPS is still not enabled.
This all works great if I go at a normal pace. But if I button mash the alert dialog button, eventually I get many alert dialog buttons on top of each other. The program still works, ya just gotta close all of them. .............
View 13 Replies
View Related
Mar 30, 2010
Whenever I am using any app and press the home button, the home screen blacks out for a few secs and it takes around 10 sec to get all the icons back and before I can start using my phone again. I am using a non rooted mytouch 3g.
This problem does not happen if I exit an app by pressing the back button. It becomes very annoying at times.
View 7 Replies
View Related
Feb 17, 2014
how to disable the low battery alert audio? I have disabled the popup, but I would like to also disable the audio. I tried deleting the lowbattery.ogg file in the root media file, but then it just played a different audio file for the low battery. I am on a rooted Nexus 5 running 4.4.2
my Nexus 5 using Tapatalk
View 3 Replies
View Related
Sep 2, 2010
I have 3 activities in my app: Activity1 -> Activity2 -> Activity3. Inside Activity3, if the user presses Back, I would like to return to Activity2. In Activity3's onPause event, I added a finish() statement. That's probably not even necessary, but I wanted to make sure this Activity gets cleaned up. This works fine.
However, while in Activity3, if the user presses Home or starts a new app (through notification bar or some other means), I want both Activity3 and Activity2 to finish. If the user returns to this app, he should resume with Activity1.
I have figured out how to do one or the other, but I can't figure out how to handle both cases, if it's even possible. Can I trap the "Back" button in Activity3 and send a message back to Activity2 telling it not to finish()? It seems like the Activities follow the same lifecycle flow (Pause, Stop) regardless of what you do to send them to the background. Just to answer the question of why I want this behavior, imagine that Activity1 is a login screen, Activity2 is a selection screen, and Activity3 is a content screen. If I press Back from the content page, I want to be able to make a new selection. If I exit via any other means (Home, notification bar), I want the user to be "logged out".
View 2 Replies
View Related
Mar 31, 2009
I call WebView.clearHistory(), but I am still able to go back after doing so. I want to reuse a WebView, but I don't want the back button to allow the user to go back further than the current "session" of using the WebView. Anybody know what is the best way to handle this? I thought for sure that clearHistory() would do it.
View 3 Replies
View Related
Nov 4, 2010
Can i change color of button in alert dialog when touch in that button in android. How?
View 1 Replies
View Related
Oct 30, 2009
How to create an alert dialog with radio button on the side?
I can create a dialog with 3 selection strings using AlertDialog.Builder, but how can I create the one with radio button on the side (i.e. allow only 1 selection)?
View 1 Replies
View Related
Jun 16, 2009
In My code I am displaying a AlertDialog based on some condition.
CODE:.......................
View 2 Replies
View Related
Jan 24, 2009
I'm a student and currently doing my senior capstone project. I have problem with my codes on audio recording. whenever i clicked the record button in the emulator, it shows me an error alert, "The application Audiorecording (process) has stopped unexpectedly. Please try again." can anyone help me? Code...
View 3 Replies
View Related
Aug 3, 2010
So i rooted with Droid Does rom, because i heard its nice and fast and what not. So basically the only problem i have with it is this.
When on a call, the proximity sensor doesnt work, so the screen goes black. And when i press the end call button to turn the screen back on it just ends the call. Is this normal? Or a known issue?
View 10 Replies
View Related