It takes only a few steps to get started with db4o and Android. This description assumes that your using Eclipse to create your Android application.
You can use db4o on Android as normally. However you when you create a db4o-database you should use a file in the application-context. The start class of your application itself is usually the context.
Also add the AndroidSupport to your configuration, which tunes some configuration settings to work better with Android.
public class Db4oOnAndroidExample extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { String filePath = this.getFilesDir() + "/android.db4o"; final EmbeddedConfiguration config = Db4oEmbedded.newConfiguration(); config.common().add(new AndroidSupport()); ObjectContainer db = Db4oEmbedded.openFile(config,filePath); // do your stuff db.close(); } }