zoukankan      html  css  js  c++  java
  • 团队项目-第一阶段冲刺-3

    今天团队学习了相关的数据库操作以及页面的跳转实验了一下再界面上简单的输出一下所求的数据

    public void onCreate(SQLiteDatabase db){
        //user table
        db.execSQL("create table if not exists user_tb(_id integer primary key autoincrement," +
                "userID text not null," +
                "pwd text not null)");

        //Configuration table
        db.execSQL("create table if not exists refCode_tb(_id integer primary key autoincrement," +
                "CodeType text not null," +
                "CodeID text not null," +
                "CodeName text null)");

        //costDetail_tb
        db.execSQL("create table if not exists basicCode_tb(_id integer primary key autoincrement," +
                "userID text not null," +
                "Type integer not null," +
                "incomeWay text not null," +
                "incomeBy text not null," +
                "category text not null," +
                "item text not null," +
                "cost money not null," +
                "note text not null," +
                "makeDate text not null)");
    }

    今天遇到了一个顽固的问题

    "ERROR: Could not find com.android.support:appcompat-v7:26.0.0. Required by:     project :app  Please install the Android Support Repository from the Android SDK Manager. " 
    最终参考

    (2条消息)Android Studio 报错 ERROR: Could not find com.android.support:appcompat-v7:26.0.0._移动开发_Kchiha的博客-CSDN博客
    https://blog.csdn.net/Kchiha/article/details/89640895

    得到了解决

  • 相关阅读:
    设计模式:迭代器模式
    设计模式:观察者模式
    设计模式:解释器模式
    设计模式:策略模式
    设计模式:状态模式
    设计模式:代理模式
    strtok函数
    人们眼中的程序员
    如何用C语言获取文件的大小
    C++著名库的比较和学习经验
  • 原文地址:https://www.cnblogs.com/123-haozijia/p/13038752.html
Copyright © 2011-2022 走看看