Sunday, September 28, 2008

Getting Started with the Android Development Tools

Now that we have ADT officially released and world's first Android-powered phone announced it's a good time to take a second look at Android Development Tools (ADT).

First screencast introduces installation and usage of ADT within the Eclipse Ganymede SR1 environment. (03:10):

Second screencast shows ADT in declarative UI development (02:30):

For this tutorial we have used an image of "electric sheep" from electricsheep.org created by Scott Draves.

Tutorial steps are based on Android - Getting started tutorial.

Resources:
  1. Professional Android Application Development
  2. Android Essentials (Firstpress)
  3. Unlocking Android

If you liked this post, please share it with others using the links below. Thank you.

View screencast...

Wednesday, June 25, 2008

What I like about Eclipse 3.4 JDT

In this screencast you are going to see some of the more interesting changes made to the Java development tools for the 3.4 release of Eclipse:

  • Extract class refactoring
  • New quick assists
  • Java editor breadcrumb
The example used is based on Martin Fowler's book on Refactoring.


View screencast: (03:00):

If you liked this post, share it with others using the links below.

View screencast...

Monday, April 14, 2008

Using Java (GWT) with Google App Engine

Since Google App Engine (GAE) announcement many developers are wondering when/if Google App Engine will support Java. As we already know GAE currently supports only Phyton.

Do Java developers have to wait for Java support in GAE? In my opinion, no.

Google App Engine can be used to host any HTML/JavaScript based application. In that scenario we still need Python, but only as a tool for application deployment.

First screencast shows exactly that:
  • Python installation (Windows).
  • GWT application deployment on GAE.

If you are not familiar with GWT you may want to take a look at the previous screencasts.

Install Python and deploy GWT app (03:10):

Certainly, GAE is much more than just a hosting platform.
GAE provides APIs for the datastore, Google Accounts, URL fetch and email services.

Problem (or opportunity?) for Java developers is that GAE API is available only for Python.

After two afternoons of Learning Python, and copying/pasting from GAE tutorials I was able to modify previous example to use GAE URL fetch API.

Here is the screencast (02:30):

Instead of conclusion:

For web application development, more work has to be done on the client-side – especially for AJAX apps. GWT does a great job in making that easier. Almost every AJAX application needs to communicate with the server and the server-side is where scalability (GAE) is needed.

This screencast shows a JSON sample, because I expect to see many approaches (frameworks) that will enable us to wrap GAE API in JSON messages.

"Any problem in computer science can be solved with another layer of indirection" [Wheeler] so I don't think that the "Python only" is an issue.

The same argument (or architecture) can be used if you are afraid of “platform lock-in”. After decades of "architectural patterns" is it really so hard to decouple client-code from GAE services?

If you liked this post, share it with others using the links below.

View screencast...

Sunday, December 16, 2007

How to: Google Android in Eclipse

The Android platform is a software stack for mobile devices. In this two-part screencast you are going to see how to install and use the Android SDK to develop simple Android application using the Java programming language and Eclipse IDE plugin.

First screencast shows how to install SDK, configure Eclipse plugin and run sample Android applications. Second tutorial covers new project creation in Eclipse, use of Android emulator, content model, permissions and navigation model.


Install and configure the Android SDK (03:00):

Developing an Android application (02:50):

Second screencast is derived from (more advanced) example by Dan Morill:

If you liked this post, share it with others using the links below.

View screencast...

Monday, October 15, 2007

A first look at Eclipse Rich Ajax Platform (RAP)

Eclipse Rich Ajax Platform (RAP) allows developers to create Rich Internet Applications (RIA) using the OSGi standard component model. The main advantage of this technology is the ability to share the same Java code base for RCP and RIA applications.

In this two-part screencast you are going to see RAP installation process, look and feel of the RAP 1.0 Demo application and creation of the simple RAP plugin.


Installation of the RAP 1.0 using the Eclipse Update Manager (01:15):

RAP 1.0 Demo application. Creation of the "Hello world" RAP plugin (02:15):

Recommended books:

  1. Eclipse Rich Client Platform: Designing, Coding, and Packaging Java(TM) Applications
  1. Eclipse: Building Commercial-Quality Plug-ins (2nd Edition)

If you liked this post, please share it with others using the links below. Thank you.

View screencast...