This guide is designed for existing users of Virtual Machinery's BTree who wish to write code for Googles Android(TM) platform. Unlike the Java ME platform the Android platform can use the standard BTree. The important difference is the file paths used to create and access your BTree. The following code fragments should illustrate the basic principles. Note that any code that accesses the Context (as this does) must inherit from android.app.Activity -

As those of you familiar with Virtual Machinerys BTree interface will be aware the only difference between the code required to support Android and that used in a normal Java 'Desktop' scenario is the path to the file system. Obviously this path may change depending on the location to be accessed on the Android device - for example an SD Card.