国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫)

這篇具有很好參考價值的文章主要介紹了Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫)。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

一、功能與要求

實現(xiàn)功能:設(shè)計與開發(fā)記單詞系統(tǒng)的四個界面,分別是用戶登錄、用戶注冊、單詞操作以及忘記密碼。
指標要求:通過用戶登錄、用戶注冊、單詞操作、忘記密碼掌握界面設(shè)計的基礎(chǔ),其中包括界面布局、常用控件、事件處理等相關(guān)內(nèi)容,通過所學內(nèi)容設(shè)計與開發(fā)的界面要求簡潔、美觀。

二、方案設(shè)計

(一)用戶登錄界面

該界面采用LinearLayout布局,界面中包含整體界面采用線性布局布局方式,界面中包含TextView、EditText、Button等控件,布局設(shè)計如下圖1所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫
圖1 用戶登錄界面設(shè)計

(二) 用戶注冊界面

該界面采用LinearLayout布局,界面中包含TextView、EditText、Button、RadioGroup、radioButton、toggleButton、checkBox、spinner等控件,布局設(shè)計如下圖2所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

圖2 用戶注冊界面設(shè)計

(三)單詞操作界面

該界面采用…布局,界面中包含textview、TableRow、EditText、Button、TableRow、ListView、RatingBar等控件,布局設(shè)計如下圖3所示:

Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

圖3 單詞操作界面設(shè)計

(四)忘記密碼界面

該界面采用…布局,界面中包含textview、EditText、Button等控件,布局設(shè)計如下圖4所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

圖4 忘記密碼界面

三、項目實現(xiàn)步驟

步驟1:搭建開發(fā)環(huán)境。

1.創(chuàng)建項目ReadWord

Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

步驟2:準備資源。

2.1 準備好項目所需要的圖片
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

2.2 將圖片資源放入到項目的mipmap文件下
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

步驟3:UI設(shè)計與開發(fā)。

3.1 使用相對布局等管理器來實現(xiàn)界面的布局
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫

步驟4:編寫程序?qū)崿F(xiàn)業(yè)務(wù)邏輯。

4.1使用簡單的控件和相對布局來實現(xiàn)界面

四、項目實現(xiàn)

(一)用戶登錄界面

界面如下圖5所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫
圖5 用戶登錄界面

布局代碼如下:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:background="@mipmap/bg"
    tools:context=".Activity.MainActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="50dp"
        android:layout_marginTop="440dp"
        android:layout_marginRight="50dp"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="right"
            android:text="用戶名稱:"
            android:textSize="22sp" />

        <EditText
            android:id="@+id/edit_user"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="22sp"
            android:hint="請輸入用戶名"
            android:inputType="textPersonName" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="50dp"
        android:layout_marginRight="50dp"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="right"
            android:text="用戶密碼:"
            android:textSize="22sp" />

        <EditText
            android:id="@+id/edit_pwd"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:maxLines="1"
            android:textSize="22sp"
            android:inputType="textPassword"
            android:hint="輸入六位密碼" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="35dp"
        android:layout_marginLeft="50dp"
        android:layout_marginRight="50dp"
        android:orientation="horizontal">

        <Button
            android:id="@+id/btn_edpwd"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:layout_marginTop="10dp"
            android:gravity="right"
            android:background="#00FFFFFF"
            android:text="忘記密碼?"
            android:onClick="onClick"
            android:textColor="#6B6868"
            android:textSize="18sp" />

    </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="50dp"
            android:layout_marginRight="50dp"
            android:orientation="horizontal">
            <Button
                android:id="@+id/btn_login"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="登錄"
                android:onClick="onClick"
                android:textSize="20sp" />
            <Button
                android:id="@+id/btn_register"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="注冊"
                android:onClick="onClick"
                android:textSize="20sp" />
            <Button
                android:id="@+id/btn_select"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="查詢"
                android:onClick="onClick"
                android:textSize="20sp" />
        </LinearLayout>
</LinearLayout>

(二) 用戶注冊界面

