Android :: Recovery Activity When I Press Home?
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
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
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
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
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
View Related
Mar 12, 2009
When my application is running, a button is pressed.After my application processes this event, i want to continue to transfer this event to other applications. Is it possible? If yes, how to do that?
View 6 Replies
View Related
Nov 11, 2009
By default, if we long press search key it opens quick search box with the keypad slided up. what should be done if I want to change this default action to launching of an application when ever search key is long pressed. This obliviously requires changes in the framework. i tried changing some code in Search dialog.Java file but we can't use Start Activity there. pls guide.
View 2 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
Oct 18, 2010
I have list activity with custom array adapter and I can't to get context menu when make long press on list item.
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
Why I do not see context menu? What I do wrong? How to get context menu with array adapter and ListActivity.
View 1 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
Mar 3, 2010
example scenario is: from login screen - main screen - then when i clicked a hide button inside the mainscreen, the app will need to go in the home screen, and when im going to click the app again the main screen would be called and not the login screen
View 3 Replies
View Related
Mar 3, 2010
example scenario is: from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called.
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
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
Jun 12, 2010
How can we pass Android Home Screen Widget info ( putExtra maybe ) to an Activity.. What particular method callback will handle this one?
View 1 Replies
View Related
Aug 29, 2010
I want to try out 2.2 but when I try to boot into recovery mode (or what it is called) using home + start i get an image where i see a device and a red triangle with a "!" in it.
Running original 2.1 now.
View 3 Replies
View Related
Sep 30, 2012
i have successfully ported CWM Recovery to my ZTE Merit/Avail/Roamer using the CyanogenMod gingerbread source (i did not use the unofficial port that was built from the ZTE Blade because the screen is upside down)
everything works just like it is supposed to--absolutely flawless. build went through without a hitch.decided that i instead wanted to use the "home" key to select menu options in the CWM Recovery instead of the "power" button that is default (had to uncomment BOARD_HAS_NO_SELECT_BUTTON in the BoardConfig.mk because there is no camera button on this phone)
so i copied the recovery_ui.c from the working Blade source (which uses the "home" key instead of the "power" key), placed it into my ZTE Roamer (Merit/Avail) source and added BOARD_CUSTOM_RECOVERY_KEYMAPPING := /device/zte/roamer/recovery_ui.c to my BoardConfig.mk
there is no problem reading the location of the file so don't suggest to change it..but when i compile i get these errors and it is not built
Code:
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/roamer/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function get_menu_selection:bootable/recovery/recovery.c:470: error: undefined reference to 'device_handle_key'
[code]....
who is not some novice that knows nothing about building a recovery.img from CyanogenMod source, i can use the home button instead of the power button. is there any easier way to change this than by using a custom recovery_ui.c?
View 1 Replies
View Related