Skip to Content
Android Developer Tools深入精要
book

Android Developer Tools深入精要

by Mike Wolfson
July 2014
Intermediate to advanced
248 pages
5h 19m
Chinese
GoTop Information, Inc.
Content preview from Android Developer Tools深入精要
42
|
第四章:使用實體裝置與模擬器
[Page-44]
4-4 AVD
初次快照的例子
[Page-45]
接著將你的模擬器操作到你想保留的某個狀態;在這個例子,我們想保留模擬器進到
app
的主要
Activity
時的狀態(如圖
4-5
)。接著關閉這個處理程序,以這例子來說,
也就是點擊左上方的紅色圓圈來關閉視窗。這會需要一些時間(多則一分鐘),因為
程式正在儲存「快照」檔案,使得之後可以很容易地回復至此狀態。
使用模擬器
|
43
4-5 AVD
已儲存的快照狀態
[Page-46]
下次你開啟模擬器時,可以選擇中間的選項「
Launch from snapshot
」(如圖
4-6
)。
選擇該選項,並點擊「
Launch
」按鈕,此時模擬器並不是從頭開啟(這需要數分鐘),
而是從上個步驟中,關閉模擬器時所儲存的狀態開始。因為模擬器不需要整個重新開
機,所以啟動速度會大大地提升(模擬器開啟至快照狀態約需
10
秒鐘左右)。你會看
到你的模擬器開啟到一樣的地方(如圖
4-7
所示)。
44
|
第四章:使用實體裝置與模擬器 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Android 高效能多執行緒

Android 高效能多執行緒

Anders Goransson
深入淺出 jQuery

深入淺出 jQuery

Ryan Benedetti, Ronan Cranley
HTML5 錦囊妙計

HTML5 錦囊妙計

Christopher Schmitt, Kyle Simpson

Publisher Resources

ISBN: 9789863470861