Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - onTrackballEvent sample Code Plz

onTrackballEvent sample Code Plz

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

onTrackballEvent sample Code Plz

Postby saamyandroid » Mon Nov 30, 2009 10:55 am

HI folks,

I Using app for Android Developer Phone 1.

I need Write Code for onTrackballEvent.

But i dont know how to Write Code within this method.

Can any one Give me sample code for onTrackballEvent?

Thanks in Advance
saamyandroid
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Sep 09, 2009 8:17 pm
Location: INDIA

Top

Re: onTrackballEvent sample Code Plz

Postby mr_muskuraha » Tue Nov 23, 2010 7:24 am

@Override

public boolean onTrackballEvent(MotionEvent motion) {

switch (motion.getAction()) {

case (MotionEvent.ACTION_MOVE) :{

// logic for ACTION_MOVE motion event here

break;

}

case (MotionEvent.ACTION_DOWN) :{

// logic for ACTION_DOWN motion event here

break;

}

case (MotionEvent.ACTION_UP) :{

// logic for ACTION_UP motion event here

break;

}

}

return true;

}
mr_muskuraha
Senior Developer
Senior Developer
 
Posts: 142
Joined: Wed Jan 13, 2010 8:49 am

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 4 guests