界面如下圖6所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫
布局代碼如下:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:gravity="center"
    android:background="@mipmap/bgs"
    tools:context=".Activity.RegisterActivity">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="30sp"
            android:textStyle="bold"
            android:text="用戶信息" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="用戶名稱:" />

        <EditText
            android:id="@+id/editText1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="請輸入用戶名"
            android:inputType="textPersonName" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="用戶密碼:" />

        <EditText
            android:id="@+id/editText2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="請輸入六位數(shù)字"
            android:inputType="textPassword" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView4"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="用戶實名:" />

        <EditText
            android:id="@+id/editText3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="與身份證保持一致"
            android:inputType="textPersonName" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView5"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="性別:" />

        <RadioGroup
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="horizontal">

            <RadioButton
                android:id="@+id/radioButton"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:checked="true"
                android:text="男" />

            <RadioButton
                android:id="@+id/radioButton2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="女" />
        </RadioGroup>
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView6"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="婚否:" />

        <ToggleButton
            android:id="@+id/toggleButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textOff="未婚"
            android:textOn="已婚" />

    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView7"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="愛好:" />

        <CheckBox
            android:id="@+id/checkBox"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="閱讀" />

        <CheckBox
            android:id="@+id/checkBox2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="游泳" />

        <CheckBox
            android:id="@+id/checkBox3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="跑步" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView8"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="職務(wù):" />

        <Spinner
            android:id="@+id/spinner"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:entries="@array/arrays" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <Button
            android:id="@+id/button6"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:onClick="onClick"
            android:text="取消" />

        <Button
            android:id="@+id/button7"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:onClick="onClick"
            android:text="注冊" />
    </LinearLayout>

</LinearLayout>

(三) 單詞操作界面

界面如下圖7所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫
布局代碼如下:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:background="@mipmap/bgs"
    tools:context=".Activity.WordOperateActivity">
    <TableLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        >
        <TableRow
            android:layout_width="match_parent"
            android:layout_height="600dp">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="30dp"
                android:layout_weight="1"
                android:gravity="center"
                android:orientation="vertical">
                <TextView
                    android:id="@+id/textView11"
                    android:layout_width="wrap_content"
                    android:layout_height="90dp"
                    android:layout_weight="1"
                    android:gravity="bottom"
                    android:text="單詞操作界面"
                    android:textSize="23sp"
                    android:textStyle="bold" />
            </LinearLayout>
        </TableRow>
        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="130dp"
                android:layout_marginTop="20dp"
                android:orientation="vertical">
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/textView12"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:textSize="24sp"
                        android:gravity="center"
                        android:text="單詞:"
                        android:textStyle="bold" />

                    <EditText
                        android:id="@+id/edit_danci"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:ems="10"
                        android:hint="請輸入單詞"
                        android:gravity="left"
                        android:inputType="textPersonName" />
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/textView13"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textSize="24sp"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="解析:"
                        android:textStyle="bold" />

                    <EditText
                        android:id="@+id/edit_jiexi"
                        android:layout_width="wrap_content"
                        android:ems="10"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="left"
                        android:hint="請輸入解析"
                        android:inputType="textPersonName" />
                </LinearLayout>
            </LinearLayout>
        </TableRow>

        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal">

                <Button
                    android:id="@+id/btn_add"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:onClick="onClick"
                    android:text="添加" />

                <Button
                    android:id="@+id/btn_sel"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:onClick="onClick"
                    android:text="查詢" />

                <Button
                    android:id="@+id/btn_edit"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:onClick="onClick"
                    android:text="更新" />

                <Button
                    android:id="@+id/btn_del"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:onClick="onClick"
                    android:text="刪除" />
            </LinearLayout>

        </TableRow>

        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center"
                android:orientation="vertical">

                <Button
                    android:id="@+id/btn_selAll"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="查看全部詞匯" />
            </LinearLayout>

        </TableRow>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <ListView
                android:layout_width="match_parent"
                android:layout_height="200dp"
                android:id="@+id/list_view"
                >

<!--                <TextView-->
<!--                    android:id="@+id/textword1"-->
<!--                    android:layout_width="wrap_content"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    android:text="Hello"-->
<!--                    />-->
<!--                <TextView-->
<!--                    android:id="@+id/textjiexi1"-->
<!--                    android:layout_width="wrap_content"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    android:text="你好"-->
<!--                    />-->

            </ListView>

        </LinearLayout>


        <TableRow
            android:layout_width="match_parent"
            android:layout_height="257dp"
            android:gravity="center">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/textView10"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content" />
            </LinearLayout>
        </TableRow>

        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center"
                android:orientation="horizontal">

                <RatingBar
                    android:id="@+id/ratingBar"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
            </LinearLayout>

        </TableRow>


        <TableRow
            android:layout_width="match_parent"
            android:layout_height="match_parent" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center"
                android:orientation="vertical">

                <Button
                    android:id="@+id/button12"
                    android:layout_width="160dp"
                    android:layout_height="wrap_content"
                    android:text="提交評論" />
            </LinearLayout>
        </TableRow>
    </TableLayout>
</LinearLayout>

