should i learn xml for android? xml is rivaled by json. json is java based, isn’t it? json stands for javascript object notation.javascript’s latest version is fully supportive of json.
Android javascript, java is the primary programming language forthe android, not javascript. javascript is the basic programming languagefor nearly every api and web script in use for the past twenty years. i’m thinking of my career for the next twentyyears.
java may be used to code apps for the android,but javascript is used for web-based apps. and both of them will probably use xml foreverything from log files to data file exchanges. i heard xml is used for user interface layoutson the android. that’s true. the java eclipse plugin usesa resource compiler that converts an xml file into a compressed file format to store userinterface information. i could imagine there are a lot of other waysof doing that. using xml to store user interface settingsmeans the interface information is separate from the business logic. then the interface data is saved locally,regardless of the device or its settings.
or the user’s preferences. then it sounds like xml is what i should learn. json is better for a lot of the same tasksxml is used for. the files are smaller, so they transfer faster and don’t need treemanipulation. i’ll learn xml now to get started. i canalways learn json if it catches on. and learn java to do more than call the xmlfiles stored locally on the user’s devices.
that’s right up there with html and cssfor programming web apps for smart phones like the android. and it is way easier than the objective cthat the ios uses.
that’s a subjective opinion, but xml andjava should be faster to pick up.