Following code works perfect in my computer but when I try to run it in my Android Phone, it does not work.
string path = @"Assets\Layout\XML\file" + select.ToString() + @".xml"; XmlSerializer xmlSerializer = new XmlSerializer(typeof(List<Name>)); StreamReader sr = new StreamReader(path); List<Name> listnames = (List<Name>)xmlSerializer.Deserialize(sr); How can I make the code work in my Android Phone?
No comments:
Post a Comment