File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and Android

 
Aditya Mehta
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are java and Android related?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Yes.


Doesn't that depend on whether you're asking the lawyers from Oracle or the lawyers from Google
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
1
Android Flex Google App Engine
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't that depend on whether you're asking the lawyers from Oracle or the lawyers from Google

Nice
 
robi sen
author
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
Chrome Mac OS X Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1369
1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic