XML file is not being parsed from internal storage



I have a function which creates a XML file made of phones Received signal strength samples and stores its path with file.getPath() to a string xmlFilePath. I made a parser, its input variable is that XML file path, which gets the samples from that file. All this is functioning well when i create file and after that call my xmlparser with that files path. Now when i tried to implement file chosing from Android file chooser and use path of the file as xmlparser input variable(the one creted with function above), returned from file choser after selecting that file, it is not being parsed. Wierd thing because its the same file but its path is returned from two diferent ways, and when i use toast message to display that path it is the same from both ways. So why it is not being parsed from file choser path.


No comments:

Post a Comment