摘要:
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)
浙公网安备 33010602011771号