thanks mark, but I still have some trouble.
You mean to put the super-call into the MapClass, right?
But I dont know what to put in as arguments for that call. Here would
be my code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MapView m = getMap();
super.onTouchEvent(???);
OnTouchListener o = new OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
return true;
}
};
m.setOnTouchListener(o);
}
Could you help me out please!!
On Jul 12, 1:00 pm, Mark Murphy <[email protected]> wrote:
> On Mon, Jul 12, 2010 at 5:12 AM, drill <[email protected]> wrote:
> > ok, I somehow get it. I overwrote the onTouchMethod of the actual
> > MapView and so all functionallity is gone (also I'm not able to do
> > panning anymore). But how could I detect changes and have the full
> > ontouchfunctionality?
>
> Call super.onTouchMethod(), presumably.
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en