Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Learn Java for Android Development: biggest differences from "normal" Java web developemnt?

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeff,

What is the biggest difference between normal Java (web) development and Java development for Android? Thanks.

Ken
 
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ken,

I'd say that the biggest difference between normal Java development and Android app development (using the Apache Harmony 6 version of Java) is the paradigm shift. Java applications have a main() method, whereas Android apps are combinations of interacting components (activities, services, content providers, and broadcast receivers). Each component presents its own architecture of callback methods. You communicate with activities by passing intent objects that describe what you want done. You create an XML-based manifest file named AndroidManifest.xml to describe your app components, request permissions, and more. Then there are the tools. The Android SDK provides various development tools and an emulator for viewing app content. I could say more but this gives you a starting point as far as differences are concerned.

All the best.

Jeff

 
My cellmate was this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic