NetLibSelect() allows you to block on I/O or user input. Just add the sysFileDescStdIn descriptor to the list of descriptors you are interested in. See the Palm OS Reference for more details. Mark
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shruti Wadhwa Sent: Wednesday, January 03, 2007 5:15 AM To: Palm Developer Forum Subject: How to stop file transfer Hi All, I am developing a application that sends data through GPRS connection. My application sends data when i am outside the application. The problem is that i want to stop the transfer if someone presses any button.I think for that i have to register for some notification that is broadcasted on button pressing But i dont know which notification i should register for ? Can anyone please tell me how to solve the problem. I will appriciate the help. Thanks Shruti __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
