1. Download our Official Android App: Forums for Android!

Interacting with Keys in Android

Discussion in 'Android Apps & Games' started by pankaj.tr97, Aug 4, 2010.

  1. pankaj.tr97

    pankaj.tr97 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    May 4, 2010

    May 4, 2010
    1
    0
    5
    Hi,
    I'm new to Android and I want to use Back key in my application. My application is openeing some network connections and downloading some data from there. While netwrok connection is in process I'm showing a progress dialog window. I want this window to be disappear and connection to be reset when I press Back key. I'm trying onKeyDown() method but it is not getting called.
     

    Advertisement

Share This Page

Loading...