• Post Reply Bookmark Topic Watch Topic
  • New Topic

What can we do with java?

 
Saad Zahoor
Ranch Hand
Posts: 70
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what if we know java 100% . what can we develop . And what is purpose of Xml .. What Xml do .. and For making android app do i need to learn other language other than java ???
 
Knute Snortum
Sheriff
Posts: 3326
84
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can develop pretty much anything in Java.  Whether Java is the best language for the project depends on a lot of factors.  What are you planning to develop?
 
Knute Snortum
Sheriff
Posts: 3326
84
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The purpose of XML is mainly to encapsulate (package) data in a logical form that can be send as text, but it has a lot of uses.  Do you have an example of what you're trying to understand?
 
Saad Zahoor
Ranch Hand
Posts: 70
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Want to develop android games. including online server games
 
fred rosenberger
lowercase baba
Bartender
Posts: 12373
40
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's kind of like saying "i know carpentry 100%. Now I want to build a city!!!".  There is a lot of other stuff you'd need to learn. Databases, interprocess communication, graphic design, animation, and a ton of other things. There's a reason why most games are built by teams of people - sometimes hundreds of them.
 
salvin francis
Bartender
Posts: 1415
18
Eclipse IDE Google Web Toolkit Java
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saad Zahoor wrote:I Want to develop android games. including online server games

That's a good goal, I would love to play your game (hope they are free )
Now, taking things a step at a time, can you write an android app that simply prints "hello world" ? I would suggest beginning with that.
 
Saad Zahoor
Ranch Hand
Posts: 70
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know all the basic but now entering into the oop that is so hard to learn .. Classes Methods , return from method , parameter passing , this , setter n getter all these things just blow my mind ..Very confusing !!
 
Campbell Ritchie
Marshal
Posts: 53140
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saad Zahoor wrote:I know all the basic but now entering into the oop . . .
But object‑orientation (=OO) is basic. You need to learn OO as one of the basics.
 
Saad Zahoor
Ranch Hand
Posts: 70
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then i guess its a long road to follow :P
 
Campbell Ritchie
Marshal
Posts: 53140
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The sooner you start and the more effort you put into it, the farther you will get
 
Giovanni Montano
Ranch Hand
Posts: 320
4
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saad Zahoor wrote:what if we know java 100% . what can we develop . And what is purpose of Xml .. What Xml do .. and For making android app do i need to learn other language other than java ???


There are no limit on what you can do if you know Java. One reason is that is the ideal language to start to learn coding and that in this job continuous learning is so implicit, that also learning other scripting languages can be a necessity.
If you master java for instance you can learn C# in weeks, and PHP in days.

For Android is a bit different, is on the bull eye at the moment, and keep up with all the changes can be really challenging, especially if you need to build up your own portfolio while learning.
Simplifying Android is java built on complex Google APIs. Today there is much more.
XML in android is mainly used to design the so called View/UI
the reasons are different. First of all  in this way the view with the business logic they are loosely coupled
A purist of the language could say that I am wrong, because due to the complexity/peculiarities of android and user interactions you need to create
also a proper java class view(programmatically) to specify the cycles, the fragments, the onCreate initialization where to "inflate" the xml Layout..Another essential advantage of using xml is that you can really easy use WYSIWYG editors(What You See Is What You Get), this means you can paint your view without coding, today android is quite
mature that even middle complex app visual design views can be "painted" using a graphical editor adding few attributes manually and see the changes in real time. In this way you can see with your eyes immediately the effect caused by your choices. Since roughly one year  this is all the more true with the so called Constrain Layout that allows you to maintain complex layout without establishing a hierarchy between the components.


 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!