【正文】
l, FTP)是 TCP/IP網(wǎng)絡(luò)上兩臺(tái)計(jì)算機(jī)傳送文件的協(xié)議, FTP 是在 TCP/IP 網(wǎng)絡(luò)和 INTERNET 上最早使用的協(xié)議之一,它屬于 網(wǎng)絡(luò)協(xié)議 組的 應(yīng)用層 。 基于 NFC 的 數(shù)據(jù) 傳輸 : NFC 英文全稱 Near Field Communication,近距離無(wú)線通信。 2. 研究 方向 基于 藍(lán)牙 的 文件傳輸: 藍(lán)牙協(xié)議棧提供了一組的高層協(xié)議和 API 以完成發(fā)現(xiàn)服務(wù)和模擬串行 I/O,還有一個(gè)關(guān)于包分割和重組的低層協(xié)議以及多路技術(shù)協(xié)議和質(zhì)量服務(wù)。采用 了特別優(yōu)化過(guò)的文件 /目錄復(fù)制算法,使得其在大量文件復(fù)制的時(shí)候比其他文件管理類工具速度更快。據(jù)官方網(wǎng)站介紹,豌豆莢手機(jī)精靈可以方便快捷地整理通訊錄, Android手機(jī)、 Outlook 等多平臺(tái)間輕松導(dǎo)入導(dǎo)出通訊錄,管理分組,給聯(lián)系人 添加頭像和各種信息。 完成畢業(yè)論文和畢業(yè)設(shè)計(jì)以及畢業(yè)答辯。 。 目前基于 Android 的智能手機(jī)在全球手機(jī)市場(chǎng)保 持強(qiáng)勁增長(zhǎng),市場(chǎng)占有率的大幅提升也促進(jìn)了 Android 手機(jī)應(yīng)用服務(wù)市場(chǎng)的迅速展。在 Google Play(一個(gè)谷歌針對(duì) android 系統(tǒng)用戶所開(kāi)發(fā)的應(yīng)用商場(chǎng))上已經(jīng)有過(guò)萬(wàn)的企業(yè)應(yīng)用辦公套件。例如手機(jī)定位,導(dǎo)航服務(wù)。 Palm 系統(tǒng)與其他手機(jī)系統(tǒng)相比在其它方面也還存在一些不足,如 Palm 操作系統(tǒng)本身不具有錄音、 MP3 播放功能等,但是可以通過(guò)加入第三方軟件或硬件設(shè)備來(lái)實(shí)現(xiàn)。就像其基于的 Mac OS X 操作系統(tǒng)一樣,它也是以 Darwin 為基礎(chǔ)的。 Android 平臺(tái)的架構(gòu)層次分明, 圖 是 Android 平臺(tái)的架構(gòu) 圖 [9] 圖 Android 平臺(tái)的 架構(gòu) 圖 國(guó)內(nèi)外研究現(xiàn)狀 國(guó)內(nèi)外手機(jī)系統(tǒng)現(xiàn)狀 目前國(guó)外各軟硬件廠商已經(jīng)推出過(guò)多款手機(jī)操作系統(tǒng)。在 Android 中,編譯器將 Java 源文件轉(zhuǎn)為 class 文件,內(nèi)置的 dx工具又將 class 文件轉(zhuǎn)化為 Dex 文件, Dex 文件是在 Dalvik 虛擬機(jī)上運(yùn)行程序的標(biāo)準(zhǔn)格式。 Android 是由谷歌主導(dǎo)開(kāi)發(fā)的,它由 Linxu Kernel、 C/C++編寫(xiě)的類庫(kù)、一個(gè)用以運(yùn)行代碼的類似 Java 的虛擬機(jī)、移動(dòng)終端必需的應(yīng)用程序組成。 用戶每天都會(huì)下載安裝各種新的應(yīng)用到自己的手機(jī)里,抑或是下載各種音頻、視頻、圖片、文字儲(chǔ)存到內(nèi)存卡里以便將來(lái)在能在 任何 地方瀏覽?;? Linux 的內(nèi)核模塊 Android 內(nèi)核基于 Linux , 提供安全、 內(nèi)存管理、進(jìn)程管理、網(wǎng)絡(luò)組、驅(qū)動(dòng)模型等核心服務(wù)。這些庫(kù)包括圖形框架、媒體功能庫(kù)、Webkit、及 SQLite 數(shù)據(jù)庫(kù),等等。 Symbian 是 為手機(jī)而設(shè)計(jì)的操作系統(tǒng),它 是一個(gè)實(shí)時(shí)性,多任務(wù)的純 32 位嵌入式的操作系統(tǒng),具有低能耗,內(nèi)存占用較少等特點(diǎn)。 Windows Mobile 系列操作系統(tǒng) 是從微軟計(jì)算機(jī)的 Windows 操作系統(tǒng)演化而來(lái)的。當(dāng)然近些年來(lái)國(guó)內(nèi)企業(yè)和我國(guó)政府在這方也投入了大量的人力和物力。國(guó)外最大的社交 Fackbook 也已經(jīng)傳出正在進(jìn)行針對(duì)手機(jī)的產(chǎn)品的研發(fā)。 在 Android 尚未站穩(wěn)腳跟的上網(wǎng)本戰(zhàn)場(chǎng)迅 速出擊,既挖掘新的移動(dòng) 互聯(lián)網(wǎng)商機(jī),同時(shí)也打亂對(duì)方策略,是諾基亞利益所在,也是無(wú)奈之舉 [12]。根據(jù)觀察,在不久的將來(lái),移動(dòng) 手機(jī) 終端將會(huì)在以下若干方面具有新的發(fā)展。利用 FTP 協(xié)議數(shù)據(jù)連接的工作方式以及基本命令完成手機(jī) 與計(jì)算機(jī)直接的文件傳輸功能。內(nèi)置與每一臺(tái)基于 Android 系統(tǒng)的手機(jī)中, Google Play 同時(shí)提供 Web 端,將 Web端和手機(jī)端通過(guò)谷歌賬號(hào)綁定。搜索下載網(wǎng)絡(luò)音樂(lè)到手機(jī)中,音樂(lè)時(shí)自動(dòng)添加歌詞、專輯封面,給手機(jī)設(shè)定多樣化鈴聲。可以幫助播放器直接播放電腦共享的資源 。搜索到遠(yuǎn)程設(shè)備后,還需要進(jìn)行服務(wù)搜索去發(fā)現(xiàn)對(duì)方提供了哪些服務(wù)。 NFC 由非接觸式射頻識(shí)別 (RFID)及互聯(lián)互通技術(shù)整合演變而來(lái) ,在單一芯片上結(jié)合感應(yīng)式讀卡器、感應(yīng)式卡片和點(diǎn)對(duì)點(diǎn)的功能,能在短距離內(nèi)與兼容設(shè)備進(jìn)行識(shí)別和數(shù)據(jù)交換。 3. 進(jìn)展情況 隨著智能機(jī)應(yīng)用范圍的的不斷擴(kuò)大,以 Android 系統(tǒng)為代表的智能機(jī)逐步成為用戶工作、生活、娛樂(lè)、網(wǎng)絡(luò)不可或缺的工具。 國(guó)內(nèi)安卓手機(jī)內(nèi)容獲取和管理平臺(tái)豌豆莢,繼其 PC 端“零流量”功能的基礎(chǔ)上,又全面升級(jí) Android 端 “零流量”功能,并作出鄭重承諾:用戶如果在手機(jī)上開(kāi)啟豌豆莢“零流量模式”后,產(chǎn)生任何流量資費(fèi)損失,豌豆莢將全額賠付。 Android手機(jī)與計(jì)算機(jī)建立連接之后 ,計(jì)算機(jī)能以 root 身份登錄 Android 手機(jī) ,會(huì)給手機(jī)的應(yīng)用程序和用戶數(shù)據(jù)造成安全隱患 [14]。 圖中的每一層都使用下面各層所提供的服務(wù)。但是作為開(kāi)發(fā)人員,你需要知道 Linux 在 Android 中的用途。界面管理器。參見(jiàn)第 4 章和第 10 章。使用該引擎可在應(yīng)用程序中持續(xù)儲(chǔ)存。 Dalvik 虛擬機(jī)是 Google 的 Java 實(shí)現(xiàn),專門(mén)針對(duì)移動(dòng)設(shè)備進(jìn)行了優(yōu)化。但是,他們之間有很大部分還是相同的。該管理器控制應(yīng)用程序的生命周期(參見(jiàn) 節(jié)),同時(shí)維護(hù)一個(gè)公告的“后退棧”供用戶導(dǎo)航 。參見(jiàn) 節(jié)。 應(yīng)用程序 Android 架構(gòu)圖中的最高層是應(yīng)用程序?qū)印?Web 瀏覽器; Android 不是這樣管理窗口的。用戶可隨時(shí)按 Back 按鈕返回到棧中的上一個(gè)窗口。首次啟動(dòng)活動(dòng)時(shí)會(huì)調(diào)用該方法。用戶 可以開(kāi)始與活動(dòng)進(jìn)行交互時(shí)會(huì)調(diào)用該方法。 onStop()。銷(xiāo)毀活動(dòng)前會(huì)調(diào)用該方法。使用 onSaveInstanceState()方法以前保存的狀態(tài)重新初始化某個(gè)活動(dòng)時(shí)會(huì)調(diào)用該方法。其中最為重要的就是活動(dòng)、意圖、服務(wù)和內(nèi)容提供者。 例如,現(xiàn)在有一個(gè)“發(fā)送一封電子郵件”的意圖。之后,另一個(gè)活動(dòng)可能會(huì)綁定到該服務(wù)上,告訴該服務(wù)切換音軌或停止播放。 I’m about to throw you a curve ball. In Android, an application can be “alive” even if its process has been killed. Put another way, the activity life cycle is not tied to the process life cycle. Processes are just disposable containers for activities. This is probably different from every other system you’re familiar with, so let’s take a closer look before moving on. Life Cycles of the Rich and Famous During its lifetime, each activity of an Android program can be in one of several states, as shown in Figure , on the next page. You, the developer, do not have control over what state your program is in. That’s all managed by the system. However, you do get notified when the state is about to change through the onXX() method calls. You override these methods in your Activity class, and Android will call them at the appropriate time: ? onCreate(Bundle): This is called when the activity first starts can use it to perform onetime initialization such as creatingthe user interface. onCreate( ) takes one parameter that is either null or some state information previously saved by the onSaveInstanceState( ) method. ? onStart( ): This indicates the activity is about to be displayed to the user. ? onResume( ): This is called when your activity can start interacting with the user. This is a good place to start animations and music. ? onPause( ): This runs when the activity is about to go into the background, usually because another activity has been launched in front of it. This is where you should save your program’s persistent state, such as a database record being edited. ? onStop( ): This is called when your activity is no longer visible to the user and it won’t be needed for a while. If memory is tight, onStop( ) may never be called (the system may simply terminate your process). ? onRestart( ): If this method is called, it indicates your activity is being redisplayed to the user from a stopped state. ? onDestroy( ): This is called right before your activity is destroyed. If memory is tight, onDestroy( ) may never be called (the system may simply terminate your process). ? onSaveInstanceState(Bundle): Android will call this method to allow the activity to save perinstance state, such as a cursor position within a text field. Usually you won’t need to override it because the default implementation saves the state for all your user interface 浙江大學(xué)城市學(xué)院畢業(yè)論文 外文翻譯 27 controls automatically. ? onRestoreInstanceState(Bundle): This is called when the activity is being reinitialized from a state previously saved by the onSave InstanceState( ) method. The default implementation restores the state of your user interface. Activities that are not running in the foreground may be stopped, or the Linux process that houses them may be killed at any time in order to make room for new activities. This will be a mon occurrence, so it’s important that your application be designed from the beginning with this in mind. In some cases, the onPause( ) method may be the last method called in your activity, so that’s where you should save any data you want to keep around for next time. In addition to managing your program’s life cycle, the Android framework provides a number of building blocks that you use to create your