(四)忘記密碼界面

界面如下圖8所示:
Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫),Android開發(fā),android,sqlite,數(shù)據(jù)庫
布局代碼如下:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:gravity="center"
    android:background="@mipmap/bgs"
    tools:context=".Activity.EditPwdActivity">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="30sp"
            android:textStyle="bold"
            android:text="修改密碼" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="用戶名稱:" />

        <EditText
            android:id="@+id/et_user"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="請輸入用戶名"
            android:inputType="textPersonName" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="新 密 碼 :" />

        <EditText
            android:id="@+id/et_pwd"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="請輸入六位數(shù)字"
            android:inputType="textPassword" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/textView4"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textStyle="bold"
            android:text="確認密碼:" />

        <EditText
            android:id="@+id/et_pwd2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ems="10"
            android:hint="與新密碼相同"
            android:inputType="textPersonName" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <Button
            android:id="@+id/btn_update"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textSize="20sp"
            android:textStyle="bold"
            android:onClick="onClick"
            android:text="確認修改" />
    </LinearLayout>

</LinearLayout>

五、項目總結(jié)

通過該項目的設(shè)計,掌握Android項目設(shè)計開發(fā)流程,完成了一款記單詞軟件,UI布局界面使用了很多控件,使我掌握了TextView、EditText、Button、ratingBar、RadioGroup、radioButton、toggleButton、checkBox、spinner等控件的使用、后臺使用了AlertDialog實現(xiàn)了注冊按鈕彈出對話框。此次項目設(shè)計不僅僅使對我技術(shù)上的鍛煉有所提高,更多的是為我之后的學習奠定了良好的基礎(chǔ),但是依然有很多的不足之處需要我們繼續(xù)完善和改正。文章來源地址http://www.zghlxwxcb.cn/news/detail-520840.html

