亚洲精品92内射,午夜福利院在线观看免费 ,亚洲av中文无码乱人伦在线视色,亚洲国产欧美国产综合在线,亚洲国产精品综合久久2007

?
Java知識分享網(wǎng) - 輕松學(xué)習(xí)從此開始!????

Java知識分享網(wǎng)

Java1234官方群25:java1234官方群17
Java1234官方群25:838462530
        
SpringBoot+SpringSecurity+Vue+ElementPlus權(quán)限系統(tǒng)實戰(zhàn)課程 震撼發(fā)布        

最新Java全棧就業(yè)實戰(zhàn)課程(免費)

AI人工智能學(xué)習(xí)大禮包

IDEA永久激活

66套java實戰(zhàn)課程無套路領(lǐng)取

鋒哥開始收J(rèn)ava學(xué)員啦!

Python學(xué)習(xí)路線圖

鋒哥開始收J(rèn)ava學(xué)員啦!

Android數(shù)據(jù)存儲SQLite PDF 下載


分享到:
時間:2021-06-08 09:56來源:http://sh6999.cn 作者:轉(zhuǎn)載  侵權(quán)舉報
Android數(shù)據(jù)存儲SQLite PDF 下載
失效鏈接處理
Android數(shù)據(jù)存儲SQLite PDF 下載


本站整理下載:
提取碼:e9h4 
 
 
相關(guān)截圖:
 
主要內(nèi)容:


一、實驗?zāi)康?/div>
1. 掌握SharePreferences的使用方法;
2. 掌握Android內(nèi)部文件及SD卡存儲文件的方法。
3.掌握SQLite數(shù)據(jù)庫的使用。
 
二、實驗學(xué)時
2學(xué)時/次,共4學(xué)時 
三、實驗環(huán)境
Android Studio;JDK1.7;PC機(jī)
四、實驗內(nèi)容和要求
1. .使用SQLite數(shù)據(jù)存儲實現(xiàn)如下功能
 
 
添加聯(lián)系人信息、并查詢信息
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
對Tom手機(jī)號信息修改,將后兩位11改成00,并查詢結(jié)果
 
 
SQLite數(shù)據(jù)庫信息:
 
 
SQLite數(shù)據(jù)庫存放位置:
 
點擊刪除,將聯(lián)系人信息全部清除:
 
 
用戶交互界面設(shè)計代碼:
activity_main.xml
 
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="16dp"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:paddingTop="16dp"
    tools:context=".MainActivity">
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        tools:ignore="MissingConstraints"
        android:orientation="vertical">
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textSize="25sp"
            android:gravity="center"
            android:text="通訊錄"/>
        <LinearLayout
            android:id="@+id/ll_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_above="@+id/ll_phone"
            android:layout_alignLeft="@+id/ll_btn"
            android:layout_alignStart="@+id/ll_btn"
            tools:ignore="MissingConstraints">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="18sp"
                android:text="姓 名:" />
            <EditText
                android:id="@+id/et_name"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="16sp"
                android:hint="請輸入姓名" />
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/ll_phone"
            android:layout_marginBottom="10dp"
            android:layout_above="@+id/ll_btn"
            android:layout_alignLeft="@+id/ll_name"
            android:layout_alignStart="@+id/ll_name"
            tools:ignore="MissingConstraints">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="18sp"

 

------分隔線----------------------------
?
鋒哥公眾號


鋒哥微信


關(guān)注公眾號
【Java資料站】
回復(fù) 666
獲取 
66套java
從菜雞到大神
項目實戰(zhàn)課程

鋒哥推薦