上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 35 下一页
摘要: AddDiaryFragment的layout <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout 阅读全文
posted @ 2024-03-29 23:10 kxzzow 阅读(11) 评论(0) 推荐(0)
摘要: 将应用密码加密保存与文件中。每次登陆获取密码并对比。 public class LoginDirectActivity extends AppCompatActivity implements View.OnClickListener { private EditText edit_input_te 阅读全文
posted @ 2024-03-29 23:10 kxzzow 阅读(8) 评论(0) 推荐(0)
摘要: LoginDirectActivity 的layout <?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.and 阅读全文
posted @ 2024-03-29 23:09 kxzzow 阅读(6) 评论(0) 推荐(0)
摘要: 使用SharedPrefrenced存储日记内容及标题。 public final class SharedPreferencesUtils { private static final SimpleArrayMap<String, SharedPreferencesUtils> mCaches = 阅读全文
posted @ 2024-03-29 23:09 kxzzow 阅读(9) 评论(0) 推荐(0)
摘要: 在AndroidManifest.xml文件中添加action和category,这样就可以在导航栏中看到你的app的选项了。例如: ```xml<activity android:name=".MainActivity" android:label="@string/app_name"> <int 阅读全文
posted @ 2024-03-29 23:08 kxzzow 阅读(8) 评论(0) 推荐(0)
摘要: /** * function: 统计打卡次数 */public static String count(String account) throws SQLException { Connection connection = null; PreparedStatement statement = 阅读全文
posted @ 2024-03-29 23:08 kxzzow 阅读(7) 评论(0) 推荐(0)
摘要: /** * function: 统计目标次数 * 及统计平均达成度 */public static String count2(String account) throws SQLException { Connection connection = null; PreparedStatement 阅读全文
posted @ 2024-03-29 23:08 kxzzow 阅读(9) 评论(0) 推荐(0)
摘要: /** * function: 统计所有学生打卡 */public static String Clock_in_Summary(String account) throws SQLException { Connection connection = null; PreparedStatement 阅读全文
posted @ 2024-03-15 22:01 kxzzow 阅读(12) 评论(0) 推荐(0)
摘要: /** * function: 统计所有学生每日学习目标 * */ public static boolean sumana(User user, String account) { Connection connection = JDBCUtils.getConn(); // 获取当前系统日期 C 阅读全文
posted @ 2024-03-14 23:15 kxzzow 阅读(18) 评论(0) 推荐(0)
摘要: public static int login(String userAccount, String userPassword) { Connection connection = null; boolean success = false; try { connection = JDBCUtils 阅读全文
posted @ 2024-03-14 23:15 kxzzow 阅读(8) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 35 下一页