【正文】
我也必將以車老師為楷模,終生不忘這位良師益友!再次謝謝車老師!此外,我還要感謝那些提供給我參考文獻的作者們,沒有你們大師們的知識傳播,也不會使得我更快的完成自己的成果,是你們給予我優(yōu)秀的靈感,是你們的努力,才讓我們走的更遠。本設計是基于 Android 的手機安全管理軟件,基本上滿足用戶對軟件管理的需求和對手機安全保護的性能,如安裝的軟件管理、運行的進程、流量的統(tǒng)計與管理、軟件鎖、手機查殺病毒等等。(3) 在代碼中開啟超級管理員模式在 AdminReceiver 類中,使用 DevicePolicyManager 管理者,開啟一個超級管理員,并且對該程序進行授權 [12]。(1)進入需要鎖定軟件開啟身份驗證手機端 Widget 的使用,點擊圓圈可殺死不需要的進程,點擊英文字母可進入該程序自動生成的桌面快捷方式26圖414 手機程序鎖模塊設計(2)后臺主要功能代碼首先需要定義WatchDogService和ApplockDao 類對象,以便調用。(1)前臺頁面設計圖411 手機流量統(tǒng)計設計(2)后臺主要代碼設計24開啟流量統(tǒng)計功能,實時查詢,手機自帶的內部存儲流量的文件,進行讀取數(shù)據(jù),并且本地保存,形成我們所看到的流量統(tǒng)計視圖。(1)前臺頁面設計21圖48 手機軟件管理設計(2)后臺主要代碼設計在Page_Load 事件中,調用自定義方法GetGoodsInfo將指定的詳細信息顯示出來,即首先從數(shù)據(jù)庫獲取指定的信息,然后逐步對TextBox賦值進行前臺頁面顯示。(2) 主要功能代碼設計在包 safe 下,建立 LostFindActivity 類進行管理,手機防盜系統(tǒng),在用戶的設置向導里面,使用四個 Activity 進行切換展示,并且這四個 Activity 都繼承了BaseSetupActivity,做了公共功能方法的抽取處理,統(tǒng)一管理這四個設置向導,在每次動畫切換時,進行上一步的驗證,保證用戶在設置時,以此進行了安全設置,這樣才可以開啟,最高級別的防盜系統(tǒng)。圖43 防盜模塊進入前的注冊與登錄設計首次進入防盜模塊前,進行密碼注冊。 歡迎界面設計(1)前臺頁面設計圖41 歡迎界面的設計(2)后臺主要功能代碼設計首先于后臺生成CommomClass 類,方便管理項目中用到的公共方法。本設計所使用的文件夾及功能如下表 31 所示。據(jù)信息部的統(tǒng)計數(shù)據(jù)顯示,通訊行業(yè)的發(fā)展導致我國的手機用戶也在增加迅速,已接近 億。 AndroidSDK 開發(fā)工具 AndroidSDK 是基于 window 系統(tǒng)下使用的開發(fā)工具,可以開發(fā)跨平臺的應用,同時也可以進行代碼測試功能。隨著云計算和移動互聯(lián)網的成長,Java 愈來愈顯示出了自身的優(yōu)勢和廣闊應用前景。42 相關技術簡介及需求分析 設計技術Android 手機客戶端的研發(fā)一般使用谷歌提供的 AndroidSDK 開發(fā)工具包,由于安卓系統(tǒng)底層為 Linux kernel 開源系統(tǒng)框架,所以我們可以使用 JAVA 語言進行開發(fā),而 JAVA 語言是國際上最成熟且通用的,功能豐富而強大,具有很大的實用性和靈活性,開發(fā)周期短并且兼容性也特別高 [2]。? 手機在防盜方面的定位和遠程操控命令 傳統(tǒng)手機在防盜方面,在非法更換 SIM 卡后,無法獲取到當前手機的 GPS定位信息,無法保護手機隱私安全,無法對用戶的重要通訊錄、日程、短信等進行備份。如上所述,最容易造成直接經濟損失來自偷偷控制手機用戶,然后進行強制消費,導致手機用戶的短信費用和通信費用急劇上升。關鍵詞:手機安全;Android;后臺管理Design and Implementation of Mobile Phone Safety Management Software based on AndroidAbstract:The era of mobile Inter, mobile phone has bee the necessities of life. At the same time in the use of mobile phone software, software security is being more and more important. Effective security management can protect the user’s data.This paper mainly introduces the design and implementation of mobile phone safety management software based on Android. The article is divided into three parts, consists of basic technology, overall design and implementation and test. First,the paper introduces the significance and Prospect of mobile phone security software and analysis the main problems existing in the current security management software. Then elaborate the design and implementation of the foreground function module and the background service module, such as mobile phone antitheft module, SMS and telephone interception management module, mobile phone software management and monitoring module,killing the virus module, toolbox function module, Flow management and statistics module, desktop widget function module. Finally, the whole system test has been carried on. After testing, the software to meet the functional needs of general security management software, can be normal operation. Keywords: Mobile phone safety;Android; Background management目錄1 前言 ......................................................................1 課題前景與意義 ........................................................1 存在問題 ..............................................................2 課題的主要工作 ........................................................22 相關技術簡介及需求分析 ....................................................3 設計技術 ..............................................................3 Linux 命令集 ......................................................3 JAVA 開發(fā)語言 .....................................................3 SQLite..............