hi thanks you guys
im using try and catch and im validating the conactivity on a certin point of time before i try to use it i agree with both of you totaly thanks for your help i think i allready solved my issue on the first response to this thread Cheers 2009/6/1 Alan Cassar <[email protected]> > Ahh ok you are right on that one, but he said that his application was > crashing... so i though that he was ignoring the try/catch block. Very good > explanation though of how the check for connectivity methods can be used. > > Cheers > > Alan Cassar, Software Engineer | Tel: +356 21334457 | Fax: +356 21 334156 > ricston Ltd., Northfields Suite 4, Independence Avenue, Mosta MST9026 - > MALTA > > email: [email protected] | web:http://www.ricston.com > > > ---------- > *Disclaimer* - This email and any files transmitted with it are > confidential and contain privileged or copyright information. You must not > present this message to another party without first gaining permission from > the sender. If you are not the intended recipient you must not copy, > distribute or use this email or the information contained in it for any > purpose other than to notify us. If you have received this message in error, > please notify the sender immediately and delete this email from your system. > We do not guarantee that this material is free from viruses or any other > defects although due care has been taken to minimise the risk. Any views > stated in this communication are those of the actual sender and not > necessarily those of Ricston Ltd. or its subsidiaries. > > > Mark Murphy wrote: > > Alan Cassar wrote: > > > Can't connectivity be lost between calls though? I think the best bet is > using try and catch > > > The OP needs try/catch, to be certain. I held that truth to be > self-evident. ;-) > > However, there is merit in determining at a point in time whether > Internet connectivity exists. For example, you might disable menu > choices that imply the use of a connection. > > In this case, I assumed he wanted those connectivity methods as part of > his diagnostics, to confirm his suspicion that the device indeed had no > connectivity at the time of the crashes. > > > > > > > -- Thanks Rotem Or --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

