listener

Which listener method do I have to override/declare to put a mark in my googlemap activity when I touch the map with my finger?

Which method do I have to override to put a mark in my Google Map activity when I touch the map with my finger? I tried with this in the oncreate method (like a button onclickslistener) but it doesn't work: this.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { //// Here todo the code for put...

Release a listener / observer in Objective-C?

Hi guys! I'm not sure when it's the right moment to RELEASE a listener object. I have a object A that uses NSURLConnection's initWithRequest method to retrieve some URL. initWithRequest requires a delegate to listen after the events of dataReceived... So object A creates an object B and passes it as a delegate for initWithRequest metho...

Value Change Listener to JTextField

I want the message box appear immediately after the user change the value in textfield. Currently I need to hit enter key to get the message box pop out. Anything wrong to my code? textField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { if (Integer.parse...

Select action from listbox, perform it on ticked values in GWT

Hi, This is my working code. What I was thinking of doing, is to add a few check boxes, and select an option from the List box. That option is applied to the ticked values, after clicking the apply button, preferably an async call. is that possible? I tried a few things like setting a listener for the button and then trying to get the ti...

Get the touch direction on Android

Hi, I want to ask that is that possible do in android catch the in the touch mode catch the scrolling direction ? When user touch on the screen left to right, can I catch the change ? If it is possible which listener can ı use ? I found some of the methods and listeners but I 'm not sure that therse are represent my requirement . http:...

Web service Listener for soap messages in C#

Hi, I want to create a listener for soap messages. Can this be done using a web service in c sharp? The soap messages contain xml data inside the soap body. I want the web service listener to be able to extract this xml data from the soap message. Appreciate your help! ...

Getting notified when the network connection changes in a Cocoa / Obj-C application

Is there any way to be notified / have your Cocoa application listen for changes in the network connection (disconnect, connect, etc.)? How does something like HardwareGrowler do it? ...

ExtJS - Open tab through clicking on link in GridPanel (column renderer)

Hi, I created link in the grid panel, so that when I click on the link and it will open another tab in the tab panel. Currently I render the column cell output into html href with onClick event. But it seems that got error when the renderer method openrender() call the other method newtab(), which showing error function newtab() cannot b...

.Net: How to suppress TraceSource header ("SourceName TraceEventType: Id : ")?

I have a TraceSource object that I use to log the initialization of a VB.Net application. It has several TraceListeners attached: ConsoleTraceListener TextWriterTraceListener EventLogTraceListener For the first two I want the entry output to be "raw" - that is, without the standard header: SourceName TraceEventType: Id : I have im...

Is there a listener for when the WebView displays it's content?

Using WebViewClient and/or the WebChromeClient you can get a listener for when the page has loaded, however this is sometimes called before the WebView has any content in it, before it has displayed anything. What would be a efficient method for determining when the WebView has displayed it's content? Edit: (Trying to be more clear) W...