Home > Mobile >  How to write their own Android XML configuration file to take effect?
How to write their own Android XML configuration file to take effect?

Time:10-24

Now I have to parse an XML file to the app (XML file is some IP address) how do I take these configuration to take effect?
Just click on the button "connect" for example, automatically from my inside to find the corresponding XML IP connection, so, how to achieve it, check a lot of information not found suitable, for help,

CodePudding user response:

You can write a loop read IP address from your XML, to determine whether a socket connection is successful, success is out of not reading XML, has been read is not successful
  • Related