Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Android
    • Android
    • Applications
    • Development
    • Mobile

    Developing with Google Android

    Written by

    Jeff Cogswell
    Published October 8, 2008
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Google’s Android is a complete mobile operating system. While the technology is meant to challenge other mobile OSes-including Microsoft’s Windows Mobile and Apple’s iPhone-it also promises to be a key development platform.

      For developers, that means using Java and Eclipse, and understanding the fundamental mobile architecture of Android. Here is an overview of the architecture.

      Eclipse: The Preferred IDE

      The preferred development environment for developing for Android is the open-source Eclipse IDE. While developers could use their favorite editor and command-line tools directly, development is certainly easier in Eclipse, since Google has given us a pretty nice plug-in to simplify development in Eclipse. This plug-in automatically creates a project for developers, including some starter files such as a class for the main application, which even includes some starting code.

      Development, therefore, requires that Eclipse and the Android software development kit be installed, as well as the plug-in for Eclipse.

      The Language Is Java

      To develop for Android, programmers use the latest version of Java. Included with the Android SDK is a whole set of Java libraries found in such namespaces as android.app and android.os. These classes are all contained in a single jar file; looking at the jar file, I saw such namespaces as android.content, android.database, android.graphics, android.hardware, android.net, android.net.wifi (cool!), android.sax (as in

      Additionally there’s a large set of Apache classes and World Wide Web Consortium classes. The Apache classes are primarily for HTTP communication, while the W3C classes are the DOM (Document Object Model) processing classes.

      Remember, Android is a complete operating system, and as is obvious, through these Java classes, developers have access to a great deal of features that they can use in their programs.

      I was curious about one aspect of the HTTP classes in particular. I looked through all the class names, and sure enough, this one was present: org.apache.http.HttpServerConnection. That’s for server-side processing. Does Android let developers run an actual HTTP server? HttpServerConnection is just an interface; on further inspection, I found this class: org.apache.http.impl.DefaultHttpServerConnection. Indeed, this class is an implementation of a server connection class. I didn’t have time for this particular article to explore this further, but I’m definitely going to do that soon. The idea of running server software on a mobile device is certainly intriguing.

      Jeff Cogswell
      Jeff Cogswell
      Jeff Cogswell is the author of Designing Highly Useable Software (http://www.amazon.com/dp/0782143016) among other books and is the owner/operator of CogsMedia Training and Consulting.Currently Jeff is a senior editor with Ziff Davis Enterprise. Prior to joining Ziff, he spent about 15 years as a software engineer, working on Windows and Unix systems, mastering C++, PHP, and ASP.NET development. He has written over a dozen books.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.