Package net.rim.device.api.database

Examples of net.rim.device.api.database.Database


            final URI uri = URI.create(dbLocation + DB_NAME);

            // Open or create a plain text database. This will create the
            // directory and file defined by the URI (if they do not already
            // exist).
            Database db = DatabaseFactory.openOrCreate(uri);

            // Close the database in case it is blank and we need to write to
            // the file
            db.close();

            // Open a connection to the database file
            final FileConnection fileConnection =
                    (FileConnection) Connector.open("file://" + dbLocation
                            + DB_NAME);
View Full Code Here

TOP

Related Classes of net.rim.device.api.database.Database

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.