I am having trouble with a custom view displaying properly. When the
view is first loaded (meaning the app is not cached in memory), the
view displays OK. However, when the app is closed with the back
button and then reloaded, the view is a black screen and does not
display as intended. The
Why don't you create a handler inside of the main activity like this
Hander mHandler = new Handler();
Move the anonymous inner Runnable class (which dismisses the dialog)
as a named private subclass of the activity called something like
HandlerHelper.
Then call
mHandler.post(new
Within a MapActivity on an Eclair test phone, I have installed an
OnTouchListener to only listen for screen taps. If I just tap the
screen it receives events OK. I can keep doing this indefinitely, and
it works OK. I am not interested in anything fancy. I don't care
about move events or
Within a MapActivity on an Eclair test phone, I have installed an
OnTouchListener to only listen for screen taps. If I just tap the
screen it receives events OK. I am not interested in anything fancy.
I don't care about move events or guessture detection, just taps.
However, after I perform a
Within a MapActivity on an Eclair test phone, I have installed an
OnTouchListener to only listen for screen taps. If I just tap the
screen it receives events OK. However, after I perform a multi-touch
activity to expand or contract the map view, the OnTouchListener no
longer receives any
5 matches
Mail list logo