aspose file tools*
The moose likes Android and the fly likes Java and Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Java and Android" Watch "Java and Android" New topic
Author

Java and Android

Aditya Mehta
Greenhorn

Joined: Dec 20, 2010
Posts: 10
Are java and Android related?


OCPJP 6
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42930
    
  68
Yes.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3742
    
  16
Ulf Dittmer wrote:Yes.


Doesn't that depend on whether you're asking the lawyers from Oracle or the lawyers from Google


Joanne
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42930
    
  68
Yes.

Although I think it's not under contention that the language used for programming on Android has Java syntax, semantics and a largely identical API...
Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 200
    
    1

Doesn't that depend on whether you're asking the lawyers from Oracle or the lawyers from Google

Nice
robi sen
author
Ranch Hand

Joined: Jan 25, 2011
Posts: 33
Android has many components and is not analogous to Java. At the lowest level Android runs on top of Linux and has drivers, services, etc. This is a very important part of Android that most books and most developers miss. Of course our book covers how to work with Android at this level as well :-) As for Java the orignal Android developers decided to use the Java language as the core language for the application tier of Android and developed their own Java Virtual Machine called the Dalvik Virtual Machine https://secure.wikimedia.org/wikipedia/en/wiki/Dalvik_%28software%29. It has its own peculiarities, for example its register based not stack based, but it is highly optimized for the resource constrained environments of phones. I hope hat helps some but the book covers these differences in much greater depth.

Regards,

Robi
Varin Adhkab
Greenhorn

Joined: Jan 25, 2011
Posts: 6

basically to make an android app you need to know Java...apart from that android has a very customised version of Java VM(Dalvik VM).
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Nirav Bakhda wrote:basically to make an android app you need to know Java...apart from that android has a very customised version of Java VM(Dalvik VM).

This is NOT entirely true. Java is not the ONLY language you can use to write Android apps.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Ulf Dittmer wrote:
...Although I think it's not under contention that the language used for programming on Android has Java syntax, semantics and a largely identical API...

Second that. Android is much more than just a programming language.
mike cochran
Greenhorn

Joined: Dec 27, 2013
Posts: 4
robi sen wrote:Android has many components and is not analogous to Java. At the lowest level Android runs on top of Linux and has drivers, services, etc. This is a very important part of Android that most books and most developers miss. Of course our book covers how to work with Android at this level as well :-) As for Java the orignal Android developers decided to use the Java language as the core language for the application tier of Android and developed their own Java Virtual Machine called the Dalvik Virtual Machine https://secure.wikimedia.org/wikipedia/en/wiki/Dalvik_%28software%29. It has its own peculiarities, for example its register based not stack based, but it is highly optimized for the resource constrained environments of phones. I hope hat helps some but the book covers these differences in much greater depth.

Regards,

Robi
]so i need to down load Linux first i am new at this would like to make android apps i need a virtual machine
can you help
thanks mike
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42930
    
  68
so i need to down load Linux first i am new at this would like to make android apps i need a virtual machine

You don't need Linux -the Android SDK is available for WIndows, OS X and Linux. What you do need is a JDK for whatever OS you want to develop on.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java and Android