Android :: Want To Confirm That App Is In Background Due To Home Key Press?
Aug 31, 2010
On Tue, Aug 31, 2010 at 4:48 AM, JAVANAND <javandroid @gmail.com> wrote: > My app requires to know whether the entire app is in Background > state , which in most cases is due to Home Key.
View 11 Replies
Jan 5, 2010
I have, for the time being, a custom view with a 9-patch image as a border.
That custom view is placed three times in a LinearLayout, so it looks like this:
+------------------------+
| CustomView |
+------------------------+
| CustomView |
+------------------------+
| CustomView |
+------------------------+
I have attached a click event listener to the View, so it is clickable. But then I click it, I cant see that I am clicking it - there is no change in color.
So, Im thought that I'd attach a "onPress" listener, and then change the background of the view but I couldnt find such a listener.
So, the question is - how do I create the behaviour on the View so I can see that it is being pressed? this is normally done in Android with a green background to indicate that it is now being pressed.
View 1 Replies
View Related
May 29, 2010
I just created my own "Home" to replace the stock android one or Sense.
All is working fine and I get all I want. My only problem is to replace to long press on home key ( that usually show the last 6 activities you launched) by my own launcher.
I successfully replace the long press on MENU button with this code:
CODE:..........
and this part part for the long press:
CODE:.............
But the problem is that I wasn't able to replace the KeyEvent.KEYCODE_MENU with KeyEvent.KEYCODE_HOME
Is that something locked in the code that avoid user to use a Home long press?
View 1 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
Sep 1, 2009
Trying to the do as the title describes with the following code, but it doesn't seem to work. It just does nothing once i have altered the keyCode. Do i have to do something to the event?
..............
View 8 Replies
View Related
Sep 16, 2010
I am a new member and a relatively new owner of an X10i. Overall I am happy with the phone but I am hoping some can answer a question. When I press the home button (middle one) I get a prompt to select to 'Complete Action using Home or Timescape' This is quite annoying. I want the default action to be Home (not Timescape) but despite ticking the box in the prompt it still pops up this box.
View 3 Replies
View Related
Jul 29, 2010
Is there any way to get the long press on home key event?
View 3 Replies
View Related
Nov 4, 2010
I am trying to catch when the user has pressed the Home button. I thought I could use
protected void onResume()
{
registerReceiver(homeReceiver, new IntentFilter(Intent.CATEGORY_HOME));
}
...
private BroadcastReceiver homeReceiver = new BroadcastReceiver()
{
public void onReceive(Context context, Intent intent)
{
// logic here
}
};
but that doesn't seem to work. I understand that onPause will be called, but my particular app has some logic that I need to handle separately. Short story is based on some info coming in, the app will display new Activities to the user. To prevent Back button issues, as each Activity hits it's onStop it calls finish on itself. However if the user presses the Home button I do not want the Activity to call finish so that when the user presses the app icon on the home screen or via the Recently run apps list, the last Activity is brought back
View 3 Replies
View Related
Sep 24, 2009
I press program's icon to start my program,and then open the Settings activity through startActivityForResult(intent, SETTINGS). Now i press the home key and start my program through program's icon, at this time the Settings actitity will run OnDestroy() and be destroyed. I can't understand why Settings activity is be destroyed automatically? How can I make Settings activity still focus when users come back. Code...
View 7 Replies
View Related
Apr 22, 2010
I have an activity which is showing a progress bar while a service is downloading data from an API. I want that when i press Home and relaunch my program the activity and which is not the first activity called but it is in the stack was recovered in order to continue showing the progress. I have read about the cycle of life of activities but i don't find a clear solution. The same thing happens If i am in the activity which is showing the progress bar and i press a button that takes me to another activity, when i go back, can i recover the old activity instead launch one new.
View 1 Replies
View Related
May 13, 2010
I have the motorola droid. I got the handcent app because I really like all the customization options within it. However, lately I have been having this annoying problem. Sometimes when I have just sent a message, when I press the home button to return to the homescreen, it goes home but all my apps have vanished. I can go through my menu and replace them all to where they were, or I can reboot the phone and that usually corrects it. It is still annoying and is really putting me off the app. Has anyone else had this problem? Do you know if there is a specific cause or how I can correct it?
View 2 Replies
View Related
Mar 2, 2012
Is there a possible way to completely terminate app on home button press? Because everytime my friends use my phone they didn't realize there is a back button.. So they just presses the home button like they were using idevices.. This would hog the memory with the running apps and i have to constantly close them everytime they finish playing.. ICS does have this feature but im running GB atm..
View 4 Replies
View Related
Jun 1, 2013
Is long pression the home button and removing open/recent apps "killing" the apps? I read that there is no need to "kill" an app and it actually uses more battery life than it saves. Should I be actively swiping away recent apps?
View 2 Replies
View Related
Nov 9, 2010
When I press the home button on my DHD the screen goes white with the HTC logo, flashes to the home screen and then is delay of 10 seconds of longer with the loading warning running.
Is this normal?
When I use the back button to get to the home screen it does no do this.
View 2 Replies
View Related
Nov 15, 2009
I tried searching for this, to no avail, but here is the situation. I was on my main Home screen and just trying to figure stuff out and when I long press the menu key it brings up the onscreen keyboard. I figured it was for contact search or something, but it did nothing when I typed...or so I thought. Now everytime I back out to the Home screen a little transparent "window" displays with letters i first typed. I cant type new letters to display or even use the backspace key to erase. Any one know what Im talking about?
View 10 Replies
View Related
Feb 25, 2010
So oddly enough my wife's Eris does not let her long press ANY of the bottom two rows of app icons/widgets. I can long press any of the top two rows apps/widgets fine to remove or add in an empty space. but the bottom two rows I can't remove or add with a long press.anyone else have this issue? I'm trying to figure out whats new but she isn't that into her phone so she never installs stuff on it, im the one tweaking and playing with her phone and I haven't touched it in a week this started happening randomly 2 days ago.
View 10 Replies
View Related
Dec 13, 2009
Say you're surfing the web and are on a website like this forum. You then feel like checking a text message or making a call so you go ahead and do that.
How do you get back to the browser that is still running in the background and to the same website you were working on? I hope there's an easy answer and I'm just stupid.
View 6 Replies
View Related
Jan 14, 2013
i just got my note 2 and week ago and until yesterday when i hold down the home button to get to my tasks manager it wont work. Ill hold it down but it will vibrate but nothing comes up -_- im not sure if i turned something off or if its broken. anything i should try before i go to the verizon store or something?
View 5 Replies
View Related
Aug 25, 2010
I find now that the music player exits when I press either the "Home" or "Menu" buttons at the bottom of the phone if I want to run another application while listening to a song/podcast. Again, this is really annoying. I can't start up a podcast, then text/email someone. The music player exits.
View 1 Replies
View Related
Nov 18, 2010
It seems like almost every time that I unlock my phone, one of the icons on the home screen is selected (long press, like I was intending to move it or trash it). Using Launcher Pro, if that might be causing it. I don't think it was doing this before the last Sprint update, but don't know if that's the cause either.
View 2 Replies
View Related
Oct 13, 2012
1) when press the home or power button to screen on, it is quite delay?
2) when I want to end called, I must press power button, the phone screen only light on, then must double tap to unlock screen, only can press the end button to end call. Is there got any easy way like other phone? Like the phone can auto light on when take away from ear?
3) I have using the software update to update, but still the same, just want to check DXLG1 and DDLI1, which is more latest? DDLI1 is belong to which country firmware?
View 1 Replies
View Related
Nov 22, 2010
I have x10 mini 2.1 since I updated to 2.1 any long press on home screen or corner icons goes directly to edit either widgets or icons depending wich screen I have up.This is anoying because many times I press just a little too long and for example end up in the edit icons mode instead of opening messages like I wanted to. Is there anyway to get this as it was on 1.6? Long press didnt open edit, the only way to open edit was trough menu key.
View 3 Replies
View Related
Dec 8, 2009
I have had open home (full version) for a few weeks now and I'm very pleased with it so far. The last couple of days I have been rearranging my folders and widgets and some of the open home settings.I also changed my background but when I chose the picture I wanted I only got the option of cropping in portrait. Now the background doesn't move from side to side when I change screens.I am assuming it's a setting I changed when I was playing around but I can't find any way of changing it back to the original landscape background that moves from side to side.
View 1 Replies
View Related
Jul 28, 2010
I have the HTC Dream, and I was wondering if there is any way to keep the background stable as I swipe left and right on my home screen, instead of the image stretching over all three screens and panning as I swipe.
View 1 Replies
View Related
Nov 4, 2010
I have a TextView in my home screen widget. Can I use the following selector as the background of the TextView so the TextView can be highlighted when clicked? I know I can do it in Activity, but I am not sure about home screen widget.code...
View 1 Replies
View Related
Jun 7, 2010
Leading up to my purchase of the new EVO I familiarized myself with some battery-life-saving tips. One of the tips was associated with reducing the number of Widgets on the Home Screen(s) that are pulling data in the background.
QUESTION: if one doesn't use widgets but uses App icons and Shortcuts does the addition of those NON-widget items cause the associated apps to launch by themselves in the background MORE THAN if they were NOT "short-cutted" onto the Home Screen pages??
I'm trying to determine how/what I'm doing that might cause apps to launch in the background when I don't really want them to. I'm using Advanced Task Killer to see what is running in the background and have NO CLUE why some stuff is turning on when they do. A recent LARGE list of running apps that I did NOT turn on coincidentally coincided with some Home Screen short-cut non-widget add-ons I recently placed.
View 8 Replies
View Related
Jul 11, 2010
Is there an app for the Eris similar to Call Confirm? I sometimes have trouble accidentally making a call and not knowing it until the contact calls back.
View 1 Replies
View Related
Jan 19, 2010
I've read that s ome have turned off Sense and have seen an improvement in performance and battery life running vanilla ANDROID.
If one uses Home Switcher does that accomplish the same thing, or is Sense still running in the background?
View 1 Replies
View Related
Nov 15, 2012
I am developing a utility and facing an issue. The following describes what i intend to achieve: User will click on "Submit"Button. User will be prompted a confirm dialog box. On "No" , it will return. "Yes" click will take it to a method which does some processing. As processing can take sometime, i want to show loading bar after user clicks "Yes" in confirm dialog box. However, When i click "Yes"; the dialog box remains there and i can't see th progress bar.
View 1 Replies
View Related
Jun 8, 2010
Not getting SMS from QIK to confirm / any suggestions?
View 2 Replies
View Related