【正文】
,竊賊即便更換 SIM 卡也無(wú)法解除鎖定。 圖 手機(jī)防盜 國(guó)外研究狀況 英國(guó)一家手機(jī)服務(wù)公司宣布推出一整套手機(jī)防盜軟件的服務(wù),使用該服務(wù)的用戶(hù)在手機(jī)被盜后不僅可及時(shí)轉(zhuǎn)移手機(jī)信息,手機(jī)還能發(fā)出刺耳鳴聲,讓竊賊根本無(wú)法使用所盜手機(jī)。 Android 應(yīng)用程序?yàn)橥泄艽a,所以,由應(yīng)用程序而導(dǎo) 致系統(tǒng)崩潰的可能性很小,這也降低了設(shè)備崩潰的可能性 [2]。 Android 手機(jī)設(shè)備運(yùn)行在 Linux 操作系統(tǒng)北京工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) 2 下,這使得其上運(yùn)行的 Android 應(yīng)用程序具有很強(qiáng)的安全性。 圖 Android 系統(tǒng)構(gòu)架 Android(智能 機(jī)器人 ) 是 Google 開(kāi)發(fā)的基于 Linux 平臺(tái)的開(kāi)源手機(jī)操作系統(tǒng),該平臺(tái)由操作系統(tǒng)、中間件、用戶(hù)界面和應(yīng)用軟件組成, 其系統(tǒng)構(gòu)架如圖 所示, 被譽(yù)為第一個(gè)完整、開(kāi)發(fā)而免費(fèi)的移動(dòng)平臺(tái)。在我們忙碌的工作生活中, 似乎手機(jī)丟失已經(jīng)成為了一種自然的事情。種類(lèi)繁多的手機(jī)應(yīng)用以及先進(jìn)的硬件 , 使得 手機(jī) 已經(jīng)不完全是用來(lái)通話(huà)的 工具 了,它巧妙的融合了 PDA(Personal Digital Assistant,掌上電腦 )、 數(shù)碼相機(jī) 以及 MP3 等諸多功能,一機(jī)多能且不斷向?qū)I(yè)化邁進(jìn)是現(xiàn)在手機(jī)的發(fā)展方向 [1]。本軟件 利用 Android 系統(tǒng) 的廣 播機(jī)制,當(dāng)手機(jī)用戶(hù)開(kāi)啟防盜追蹤功能后,本程序?qū)⒑笈_(tái)監(jiān)聽(tīng)手機(jī)開(kāi)機(jī)啟動(dòng)、信號(hào)狀態(tài)、短信收發(fā)以及位置的改變, 通過(guò)監(jiān)聽(tīng)手機(jī)用戶(hù) SIM 卡的 IMSI 碼的改變來(lái)判斷手機(jī)安全狀態(tài),監(jiān)聽(tīng)并截獲安全短信內(nèi)容,實(shí)現(xiàn)非法用戶(hù)的手機(jī)號(hào)碼向合法用 戶(hù)預(yù)先設(shè)置的安全號(hào)碼發(fā)送特殊信息的功能,告知用戶(hù)當(dāng)前手機(jī)狀態(tài)和位置信息,并可通過(guò)安全短信控制被盜手機(jī) 鎖屏、銷(xiāo)毀隱私數(shù)據(jù)、發(fā)報(bào)警音等功能。北京工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) 基于 Android 系統(tǒng)的手機(jī)防盜 摘要 近年來(lái),智能手機(jī)的功能日趨強(qiáng)大,移動(dòng)終端應(yīng)用程序?qū)映霾桓F。 基于以上原因,本文設(shè)計(jì)了一款手機(jī)防盜追蹤軟件。s busy work, the lost mobile phone also seems to be a mon thing. And bring the most disturbing is a private data loss and insecurity hidden trouble. Based on the above reasons, this paper introduces the design of a mobile phone antitheft tracking software. This software uses Android system broadcast mechanism, when the mobile phone users to open antitheft tracking function, the program will monitor the background mobile phone boot, signal condition, send and receive text messages and a change of location, through the monitoring mobile phone user SIM card IMSI code changes to determine mobile phone safety state, monitor and intercepts a secure message content, realize the illegal user the mobile phone number to the legitimate user preset safety numbers to send special message to inform the user of mobile phone function, current status and location information, and through SMS security control of stolen mobile phone lock screen, the destruction of privacy data, send alarm sound and other functions. Finally pleted the design of the software testing, all of its functions are perfect, played a real mobile phone antitheft tracking function. Keywords: Android system DroidRing Broadcasting mechanism Listener 北京工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) 目錄 1 緒論 .................................................................. 1 應(yīng)用開(kāi)發(fā)研究背景與意義 ............................................. 1 國(guó)內(nèi)外研究現(xiàn)狀 ..................................................... 2 國(guó)內(nèi)研究狀況 ................................................... 2 國(guó)外研究狀況 ................................................... 2 開(kāi)發(fā)研究?jī)?nèi)容 ....................................................... 3 2 手機(jī)防盜應(yīng)用開(kāi)發(fā)的基礎(chǔ) ................................................ 4 Java 基礎(chǔ) .......................................................... 4 Android 基礎(chǔ) ....................................................... 4 3 手機(jī) 防盜應(yīng)用方案的設(shè)計(jì) ................................................ 5 UI 設(shè)計(jì) ............................................................ 5 UI 窗口層 ....................................................... 6 UI 主層 ......................................................... 8 UI 功能體驗(yàn)層 ................................................... 8 UI 指令查看層 ................................................... 9 UI 信息設(shè)置層 .................................................. 10 Function 設(shè)計(jì) ..................................................... 11 應(yīng)用初始化 .................................................... 11 功能選擇 ...................................................... 11 功能體驗(yàn) ...................................................... 12 功能查看 ...................................................... 12 功能設(shè)置 ...................................................... 12 Service 設(shè)計(jì) ...................................................... 12 數(shù)據(jù)庫(kù)存儲(chǔ)服務(wù) ................................................ 12 監(jiān)聽(tīng)按鈕事件服務(wù) .............................................. 13 開(kāi)機(jī)啟動(dòng)和短信廣播服 務(wù) ........................................ 13 GPS 服務(wù) ....................................................... 14 私人數(shù)據(jù)的管理 ................................................ 14 4 手機(jī)防盜應(yīng)用方案的實(shí)施 ............................................... 15 UI 的實(shí)現(xiàn) ......................................................... 15 Activity ...................................................... 15 ListActivity .................................................. 20 PreferenceActivity ............................................ 24 Dialog ........................................................ 26 由 Sever 支持的 Function 實(shí)現(xiàn) ....................................... 27 廣播機(jī)制服務(wù) .................................................. 27 換卡短信通知 .................................................. 30 定位手機(jī) ...................................................... 31 北京工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) 數(shù)據(jù)銷(xiāo)毀 ...................................................... 32 鎖定手機(jī) ...................................................... 34 發(fā)報(bào)警音 ...................................................... 35 數(shù)據(jù)庫(kù)存儲(chǔ)應(yīng)用 ................................................ 36 5 手機(jī)防盜應(yīng)用測(cè)試 ..................................................... 37 防盜應(yīng)用初始化 .................................................... 37 手機(jī)定位 功能測(cè)試 .................................................. 37 換卡短信通知功能測(cè)試 .............................................. 38 鎖屏功能測(cè)試 ...................................................... 39 銷(xiāo)毀數(shù)據(jù) .......................................................... 40 發(fā)報(bào)警音 .......................................................... 40 6 手機(jī)防盜應(yīng)用說(shuō)明 ..................................................... 41 結(jié)論 ..................................................................... 42 致謝 ..................................................................... 43 參考文獻(xiàn) ................................................................. 44 附錄一 ..................................................................