freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

嵌入式系統(tǒng)開(kāi)發(fā)實(shí)驗(yàn)報(bào)告-資料下載頁(yè)

2025-01-18 23:19本頁(yè)面
  

【正文】 控件,這些都是安卓中的基礎(chǔ)控件,這次實(shí)驗(yàn)中使用的都是系統(tǒng)自帶的樣式,其實(shí)大多時(shí)候還是需要開(kāi)發(fā)人員自定義的,不夠操控這些控件的代碼大同小異。在實(shí)現(xiàn)這些控件的過(guò)程中感覺(jué)比較難的是使用到了線程,在這個(gè)地方實(shí)現(xiàn)的方式就有很多種,個(gè)人感覺(jué)還是使用安卓自帶的辦法比較好。實(shí)驗(yàn)室名稱: 計(jì)算機(jī)實(shí)驗(yàn)室 實(shí)驗(yàn)機(jī)器號(hào): 實(shí)驗(yàn)分組: 無(wú) 實(shí)驗(yàn)時(shí)間: 指導(dǎo)教師: 時(shí)振濤 實(shí)驗(yàn)六:布局管理器一、 實(shí)驗(yàn)?zāi)康暮鸵笳莆沼脩艚缑娼Y(jié)構(gòu),掌握定義界面布局的各種方法,掌握聲明界面布局方法。二、 實(shí)驗(yàn)原理布局管理器能管理用戶UI的各種視圖組件,Android提供了四種常用的布局管理器:線性布局、相對(duì)布局、表格布局和框架布局。另外,在設(shè)計(jì)UI布局時(shí),布局管理器能夠嵌套。為了提高布局的靈活性,Android還提供了使用代碼控制UI界面,以及代碼和XML聯(lián)合控制UI界面的方法。三、 實(shí)驗(yàn)設(shè)備硬件:微型計(jì)算機(jī)軟件:Eclipse、JDK、SDK、ADT四、 實(shí)驗(yàn)內(nèi)容(圖片不限)2. 請(qǐng)用其他嵌套方式實(shí)現(xiàn)該題目五、 實(shí)驗(yàn)步驟和方法1. 創(chuàng)建工程2. 在布局文件中根據(jù)實(shí)驗(yàn)要求實(shí)現(xiàn)3. 運(yùn)行程序,看是否符合要求4. 調(diào)試5. 記錄實(shí)驗(yàn)數(shù)據(jù)六、 實(shí)驗(yàn)數(shù)據(jù)記錄LinearLayout xmlns:android= xmlns:tools= android:layout_width=fill_parent android:layout_height=fill_parent android:layout_alignParentLeft=true android:layout_alignParentTop=true android:orientation=vertical LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=vertical ImageView android:id=@+id/imageView1 android:layout_width=fill_parent android:layout_height=73dp android:contentDescription=image1 android:src=@drawable/paypal / /LinearLayout LinearLayout android:layout_width=fill_parent android:layout_height=70dp android:orientation=horizontal ImageView android:id=@+id/imageView2 android:layout_width=70dp android:layout_height=70dp android:src=@drawable/tximg / TableLayout android:layout_width=wrap_content android:layout_height=match_parent TableRow android:id=@+id/tableRow1 android:layout_width=wrap_content android:layout_height=wrap_content TextView android:id=@+id/textView1 android:layout_width=wrap_content android:layout_height=wrap_content android:text=賬號(hào) / EditText android:id=@+id/editText1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:ems=10 requestFocus / /EditText /TableRow TableRow android:id=@+id/tableRow2 android:layout_width=wrap_content android:layout_height=wrap_content TextView android:id=@+id/textView1 android:layout_width=wrap_content android:layout_height=wrap_content android:text=密碼 / EditText android:id=@+id/editText2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:ems=10 android:inputType=textPassword / /TableRow /TableLayout /LinearLayout Button android:layout_width=220dp android:layout_height=34dp android:layout_marginLeft=47dp android:background=6B6B6B android:text=登陸 / CheckBox android:id=@+id/checkBox1 android:layout_width=wrap_content android:layout_height=wrap_content android:text=記住密碼 / CheckBox android:id=@+id/checkBox2 android:layout_width=wrap_content android:layout_height=wrap_content android:text=自動(dòng)登錄 / CheckBox android:id=@+id/checkBox3 android:layout_width=wrap_content android:layout_height=wrap_content android:text=接受產(chǎn)品推廣 / FrameLayout android:layout_width=match_parent android:layout_height=wrap_content Button android:id=@+id/logout android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=195dp android:text=注銷登陸 / Button android:id=@+id/forgetPass android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=30dp android:text=忘記密碼 / /FrameLayout/LinearLayout七、 實(shí)驗(yàn)結(jié)果及其分析八、 實(shí)驗(yàn)總結(jié)和體會(huì)這次實(shí)驗(yàn)中主要練習(xí)的是布局,根據(jù)實(shí)驗(yàn)的要求一步步實(shí)現(xiàn),這次練習(xí)使用的安卓全部的布局管理,雖然界面不是很復(fù)雜,但是也需要細(xì)心。實(shí)驗(yàn)室名稱: 計(jì)算機(jī)實(shí)驗(yàn)室 實(shí)驗(yàn)機(jī)器號(hào): 實(shí)驗(yàn)分組: 無(wú) 實(shí)驗(yàn)時(shí)間: 指導(dǎo)教師: 時(shí)振濤 實(shí)驗(yàn)七:數(shù)據(jù)存儲(chǔ)和訪問(wèn)(一)一、 實(shí)驗(yàn)?zāi)康暮鸵蟊緦?shí)驗(yàn)的目的是使學(xué)生深入了解Android數(shù)據(jù)存儲(chǔ)和訪問(wèn)的方法,利用SharedPreference和SQLite進(jìn)行數(shù)據(jù)存儲(chǔ)及訪問(wèn)。二、 實(shí)驗(yàn)原理1. SharedPreference是Android提供的一種輕量級(jí)的數(shù)據(jù)存儲(chǔ)方式,主要用來(lái)存儲(chǔ)一些簡(jiǎn)單的配置信息,例如,默認(rèn)歡迎語(yǔ),登錄用戶名和密碼等。其以鍵值對(duì)的方式存儲(chǔ),使得我們能很方便進(jìn)行讀取和存入2. Sqlite是一款輕型的數(shù)據(jù)庫(kù),它包含在一個(gè)相對(duì)小的C庫(kù)中,它的設(shè)計(jì)目標(biāo)是嵌入式的,由于它占用資源非常少,可能只需要幾百K的內(nèi)存就可以了,并且支持Windows/Linux/Unix等等主流的操作系統(tǒng),同時(shí)可以和很多種程序語(yǔ)言相結(jié)合,比如:C/Java/php等,所以在嵌入式設(shè)備中特別受歡迎,這一點(diǎn)也正好符合android的開(kāi)發(fā)要求,所以在Android開(kāi)發(fā)中經(jīng)常要用到該數(shù)據(jù)庫(kù)。Android提供了一個(gè)名為SQLiteDatabase的類(SQLiteOpenHelper類中的getWritableDatabase()和getReadableDatabase()方法返回這個(gè)類的對(duì)象)。  SQLiteDatabase類封裝了一些操作數(shù)據(jù)庫(kù)的API,使用該類可以完成對(duì)數(shù)據(jù)進(jìn)行添加(Create)、查詢(Retrieve)、更新(Update)和刪除(Delete)操作(這些操作簡(jiǎn)稱為CRUD)。SQLiteDatabase的學(xué)習(xí),應(yīng)該重點(diǎn)掌握execSQL()和rawQuery()方法。execSQL()方法可以執(zhí)行insert、delete、update和CREATE TABLE之類有更改行為的SQL語(yǔ)句;rawQuery()方法用于執(zhí)行select語(yǔ)句。三、 實(shí)驗(yàn)設(shè)備硬件:微型計(jì)算機(jī)軟件:Eclipse、JDK、SDK、ADT四、 實(shí)驗(yàn)內(nèi)容1. 按照教材中的內(nèi)容建立工程N(yùn)euChp04_SharedPreferences和NeuChp04_SharedPreferencesOther,其中NeuChp04_SharedPreferences實(shí)現(xiàn)本應(yīng)用程序的數(shù)據(jù)訪問(wèn),NeuChp04_SharedPreferencesOther實(shí)現(xiàn)其他應(yīng)用數(shù)據(jù)的訪問(wèn)。2. 按照教材中的內(nèi)容建立工程N(yùn)euChp04_SQLite,利用SQLiteDataBase類實(shí)現(xiàn)對(duì)數(shù)據(jù)庫(kù)的建立和對(duì)數(shù)據(jù)表的增、刪、改、查的操作,其中對(duì)數(shù)據(jù)表的操作要分別采用兩種方式來(lái)實(shí)現(xiàn),()、()、()來(lái)實(shí)現(xiàn),()來(lái)實(shí)現(xiàn)。五、 實(shí)驗(yàn)步驟和方法,進(jìn)行相應(yīng)界面設(shè)計(jì),再編寫(xiě)Java文件 六、 實(shí)驗(yàn)數(shù)據(jù)記錄 //寫(xiě)入 (n
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1