Package net.rim.device.api.util

Examples of net.rim.device.api.util.IntHashtable


        _wFields.addField(EVENT_ON_CONN_ACCEPTED);
        _wFields.addField(EVENT_ON_BBM_MENU_INVITE);
        _wFields.addField(EVENT_ON_USER_REACHABLE);
        _wFields.addField(EVENT_ON_DATA_EXPIRED);
        _hostedConn = UNDEFINED;
        _joinReq2ScriptReq = new IntHashtable();
    }
View Full Code Here


        // store the application descriptor and push in RuntimeStore so that it can be accessed from daemon.
        _daemonStore = PushDaemon.DaemonStore.loadFromStore();
        // persistent the application descriptor
        PushPersistentStore.setAppDescArgs( ApplicationDescriptor.currentApplicationDescriptor().getArgs() );

        _pushListeners = new IntHashtable();
        _onExitHandler = new OnExitHandler();
    }
View Full Code Here

     *            The message to display
     * @param editable
     *            True is the message is editable, otherwise false
     */
    public MessageScreen(final Message message, final boolean editable) {
        _fieldTable = new IntHashtable();
        _editable = editable;

        // Set the message and display its subject as the title if the
        // message exists.
        _message = message;
View Full Code Here

     *
     * @return A hash table of Category objects, one for each record in the
     *         Category table
     */
    IntHashtable getCategories() {
        final IntHashtable categories = new IntHashtable();
        try {
            // Read in all records from the Category table
            final Statement statement =
                    _db.createStatement("SELECT * FROM Category");
            statement.prepare();
            final Cursor cursor = statement.getCursor();

            Row row;
            int id;
            String name;
            Category category;

            // Iterate through the result set. For each row, create a new
            // Category object and add it to the hash table.
            while (cursor.next()) {
                row = cursor.getRow();
                id = row.getInteger(0);
                name = row.getString(1);
                category = new Category(id, name);
                categories.put(id, category);
            }
            statement.close();
            cursor.close();
        } catch (final DatabaseException dbe) {
            SQLiteDemo.errorDialog(dbe.toString());
View Full Code Here

TOP

Related Classes of net.rim.device.api.util.IntHashtable

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.