• Register
Welcome to Kodlogs Q&A, where you can ask programming questions and receive answers from other members of the community. For programmers, by programmers Kodlogs is an open community for anyone that does coding. We help you get answers to your toughest coding questions, share knowledge with your coworkers in private, and find your next IT dream job.

Most popular tags

java program php python javascript c# android r c spring-boot arrays html mysql entity-framework sql-server matlab redirect code program numpy spring asp loop net class quirks-mode internet-explorer-9 internet-explorer machine-learning winforms visual-studio-2010 webpack python-3 python-2 aspnet dataframe pandas jdbc ios eclipse sum loops css cmd tcp math security jquery sockets sql 7 number firebase-authentication aws-organizations amazon-web-services php-7 string-formatting cplusplus visual-studio-2015 net-core net-mvc msbuild extension-methods foreign-keys sql-server-2005 windows-services react-redux reactjs inputstream facebook-graph-api for-loop entity-framework-4 reportingservices-2005 reporting-services mips linear-regression scikit-learn anova deep-learning keras block-device melt reshape2 floating-point webpack-dev-server javascrip 0-lollipop android-5 statsmodels avx indentation-error eclipseide javafx-2 php-not-recognized laravel command-line unit-testing tinyurl atom-editor android-emulator android-studio android-sdk-tools ionic2 cordova jupyter-notebook foobar2k tcplistener net-2 net-4 ole-db-provider windows-10 vagrantfile ggplot2 glmnet jvm-arguments global-variables orm virtualenv atom xls oledb redux webclient prediction headless hyperlink outlook pipeline iis perfect-square objective-c carthage xcode8 compiler-errors numpy-ndarray standard-deviation xampp apple mdf destructor vagrant gettime gmail ioexception heuristics milliseconds reporting cpu npm modx-revolution goldsky modx prevnext javascript-dictionary stack-smashing device-monitor radio-button android-actionbaractivity android-activity android-fragments java-long unqualified-id ora-12154 javc c++ java nullpointerexception runtime-error drjava awt-eventqueue dsx math-pow ajquery nosuchelementexception appcompatactivity jtextfield jpanel inputmismatchexception deque jupyter javafx lvalue junit tensorflow ibm factorial servlet apache boot virtualbox indentation jvm margins 2147483647 xcode firebase plot deployment processor automation socketexception pointers concatenation oracle devices color recursion sequence search date caching expected response directory csv algorithms release collections facebook float figure url expression microsoft sorting sort datetime httpwebrequest cryptography json ajax exe dictionary required windows string variable size dll system exception files x int function random import code 2
0 votes
Should I Learn XML for Android?
by (320 points)  
reshown by

1 Answer

0 votes
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 supportiveof JSON.Java is the primary programming language for
the Android, not JavaScript.JavaScript is the basic programming language
for nearly every API and web script in usefor the past twenty years.I’m thinking of my career for the next twenty
years.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 for
everything from log files to data file exchanges.I heard XML is used for user interface layouts
on the Android.That’s true. The Java Eclipse plugin uses
a resource compiler that converts an XML fileinto a compressed file format to store user
interface information.I could imagine there are a lot of other ways
of doing that.Using XML to store user interface settings
means the interface information is separatefrom 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 tasks
XML is used for. The files are smaller, sothey transfer faster and don’t need tree
manipulation.I’ll learn XML now to get started. I can
always learn JSON if it catches on.And learn Java to do more than call the XML
files stored locally on the user’s devices.That’s right up there with HTML and CSS
for programming web apps for smart phoneslike the Android.And it is way easier than the Objective C
that the iOS uses.That’s a subjective opinion, but XML and
Java should be faster to pick up.