click on a gone view

by Guian » Thu, 04 Jun 2009 00:01:40 GMT

Sponsored Links
 Why is this possible ?

code :
        private OnClickListener _Listener = new OnClickListener()
            public  void onClick(View v)
                  if(v== myView){
                              Log.d("onClick","Why is this
possible ?");
View myView = new View(this);

I use View.VISIBLE / GONE to exchange display of two views... and when
I want to click on the visible one, the gone one is catching it...

is that normal ?

Other Threads

1. Do the applications keep/manage their own SQLite databases (files)?

> Android includes a database engine (SQLite). In general, do the

Applications keep/manage their own databases.

Mark Murphy (a Commons Guy)
Android App Developer Books:


2. Access to other appications

Currently, I tried to create an event of the Calendar application
which is included in Android 1.1 by my own application developed by
Android SDK.
Originally, the class and functions of the Calendar can not be found.
After I found the library of Calendar and put it to the classpath,
there is no error anymore.
However, the access still failed in runtime.
It seems that the Calendar applications are prohibited to be accessed,
isn't it?
I considered of accessing the DB of Calendar app directly, but it
seems that there is no way to access the DB of another application.
Is there any solution to access the Calendar app by my own app?


3. Playing/recording audio over/from the connected line

4. can I communicate with os on phone?

5. About android color depth 32bit/pixel

6. Running Android in the virtualization layer (e.g. VMware) possible?

7. how to avoid getting Menu command to my application after the screen have been locked