ramesh_bh wrote:HI aspic,
Thanks for the reply, yes gimme some code of event listeners so that i can forward with my code.
Thanks again

Well, first of all the main reason why you can't detect clicks on your added views is because they don't have IDs stored in the generated R.xml-file.
My way around this is pretty straight forward, and should perhaps have been done very different, but the main idea is to manually add an id to the views (myView.setId(someInt)), and store this id in an array. Then, when the OnClickListeners gets an event (an ID has been clicked) one just loops through the array, and breaks at the correct id.
I believe this method is very mean and should not be used, therefore I got second thoughts when I reviewed my code (it is pretty old). If you still want to use this method I can go about and paste some code