到了這里,關(guān)于Android開發(fā):使用AndroidStudio開發(fā)記單詞APP(帶數(shù)據(jù)庫)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • Android開發(fā)——SQLite數(shù)據(jù)庫的使用

    1、SQLite的特性 SQLite是一個進程內(nèi)的庫,實現(xiàn)了自給自足的、無服務(wù)器的、零配置的、事務(wù)性的 SQL 數(shù)據(jù)庫引擎。它是一個零配置的數(shù)據(jù)庫,這意味著與其他數(shù)據(jù)庫不一樣,您不需要在系統(tǒng)中配置。 SQLite 引擎不是一個獨立的進程,可以按應(yīng)用程序需求進行靜態(tài)或動態(tài)連接。

    2024年02月15日
    瀏覽(26)
  • 基于Android studio+SSH的單詞記憶(背單詞)APP設(shè)計

    基于Android studio+SSH的單詞記憶(背單詞)APP設(shè)計

    目錄 引言 3 1.1. 項目介紹 3 課程設(shè)計選題《單詞記憶APP》 3 1.2. 項目的目的和意義 3 1.3. 相關(guān)技術(shù)介紹 5 1.3.1. ionic + angular + cordova混合框架 5 1.4. 后端SSH框架 6 系統(tǒng)需求分析 8 2.1. 軟件功能 8 2.1.1. 需求分析 8 2.2. 功能性需求 9 項目介紹 10 3.1. 系統(tǒng)的開發(fā)環(huán)境 10 3.2. 系統(tǒng)的技術(shù)路線

    2024年02月05日
    瀏覽(20)
  • 安卓大作業(yè)(AndroidStudio開發(fā))日記記事本app

    安卓大作業(yè)(AndroidStudio開發(fā))日記記事本app

    博主介紹: 本人專注于Android/java/數(shù)據(jù)庫/微信小程序技術(shù)領(lǐng)域的開發(fā),以及有好幾年的計算機畢業(yè)設(shè)計方面的實戰(zhàn)開發(fā)經(jīng)驗和技術(shù)積累;尤其是在安卓(Android)的app的開發(fā)和微信小程序的開發(fā),很是熟悉和了解;本人也是多年的Android開發(fā)人員;希望我發(fā)布的此篇文件可以幫

    2024年02月11日
    瀏覽(19)
  • Kotlin & Compose Multiplatform 跨平臺(Android端、桌面端)開發(fā)實踐之使用 SQLDelight 將數(shù)據(jù)儲存至數(shù)據(jù)庫

    Kotlin & Compose Multiplatform 跨平臺(Android端、桌面端)開發(fā)實踐之使用 SQLDelight 將數(shù)據(jù)儲存至數(shù)據(jù)庫

    取標題的時候我還在想,我應(yīng)該寫 Compose 跨平臺呢還是寫 Kotlin 跨平臺。 畢竟對于我的整體項目而言,確實是 Compose 跨平臺開發(fā),但是對于我這篇文章要說的東西,那其實也涉及不到多少 Compose 相關(guān)的內(nèi)容,更多的應(yīng)該是 Kotlin Multiplatform 相關(guān)的內(nèi)容。 二者取舍不下,干脆都

    2024年02月15日
    瀏覽(23)
  • Android Studio實現(xiàn)記單詞App,背完四六級一次過~

    Android Studio實現(xiàn)記單詞App,背完四六級一次過~

    本系統(tǒng)包含高考、四級、六級、托福和雅思詞匯五個章節(jié)。每個章節(jié)分為多個單元,每個單元又包含上百個詞匯??梢栽趩卧斜聿樵儐卧~,實時記錄每個單元的閱讀時間,點進單詞詳情頁,有單詞的拼寫、音標、釋義和例句,底部導航欄可以查看前一頁和后一頁,還可以進

    2024年02月03日
    瀏覽(20)
  • 安卓期末大作業(yè)(AndroidStudio開發(fā)),垃圾分類app,代碼有注釋,能正常運行

    安卓期末大作業(yè)(AndroidStudio開發(fā)),垃圾分類app,代碼有注釋,能正常運行

    安卓期末大作業(yè) ?app使用的是sqlite數(shù)據(jù)庫,使用的核心類及其組件:Base Adapter,F(xiàn)ragment,View Pager,Alert Dialog.Builder,Option,Animation Draw able(關(guān)鍵幀動畫),Media Player(視頻),Count Down Timer(倒計時 廣告頁用),Spinner等 該分類助手的功能是管理員先登錄進入后臺界面,將數(shù)據(jù)

    2024年02月12日
    瀏覽(19)
  • 【Android】在AndroidStudio開發(fā)工具運行Java程序

    【Android】在AndroidStudio開發(fā)工具運行Java程序

    在Android Studio開發(fā)工具中,Android系統(tǒng)開始就是用java語言開發(fā)的,還可以java代碼來寫程序,控制臺,桌面應(yīng)用,還可以寫可調(diào)用的模塊,這里講一下創(chuàng)建Java程序步驟,方便入門java語言開發(fā)。 新建一個Android項目時,要選擇第一個,就是空的(不帶模板)的項目,這里打開會有

    2024年02月11日
    瀏覽(20)
  • AndroidStudio-圖片的上傳以及存進mysql數(shù)據(jù)庫里

    AndroidStudio-圖片的上傳以及存進mysql數(shù)據(jù)庫里

    參考文章: 如何簡單地利用BITMAP為中介儲存圖片到數(shù)據(jù)庫中 android開發(fā)實現(xiàn)頭像上傳功能 先添加Tiny框架的依賴 然后創(chuàng)建dialog的xml文件dialog_select_photo 然后創(chuàng)建一個空白的activity,在該activity的xml里添加一個按鈕(btn_test)和一個ImagView(image) 然后是activity里的代碼,有些依賴可能會

    2023年04月23日
    瀏覽(22)
  • 【Android Studio】安卓APP期末作品記錄之連接sqlite數(shù)據(jù)庫以及簡單的sqlite增刪改查

    【Android Studio】安卓APP期末作品記錄之連接sqlite數(shù)據(jù)庫以及簡單的sqlite增刪改查

    期末作品要求使用數(shù)據(jù)庫,我自己折騰了一會,又看了很多博主發(fā)的文章,終于成功了,特此記錄:使用SQLiteDatabase和SQLiteOpenHelper連接已有sqlite數(shù)據(jù)庫。 第一步,導入sqlite數(shù)據(jù)庫 因為我已經(jīng)創(chuàng)建好了一個sqlite數(shù)據(jù)庫,所以第一步得將我的數(shù)據(jù)庫導入項目中 在app — src — ma

    2024年02月03日
    瀏覽(36)
  • 10萬單詞例句表單詞句子ACCESS\EXCEL數(shù)據(jù)庫

    原本我以為《3萬5千英語句子英語例句大全ACCESS數(shù)據(jù)庫》例句已經(jīng)夠多了,沒想到今天遇到一個10萬條英語單詞例句的數(shù)據(jù),非常適合與單詞詞典進行關(guān)聯(lián)學習,例句多了單詞的用法以及句子的掌握都更有效率,例句多了單詞的用法以及句子的掌握都更有效率,例句多了單詞的

    2024年02月06日
    瀏覽(20)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包