【正文】
( 3)通過一個多月的 Android 學習,對 Android 系統(tǒng)的技術(shù)知識有了個大概了解,使 得我對于播放器的開發(fā)流程有了一定認知,編寫代碼的思路也有了提高,對于以后項目開發(fā)有很大幫助。與此同時,這個軟件還可以進一步擴展,帶給用戶更好的體驗與生活的便捷。 編輯聯(lián)系人功能測試 聯(lián)系人詳細界面中有修改、刪除和返回按鈕,在選擇修改功能后,聯(lián)系人的所有信息處于可編輯狀態(tài),手機號碼和固定電話則被EditView 設(shè)置為只可輸入數(shù)字,修改完后點擊確定按鍵,觸發(fā)確定按鍵點擊監(jiān)聽事件,從 而對數(shù)據(jù)庫中該聯(lián)系人信息進行更改,然后自動返回聯(lián)系人瀏覽界面。 } }。 private void initViews() { mListView = (ListView) findViewById()。 return null。 (adapter)。 ().show()。 基于 android 的通訊錄系統(tǒng)開發(fā) 26 (getResources().getString(_dialog_title))。 基于 android 的通訊錄系統(tǒng)開發(fā) 24 (Tag_hbh, (currentPosition) .getType() +type + (currentPosition) .get_id()+id)。如下圖: 青海民族大學畢業(yè)論文 23 查詢組功能界面實現(xiàn)代碼如下: private void showGroupInfoDilaog() { final builder = new (this)。 if((contact_group, values, _id = ?, new String[]{(id)}) 0 ){ return true。 (contact_time, contact_time)。 (contact_pic, contact_pic)。 (cg)。 基于 android 的通訊錄系統(tǒng)開發(fā) 18 } } return null。 (((contact_qq)))。 青海民族大學畢業(yè)論文 17 if(cursor != null){ while(()){ Contact c = new Contact()。 首先實例化 MyDatabaseHelper,使得上面代碼執(zhí)行后創(chuàng)建一個名稱為contact 的數(shù)據(jù)庫和一個名稱為 contact 的表。程序中數(shù)據(jù) getContentResolver() 庫類為 DBHelper extends SQLiteOpenHelper(繼承關(guān)系) ,內(nèi)容提供類 DBProvider extends ContentProvider(繼承關(guān)系) 創(chuàng)建數(shù)據(jù)庫 Android 提供 了標準的數(shù)據(jù)庫創(chuàng)建方式。 3) Hello World 通過 File New Project 菜單,建立新項目 Android Project。 2) 創(chuàng)建 AVD 為使 Android 應(yīng)用程序可以在模擬器上運行,必須創(chuàng)建 AVD。如果沒有出現(xiàn)可安裝的包,請點擊 Settings,選中 Misc 中的 Force 這項,再點擊 Available Packages。 Eclipse IDE for java Developers。 SQLite 是一個嵌入式數(shù)據(jù)庫引擎,針對內(nèi)存等資源有限的設(shè)備(如手機、 PDA、 MP3 等)提供的一種高效的數(shù)據(jù)庫引擎 SQLite 數(shù)據(jù)庫不像其他的數(shù)據(jù)庫,它沒有服務(wù)器進程。通過點擊 MENU 界面的增加功能選項可以新增聯(lián)系人,通過查找按鈕可以對聯(lián)系人進行姓名、號碼的操作,通過選擇聯(lián)系人并點擊刪除鍵可以對聯(lián)系人進行刪除操作,通過菜單功能可以顯示所有聯(lián)系人、刪除所有聯(lián)系人。這就會出現(xiàn)我的應(yīng)用會在活動的應(yīng)用后面顯示 對話框,或者從當前應(yīng)用中獲得焦點并顯示對話框的情況,而管論當時用戶正在做什么(如正在打電話等)。 ( 4) 修改:觸擊分組或聯(lián)系人按鈕是會出現(xiàn)編輯操作選項可以進行相關(guān)信息的修改。 該系統(tǒng)需實現(xiàn)的模塊有: :用戶可以通過前臺操作對聯(lián)系人信息進行添加、刪除、更改、查詢。 在基于 Android 系統(tǒng)的眾多應(yīng)用中,移動通訊錄是一種利用互聯(lián)網(wǎng)或移動互聯(lián)網(wǎng)實現(xiàn)通訊錄信息同步更新和備份的應(yīng)用 /服務(wù)。 Android:是谷歌與 2021 年公布的開放式源代碼手機系統(tǒng),它的開放優(yōu)于其它封閉式手機系統(tǒng)。與我一起探討、工作的同學對本論文所做的任何貢獻均已在論文中作了明確的說明并表示了謝意。根據(jù)當下人們的使用習慣和實際需求,本文對通訊錄提出了新的構(gòu)想和設(shè)計,并在這樣的基礎(chǔ)上,構(gòu)建實現(xiàn)了該通訊錄 . 關(guān)鍵詞: android Java 手機 通訊錄 Abstract Abstract: the content of the paper is not notes and reviews the brief statement, statement should be in the third person. It should be independent and selfcontained, . without reading the text, you can obtain the necessary information. Abstract the content should include and thesis equivalent volume of main information for readers to identify, it is necessary to read the whole passage, also for abstracts and other documents for 2 times using. Keywords: keywords for indexing work from the paper selected topic to express text content information, objective words or terms. If possible, try to use Chinese Thesaurus Thesaurus and other specifications provided by the word. English abstract is Chinese abstract English translation, English abstract in Chinese abstract page after page. The use of Chinese writing graduation thesis English abstract, key words, should have. The use of Chinese ( minority language, foreign language ) to write graduation thesis, must have the Chinese title, abstract, key words. 基于 android 的通訊錄系統(tǒng)開發(fā) 目錄 引言 .................................................. 1 項目背景 ........................................... 1 編寫目的 .......................................... 1 項目需求分析 .......................................... 2 功 能需求 ........................................... 2 項目系統(tǒng)目前的基本需求 ........................ 2 基本控制說明 ................................. 2 文本切換圖 ................................... 3 系統(tǒng)性能需求: ................................... 5 Android 數(shù)據(jù)庫設(shè)計 ................................... 7 、數(shù)據(jù)庫簡介 ....................................... 7 數(shù)據(jù)庫及字段屬性設(shè)計 .............................. 8 android 開發(fā)環(huán)境的搭建 ............................. 9 Aandroid 開發(fā)環(huán)境的配置 ....................... 9 軟件開發(fā)包下載 ................. 9 .......................... 10 ........................ 10 數(shù)據(jù)庫設(shè)計 ........................................... 16 數(shù)據(jù)庫連接、創(chuàng)建以及表創(chuàng)建 ........................ 15 數(shù)據(jù)庫操作 ........................................ 16 查詢聯(lián)系人方法 .............................. 16 查詢組方法 .................................. 18 修改聯(lián)系人方法 .............................. 19 修改組方法 ............................... 18 界面實現(xiàn) ............................................. 21 載入界面的實現(xiàn) ................................... 21 查詢聯(lián)系人 .................................. 21 查詢組功能 .................................. 22 修改聯(lián)系人功能 .............................. 24 修改組功能 .................................. 25 載入界面的功能實現(xiàn)代碼 ....................