XML parsing in MIT App Inventor
-
31-05-2021 - |
Question
I was trying to make an app which has a component that will make an HTTP request and receive a XML file. I need to parse the file to display some data. I was using MIT App Inventor. How can I do that using the app inventor? If it is not possible by that approach then how I can do it in traditional manner?
And is it possible to import MIT App Inventor project to another IDE like Eclipse?
Thank you for your time.
Solution
You have to hard code it like JSON-
http://www.appinventorblocks.com/appinventor-tutorials-tips/appinventor-web-component-json-response
No, you can not import in Eclipse.
OTHER TIPS
Taifun's link is broken, but the new link can be found here: App Inventor Developers
Importing an app inventor to eclipse project is possible but with some limitations.It's a java bridge project(uses Java Bridge library) which converts existing MIT app inventor project to Java.
Follow the link to convert: https://appinventortojava.appspot.com/login/
Video Link: https://www.youtube.com/watch?v=FqNTc4DVYW8