View Single Post
Posts: 21 | Thanked: 42 times | Joined on Jan 2010
#38
Originally Posted by ejasmudar View Post
1. Could you please create a wiki page with more details and examples on creating xml and txt files?
Perhaps. Where should it be?

(The existing xml and txt files are the examples, though...)

Originally Posted by ejasmudar View Post
2. Right now, even though I have a in.txt file, When trying the app, I get a Warning, no in.xml file, before showing the result. Is this intentional?
Yes, if you haven't created an .xml file, then this is normal. The program wants to try a directory lookup first, and will use the .txt only if that fails. Since it can't do a lookup if the .xml file does not exist, that means it will fall back to the .txt instead. Essentially, it's just telling you why it can't look up the caller name, you can ignore the warning if you like.

Originally Posted by ejasmudar View Post
3. Also, if I try to have in_9.txt, in_4.txt, etc without having a in.txt file, the program returns with error "no in.xml file" and exits. but I can see from us_ca files that they have no us_ca.xml or us_ca.txt file and it works without errors. What am I doing wrong?
I'm not sure what you mean. The "no in.xml file" is a warning, not an error, and since it complains about the .xml file, not the .txt file, the message should appear regardless of what you do with the .txt files. And the warning currently also appears if you try to look up a North American number, so that does not "work without errors" either, but it does work.

Originally Posted by ejasmudar View Post
4th, in the regions.xml file, what is the mcc tag?
Mobile Country Code. It's used to find out what country the phone is roaming in. You don't need to change it, I pulled a complete list from wikipedia when I created regions.xml.

Last edited by ovekaaven; 2011-03-14 at 21:16.
 

The Following User Says Thank You to ovekaaven For This Useful Post: