Top "Android-event" questions

On Android, there's more than one way to intercept the events from a user's interaction with your application.

Android get value of the selected radio button

I have a RadioGroup rg1 and I want to get the value of the selected radio button. I know that …

android android-event
How to distinguish between move and click in onTouchEvent()?

In my application, I need to handle both move and click events. A click is a sequence of one ACTION_…

android event-handling touch-event android-event
How can I send key events in android?

I am macking a custom navigation bar to Android 4.0.3.r1 and want to send key events like "Home" and "Back". …

android android-event
Receiving onTouch and onClick events with Android

I have a view that need to process onTouch gestures and onClick events. What is the proper way to achieve …

android android-event
Detecting android softkeyboard show/hide events

I am trying to detect showKeyboard and hidekeyboard events on phonegap. For that purpose, on deviceready event I placed following …

cordova dom-events android-softkeyboard cordova-3 android-event
Android - Listener for catching changes in a View's properties (e.g. android:layout_marginTop)

In Android, can you create a Listener for catching changes in a View's properties (width / height / margin / position relative to …

android android-layout listener android-view android-event
Listening WIFI state

I want to set listener to listen on wireless state,can anyone help me with my code import android.telephony.…

android android-wifi android-wireless android-event
How is it possible to know which View has clicked in a layout OnClickListener?

I have a layout which contains some views. I want to set some actions when a user clicks anywhere in …

android android-layout android-view android-event
SlidingUpPanelLayout and ScrollView

I have a SlidingUpPanelLayout that holds a image as a top view, and a view pager that needs to slide. …

android android-scrollview slideup android-event android-sliding
Want to Access Power Button events in android

i=0; public boolean onKeyDown(int keyCode, KeyEvent event) { System.out.println("In Key Down Method." + event.getKeyCode()); if (event.getKeyCode() == …

android android-event