• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

how to control touchlistener and clicklistener events

Hi,

I have an app, when i am trying to touch and move the screen content it the click event has taken place can some one help me on this.
i have given the sample code.

Initialization part:
-----------------

(findViewById(R.id.about)).setOnClickListener(aboutListener);


Method definition part:
----------------------

OnClickListener aboutListener = new OnClickListener()
{
public void onClick(View v)
{
try
{
setPageTitle("Events");
doSOA("azukipub","18567291");
appView.loadUrl("javascript:about();");
}
catch (Exception e )
{
Log.e("PhoneGap", "Failed to invoke aboutListener", e);
}
}
};
 
Back
Top Bottom