Introducing Android Instant Apps - Google I-O 2016 翻译字幕
上周幾乎沒怎么學(xué)習(xí),一直在忙字幕組的考核,干脆就把我翻譯的字幕貼出來吧——這可真是最新的Android技術(shù)了。
YouTube視頻鏈接:https://www.youtube.com/watch?v=cosqlfqrpFA
字幕翻譯:
1
00:00:00,500 –> 00:00:03,050
我們在今年的谷歌 I/O 大會上展示了
We showed you a sneak peek of Android Instant
2
00:00:03,050 –> 00:00:04,920
Android Instant Apps
Apps at Google I/O this year.
3
00:00:04,920 –> 00:00:08,000
我們正致力于在不需要安裝的情況下
We’re working to evolve Android apps to be able to run
4
00:00:08,000 –> 00:00:10,350
讓 Android 應(yīng)用能夠運行起來
instantly without installation.
5
00:00:10,350 –> 00:00:12,402
我叫 Suresh 是 Google 的一名產(chǎn)品經(jīng)理
I’m Suresh, a Product Manager at Google,
6
00:00:12,402 –> 00:00:13,860
我想告訴你為什么
and I want to tell you why we’re so
7
00:00:13,860 –> 00:00:18,140
我們對于 Android Instant Apps 的誕生如此激動 同時展示一下它是如何使用的
excited about Android Instant Apps and show you how it works.
8
00:00:18,140 –> 00:00:21,440
像你一樣的開發(fā)者已經(jīng)構(gòu)建好了很棒的 Android 應(yīng)用
Developers like you have built amazing Android apps.
9
00:00:21,440 –> 00:00:24,920
Android 應(yīng)用以平滑動畫或者其他形式
Android apps unleash the full power of Android devices,
10
00:00:24,920 –> 00:00:27,800
將相機或 GPS 無縫結(jié)合起來
seamlessly combining the camera, the GPS,
11
00:00:27,800 –> 00:00:30,080
由此激發(fā)了 Android 設(shè)備的全部潛能
with smooth animations and more.
12
00:00:30,080 –> 00:00:32,250
但是你告訴我們你希望能夠讓
But you tell us you wish you could bring users
13
00:00:32,250 –> 00:00:34,150
用戶更快的接入你的應(yīng)用
into your apps more quickly.
14
00:00:34,150 –> 00:00:37,220
通常你僅僅需要點擊鏈接就可以直接登入到一個網(wǎng)頁上
With the web, you can tap a link and land on a web page.
15
00:00:37,220 –> 00:00:39,890
這僅僅需要一次點擊外加幾秒鐘
It takes one tap and just a few seconds.
16
00:00:39,890 –> 00:00:41,850
但是如果我沒有預(yù)先安裝應(yīng)用
But if I don’t have the app installed,
17
00:00:41,850 –> 00:00:43,710
卻想在應(yīng)用中達到同樣的效果
getting to the same place in the app
18
00:00:43,710 –> 00:00:46,690
則需要很多次的點擊外加幾分鐘
can take many taps and a few minutes.
19
00:00:46,690 –> 00:00:50,200
我們想要在應(yīng)用中幫你給更多用戶
We want to help you deliver the rich and immersive experiences
20
00:00:50,200 –> 00:00:52,760
提供豐富與沉浸式的體驗
in your Android apps to more users.
21
00:00:52,760 –> 00:00:57,400
所以在 Instant Apps 中 我們嘗試完全去除掉安裝應(yīng)用時所帶來的槽糕用戶體驗
So at Instant Apps, we try to get rid of install friction completely.
22
00:00:57,400 –> 00:00:59,240
讓我給你展示一下它是如何做到的
Let me show you what this looks like.
23
00:00:59,240 –> 00:01:02,510
譬如說我的朋友發(fā)給我一個 Buzzfeed Video 上
Let’s say my friend [? Fika’s ?] sent me a link to tasty recipes
24
00:01:02,510 –> 00:01:04,019
食譜的鏈接
on Buzzfeed Video.
25
00:01:04,019 –> 00:01:06,700
但是我的手機上沒有安裝 Buzzfeed Video
I don’t have the Buzzfeed Video app on my phone.
26
00:01:06,700 –> 00:01:09,190
當(dāng)我點擊鏈接后 卻能直接跳到
When I tap the link, I am taken directly
27
00:01:09,190 –> 00:01:12,160
應(yīng)用中的“美食”頻道
to the Tasty Channel in the Android app.
28
00:01:12,160 –> 00:01:14,910
我可以看到許多制作不同食譜的視頻
I see a stream of videos showing how to make different recipes.
29
00:01:14,910 –> 00:01:17,460
而且視頻還是自動播放的
This video even starts playing automatically.
30
00:01:17,460 –> 00:01:19,420
這是一個很酷的應(yīng)用 不是嗎
It’s an awesome Android app, isn’t it?
31
00:01:19,420 –> 00:01:21,760
我甚至自始至終都沒有安裝過它
And I didn’t even have to install it.
32
00:01:21,760 –> 00:01:26,020
應(yīng)用能夠快速啟動是因為它被模塊化了
The app opened up so quickly because it’s been split into modules.
33
00:01:26,020 –> 00:01:28,960
只有必須要展示在屏幕上的那部分代碼
Only the code necessary to display these screens
34
00:01:28,960 –> 00:01:31,790
才會被下載下來并且立刻運行
was downloaded and run on the fly.
35
00:01:31,790 –> 00:01:34,190
如果我想把 Buzzfeed Video 添加到我的主屏幕上
If I want to add Buzzfeed Video to my home screen,
36
00:01:34,190 –> 00:01:37,650
只需要在這里輕輕一點(下載整個應(yīng)用)就可以了
it’s simple to install the full app right here.
37
00:01:37,650 –> 00:01:39,670
讓我們再看另一個例子
Let’s take a look at another example.
38
00:01:39,670 –> 00:01:42,780
B&H Photo and Video (相機網(wǎng)上商城)有一個非常美觀的 Android 應(yīng)用
B&H Photo and Video has a beautiful Android app,
39
00:01:42,780 –> 00:01:45,020
但是我沒有必要把它裝在我的手機上
but I don’t necessarily have it on my phone
40
00:01:45,020 –> 00:01:47,180
因為我不可能天天買相機
because I don’t shop for cameras every day.
41
00:01:47,180 –> 00:01:49,950
有了 Instant Apps 這再也不是問題了
With Instant Apps, this is not a problem.
42
00:01:49,950 –> 00:01:54,110
比如說我用 Google 搜索某一款相機并且看到了 B&H 上一個不錯的報價
Let’s say I search for a camera and see an offer from B&H that I like.
43
00:01:54,110 –> 00:01:57,350
輕輕一點 應(yīng)用打開
With one tap, the app opens up, deep linked right
44
00:01:57,350 –> 00:01:59,060
會直接鏈接到我想要的相機頁面
to the camera I want to buy.
45
00:01:59,060 –> 00:02:01,720
從技術(shù)上來說 只有通過深層鏈接到的
Well, technically, it’s deep linked right to the Android
46
00:02:01,720 –> 00:02:04,740
對應(yīng)產(chǎn)品展示頁面的那部分代碼
activity that B&H wrote that displays this product,
47
00:02:04,740 –> 00:02:08,340
是需要 Google Play 下載的
and that’s all the code that Google Play needed to download.
48
00:02:08,340 –> 00:02:10,419
我可以向右滑動看到更多的相機介紹
I can swipe right to read more about the camera,
49
00:02:10,419 –> 00:02:12,860
現(xiàn)在我把它放到購物車里
but I’m going to go ahead and add it to my cart.
50
00:02:12,860 –> 00:02:17,180
結(jié)賬時 Android Pay 會正常運行 仿佛我已經(jīng)安裝過這個應(yīng)用
At checkout, Android Pay works just like if I had the app installed.
51
00:02:17,180 –> 00:02:21,380
有了 Android Instant Apps 我可以自動登陸并直接付款
With Android Instant Apps, I’m already signed in and ready to pay.
52
00:02:21,380 –> 00:02:24,040
這只需要兩次點擊 而不是兩分鐘
It takes two taps, not two minutes.
53
00:02:24,040 –> 00:02:27,520
最后 讓我們再來看一個 Instant Apps 如何在現(xiàn)實生活中
Finally, let’s take a look at an example of how Instant Apps can
54
00:02:27,520 –> 00:02:29,910
應(yīng)用的例子
be useful in the real world.
55
00:02:29,910 –> 00:02:32,470
我走向停車計時器 需要付款
I walk up to a parking meter, and I need to pay.
56
00:02:32,470 –> 00:02:34,690
我手機上并沒有停車軟件
I don’t have the parking app on my phone.
57
00:02:34,690 –> 00:02:38,590
但通過 NFC 功能 只要我把手機貼近計時器
But what if I could tap my phone on the meter, and with NFC,
58
00:02:38,590 –> 00:02:40,980
就會立刻跳出停車應(yīng)用的界面
it brings up the parking app immediately.
59
00:02:40,980 –> 00:02:42,960
我只需要選擇停車時長
I choose how long I want to park and pay
60
00:02:42,960 –> 00:02:46,250
然后用 Android Pay 付款就可以了 簡單方便
with Android Pay– simple and easy.
61
00:02:46,250 –> 00:02:48,950
看 這就是 Android Instant Apps (的特性)
So there you go– Android Instant Apps.
62
00:02:48,950 –> 00:02:51,100
對用戶來說 從運行應(yīng)用
As a user, it is totally seamless,
63
00:02:51,100 –> 00:02:55,300
到登陸 到付款 都是極為方便的
from launching the app, to signing in, to making payments.
64
00:02:55,300 –> 00:02:58,140
現(xiàn)在我們來聊聊如何構(gòu)建 Android Instant Apps
Now let’s talk about how to build Android Instant Apps.
65
00:02:58,140 –> 00:03:01,360
好消息是現(xiàn)有的應(yīng)用
The great news is that you can enable this functionality
66
00:03:01,360 –> 00:03:04,230
在升級后就可以支持此功能
by upgrading your existing Android app.
67
00:03:04,230 –> 00:03:06,150
Instant Apps 并非是一個獨立的新應(yīng)用
This is not a new separate app.
68
00:03:06,150 –> 00:03:09,680
你可以繼續(xù)使用相同的 Android API 源碼
You continue using the same Android APIs, the same source
69
00:03:09,680 –> 00:03:13,060
和現(xiàn)有的 Android Studio 項目
code, and your existing Android Studio project.
70
00:03:13,060 –> 00:03:14,520
你只需要不到一天的時間
It can take less than a day of work
71
00:03:14,520 –> 00:03:17,440
具體取決于你的應(yīng)用是如何架構(gòu)的
to get set up, depending on how your app is built.
72
00:03:17,440 –> 00:03:21,320
你可以通過模塊化你的應(yīng)用使得它能夠接入 Instant Apps
You enable your app to run instantly by modularizing it.
73
00:03:21,320 –> 00:03:23,970
這樣 Google Play 就可以只下載必要的部分
This allows Google Play to download only the parts that
74
00:03:23,970 –> 00:03:27,230
從而使用戶體驗更加的
are needed, on the fly, to make the user experience feel
75
00:03:27,230 –> 00:03:29,050
快速與便捷
fast and snappy.
76
00:03:29,050 –> 00:03:31,430
最重要的是 作為開發(fā)者的你
Most importantly, you, as the developer,
77
00:03:31,430 –> 00:03:35,460
可以完全掌握應(yīng)用的用戶體驗
are in full control of your app’s user experience.
78
00:03:35,460 –> 00:03:38,440
Instant Apps 能適配到的 Android 版本最老為 Jelly Bean
Instant Apps is compatible with Android versions going
79
00:03:38,440 –> 00:03:42,530
這使得你的應(yīng)用可以讓超過十億的用戶
all the way back to Jelly Bean, making your app a tap away
80
00:03:42,530 –> 00:03:45,040
僅在輕輕一觸之間便可使用
for over a billion users.
81
00:03:45,040 –> 00:03:47,010
我們非常激動于 Instant Apps 所帶來的無限可能
We’re excited about the opportunities
82
00:03:47,010 –> 00:03:48,670
并愿意
this will open up and want to get
83
00:03:48,670 –> 00:03:51,180
將它交到像你一樣的開發(fā)者手中
this in the hands of developers like you.
84
00:03:51,180 –> 00:03:54,680
但這畢竟是一個巨大的改變 我們想確保它走在正確的道路上
But this is a big change, and we want to get it right.
85
00:03:54,680 –> 00:03:57,270
我們現(xiàn)在正在和一小部分開發(fā)者共同努力
So we’re working with a small set of developers now,
86
00:03:57,270 –> 00:03:59,910
之后將會逐步推廣
and we’ll be gradually expanding access.
87
00:03:59,910 –> 00:04:04,010
我們將于明年推出 Instant Apps 使其與用戶見面
We’ll be rolling out Instant Apps to users over the next year.
88
00:04:04,010 –> 00:04:06,680
如果你有興趣升級你的應(yīng)用接入 Instant Apps
If you are interested in upgrading your app to run
89
00:04:06,680 –> 00:04:11,460
可以訪問 g.co/InstantApps 了解更多
instantly, go to g.co/InstantApps to learn more.
90
00:04:11,460 –> 00:04:15,110
[MUSIC PLAYING]
總結(jié)
以上是生活随笔為你收集整理的Introducing Android Instant Apps - Google I-O 2016 翻译字幕的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python 归一化使用
- 下一篇: 《嵌入式系统设计师》笔记之一——嵌入式系