On Feb 22, 2013, at 8:41 AM, krish <[email protected]> wrote:
> here m getting error while retreiving data from xml file...

As always, providing the actual exception you're getting would be helpful. You 
can find the exception in `adb logcat`:

        
http://docs.xamarin.com/guides/android/deployment%2C_testing%2C_and_metrics/android_debug_log

That said, a quick perusal of your source finds that you never close your 
FileStream in retrvXml():

> private void retrvXml()
> {
...
>    FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
...

`fs` is never Close()d, and thus the file will still be open the 2nd+ time 
retrvXml() is invoked, which sounds like the problem you're seeing.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to