db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Product News from the Core Team

This blog features product news right from the core developer team, once new features and functions get checked into Subversion, available as Continuous Build every 2 hours.

db4A - database for Android

Today Google released the Android SDK, an application development stack for mobile devices.

Great news for us: The programming API is plain Java.

On a very first look the system is quite mature already. The Emulator works nicely. Eclipse plugin support is already very good. Debugging works perfectly. I had the system up and running on my machine in 10 minutes.


Of course I had to check out immediately if db4o works. Yes it does. :-)

So far I only managed to get our JDK 1.1 engine running. Apparently reflection works differently on the Android VM dubbed "Dalvik". Of course we will try to find out immediately what the issue is.

A small stepping stone to get db4o to work: Apparently root file access without a path is not allowed. I got db4o to work from within my Activity class as follows:

ObjectContainer db = Db4o.openFile(getDataDir() + "/" + "myFirstAndroidDb.db4o");


Here are some links around Android that you may find worthwhile:

Download
http://code.google.com/android/download.html

Coding Challenge
http://code.google.com/android/adc.html

Forums
http://ohadev.com/

Google Group
http://groups.google.com/group/android-developers

First discussions and coverage
http://mobile.slashdot.org/article.pl?sid=07/11/12/1626245
http://www.infoq.com/news/2007/11/android-java

The impressive list of members of the Open Handset Alliance...
http://www.openhandsetalliance.com/oha_members.html

...and what their CEOs say
http://www.openhandsetalliance.com/member_quotes.html


Kudos to Cedric Beust, Bob Lee and all the other smart guys at Google!

Thanks, you made my day.


Enjoy Android!

...with db4o of course. :-)

Published Tuesday, November 13, 2007 1:26 PM by Carl Rosenberger
Filed under:


Comments

 

db4o Newsletter said:

db4o 7.0 released with Transparent Activation XtremeConnect virtual pairing service launched db4o 6.4

November 13, 2007 6:11 PM
 

db4o in Japanese said:

原文は こちら 。 TA搭載、db4o7.0リリース XtremeConnectサービス開始 db4o6.4 プロダクションリリース オブジェクトマネージャー エンタープライス版 db4objectsが導入する新ビジネスモデル

November 14, 2007 11:08 AM
 

Carl Rosenberger's web log said:

It has been a week since the Android software development stack for mobile devices has been released.

November 23, 2007 7:03 PM
 

Community News said:

Hi! Our previous db4o powered sample application for Android powered by db4o was very popular so we decided

December 4, 2007 7:47 AM
 

Community News said:

Here's a sample application (a basic password manager for the Android platform) which shows how db4o

December 12, 2007 3:29 PM
 

Carl Rosenberger's web log said:

Yesterday I gave Google Earth a try to see what the Sky view looks like. Playing around, I decided to

January 26, 2008 4:22 PM
Anonymous comments are disabled