hope this will help you.
TextView tx = new TextView(this);
tx.setClickable(true);
txtextControl.setOnClickListener(new OnClickListener() {
@Override
public void onClick(final View view) {
//add ur alert box here, dont ask me how, read the
documentation, :D im serious read it, u will find
//how to add a alert box
}
});
thats it...
On Jul 21, 2:28 pm, TreKing <[email protected]> wrote:
> On Thu, Jul 21, 2011 at 2:05 AM, arun kumar <[email protected]> wrote:
> > i read the documents but not understanding how to code....
>
> Sorry, but if you don't know how to code, you're not going to get very far.
> Learn to code in Java, then go back to the documentation and see how the
> relevant functions / classes are used. Then come back here if you have
> specific questions.
>
> Good luck.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
--
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