• 4.19成果(冲刺1.2)


    预期任务量:40h;目前已花时间:4h;剩余时间:33h。

     做了一个标签栏:

     遇到问题:点击标题栏按钮会发生变化,但是页面跳转有问题。

    SQLite数据库:

    package com.example.zbytexttwo;
    
    import android.content.Context;
    import android.database.sqlite.SQLiteDatabase;
    import android.database.sqlite.SQLiteDatabase.CursorFactory;
    import android.database.sqlite.SQLiteOpenHelper;
    
    public class dbHelper extends SQLiteOpenHelper {
        public static final String TB_NAME = "bills";
        public dbHelper(Context context, String name, CursorFactory factory, int version) {
            super(context, name, factory, version);
            // TODO Auto-generated constructor stub
        }
        @Override
        public void onCreate(SQLiteDatabase db) {
            // TODO Auto-generated method stub
            db.execSQL("CREATE TABLE IF NOT EXISTS " +
                    TB_NAME + " ( _id integer primary key autoincrement," +
                    "leixing varchar," +
                    "riqi varchar,"+
                    "jine integer," +
                    "beizhu varchar"+
                    ") ");
        }
        @Override
        public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
            // TODO Auto-generated method stub
            db.execSQL("DROP TABLE IF EXISTS " + TB_NAME);
            onCreate(db);
        }
    }
    View Code
  • 相关阅读:
    javafx DragDropped file
    javafx style and cssFile
    javafx ComboBox Event and change cell color
    javafx clipboard
    javafx Cursor
    javafx DropShadow
    javafx checkbox
    javafx image button
    GNS3连接虚拟机
    cain使用教程
  • 原文地址:https://www.cnblogs.com/RGTD/p/12733692.html
Copyright © 2020-2023  润新知