Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you need a "complete" understanding of Java to program Android Applications? [closed]

Tags:

java

android

I am looking to start developing applications for Android and i was wondering if you could fill me in on the know how's and the requirements on a technical viewpoint.

I have the SDK, Eclipse and Java installed and even a handset to "real" test on.

My question is being a complete amateur to Java and having never used the language how much java would i have to learn to develop Android Applications ?

like image 825
Xavier Avatar asked Jun 21 '11 17:06

Xavier


People also ask

Is learning Java necessary for Android development?

Nope. Learning java is not necessary to build android apps unless you have good programming knowledge in C#.


1 Answers

I would say you can just start with some tutorials the same way you would when starting with just Java. You'll learn along the way, just use a lot tutorials.

There is not much difference for the language, but there is a great difference in the framework, ie. the way you set up applications.

So just Java you would learn:

public static void main(String[] args){
    System.out.println("Hello World");
}

In Android it would be:

public void onCreate(Bundle savedInstanceState){
    super.onCreate(savedInstanceState);
    System.out.println("Hello World");
    // Or:
    Log.v("MyActivity", "Hello World");
}

to print "Hello World" to the console respectively the log.

like image 153
nhaarman Avatar answered Oct 20 '22 19:10

nhaarman