Results 1 to 4 of 4

Thread: Problem while using BACK key in Android's Application

  1. #1
    Join Date
    Sep 2009
    Posts
    34

    Problem while using BACK key in Android's Application

    I'm using an Android phone. Now the problem is that whenever i try to use 'BACK' key on my Android's Applications, The emulator close my application each time i press BACK key in emulator. It is happening in menu navigation. Why does i'm having difficulty while using 'BACK' key in Android's Application? Any idea on the above issue? Please help me to resolve the above issue.

  2. #2
    Join Date
    Jan 2006
    Posts
    7,109

    Re: Problem while using BACK key in Android's Application

    Firstly, long-pressing the home button merely lets you see recently run programs. The Android project is large enough that Eclipse's Java VM sometimes runs out of memory while compiling it. A long-press of the home button will therefore show you any recently used applications, whether they are or are NOT still running. The only way to determine exactly what is running is to use the process viewer.

  3. #3
    Join Date
    Jan 2006
    Posts
    6,878

    Re: Problem while using BACK key in Android's Application

    If the menu is currently drawn/displaying on the screen and you press BACK button, the menu would be taken off the screen but your activity will still be displayed. When you are finished browsing use the menu key and start a new window. Now use the window manager to close your old window and you can now either use the back key or home key to return to the android desktop (it matters not because it'll stay running anyway). There could be a problem with the way your menu has been set up.

  4. #4
    Join Date
    May 2008
    Posts
    5,812

    Re: Problem while using BACK key in Android's Application

    Generally, pressing the BACK button will take you one step back in the Activity call stack. Back does not really have to close a program, back can do whatever the developer wants it to do. Maybe most are using it for closing there app, but if I can i can make it do the same thing as home. So, if you pressed BACK when you were on the first screen of your application your activity will be stopped and sent in background.

Similar Threads

  1. Replies: 6
    Last Post: 15-05-2012, 08:39 AM
  2. How to get back the pictures which Encrypted in Android App
    By KumaraVel in forum Portable Devices
    Replies: 4
    Last Post: 23-09-2011, 10:19 PM
  3. Replies: 4
    Last Post: 29-06-2011, 07:55 AM
  4. Replies: 3
    Last Post: 20-01-2011, 11:00 PM
  5. Sony Ericsson, Vodafone back Google's Android
    By Jacek01 in forum Portable Devices
    Replies: 0
    Last Post: 11-12-2008, 11:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,499,773.48808 seconds with 17 queries