Welcome to my blog.
A peaceful place to contemplate the passing of time and world domination. Or maybe... Just a place to put helpful information I find during my day.
Monday, April 28, 2008
I have also been working on some J2ME things. If you are using the Sun Wireless tool kit, Eclipse has a great plugin for it. To get it in eclipse go to Help>Software Updates>Find and Install>Search for new features to install>New Remote Site... and place this url in the dialog http://eclipseme.org/updates.
I have only noticed one issue once in a while it will give an error (failed to get library information). If this happens edit the properties of the project click on J2ME and click Manage Devices This will refresh the link to the libraries and get you moving on your way.
Well I have been busy... I guess... it seems like it anyway. Let me catch up on a couple of things.
I gave a presentation at the ever Rockin Omaha Dynamic Languages User Group run by Blaine Buxton. Thanks Blaine for letting me speak again! Below is the outline from the presentation power point.
Open Handset Development What is it Linux based development platform Desktop Emulator Eclipse Plugin Debug Console
Architecture Applications Android will ship with a set of core applications including an email client, SMS program, calendar, maps, browser, contacts, and others. All applications are written using the Java programming language. Application Framework Developers have full access to the same framework APIs used by the core applications. Underlying all applications is a set of services and systems, including: A rich and extensible set of Views Content Providers A Resource Manager A Notification Manager An Activity Manager
Libraries System C library Media Libraries Surface Manager LibWebCore SGL 3D libraries FreeType SQLite
Runtime Android includes a set of core libraries Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. The Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management. Linux Kernel Linux version 2.6 for core system services Security Memory management Process management Network stack Driver model What is the Purpose Build A better Phone for customers Innovating in the open Making the vision a reality Who is involved Android Open All Applications are created Equal Breaking down application boundaries Fast and easy application development Developers Android SDK is free Actual hardware not readily available Very good emulator and tools provided Android Developers Challenge $10 Million Dollars to developers who build apps on the platform Groups Anddev.org Google Android user group Droiddraw.org
Testing with Android Positron
Enough Talk Lets get into the tools and code! Anatomy of an App There are four building blocks to an Android application: Activity Intent Receiver Service Content Provider
Monday, December 24, 2007
It's been a while. I have been heads down developing a Mobile Banking application for cell phones. Recently I have been modifying it to run on the new android handset. Because of this I have ran into a few things I would like to remind myself of later.
One sort of unrelated thing is an issue I found when I started to migrate code from 1.5 to 1.6. I thought I had all of my project related code changed over only to have a build script fail. Below is the stack from my console.
The error manifest it self in two ways. the first way is:
class file has wrong version 50.0, should be 49.0
The second way is:
[echo] compile of C:\_brent\workspaces\.....\source\main to C:\_brent\workspaces\.....\webapp\WEB-INF\classes [javac] Compiling 144 source files to C:\_brent\workspaces\.....\webapp\WEB-INF\classes [javac] javac: invalid target release: 1.6 [javac] Usage: javac
Not a very good description of what was happening. After double checking my settings I found the issue was with my ant task settings in the window>preferences>ant. I still had the 1.5 tools jar in my settings and need the 1.6 tools jar. Once I changed that it was smooth sailing.
I hope this helps others with the same issue. Happy coding!