Introducing Android Instant Apps - Google I-O 2016 翻译字幕

黎震博
2023-12-01

上周几乎没怎么学习,一直在忙字幕组的考核,干脆就把我翻译的字幕贴出来吧——这可真是最新的Android技术了。
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 应用能够运行起来
instantly without installation.

5
00:00:10,350 –> 00:00:12,402
我叫 Suresh 是 Google 的一名产品经理
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
像你一样的开发者已经构建好了很棒的 Android 应用
Developers like you have built amazing Android apps.

9
00:00:21,440 –> 00:00:24,920
Android 应用以平滑动画或者其他形式
Android apps unleash the full power of Android devices,

10
00:00:24,920 –> 00:00:27,800
将相机或 GPS 无缝结合起来
seamlessly combining the camera, the GPS,

11
00:00:27,800 –> 00:00:30,080
由此激发了 Android 设备的全部潜能
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
用户更快的接入你的应用
into your apps more quickly.

14
00:00:34,150 –> 00:00:37,220
通常你仅仅需要点击链接就可以直接登入到一个网页上
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
但是如果我没有预先安装应用
But if I don’t have the app installed,

17
00:00:41,850 –> 00:00:43,710
却想在应用中达到同样的效果
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
我们想要在应用中帮你给更多用户
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 中 我们尝试完全去除掉安装应用时所带来的槽糕用户体验
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
譬如说我的朋友发给我一个 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
当我点击链接后 却能直接跳到
When I tap the link, I am taken directly

27
00:01:09,190 –> 00:01:12,160
应用中的“美食”频道
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
这是一个很酷的应用 不是吗
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
应用能够快速启动是因为它被模块化了
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
只需要在这里轻轻一点(下载整个应用)就可以了
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 (相机网上商城)有一个非常美观的 Android 应用
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
轻轻一点 应用打开
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
从技术上来说 只有通过深层链接到的
Well, technically, it’s deep linked right to the Android

46
00:02:01,720 –> 00:02:04,740
对应产品展示页面的那部分代码
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
现在我把它放到购物车里
but I’m going to go ahead and add it to my cart.

50
00:02:12,860 –> 00:02:17,180
结账时 Android Pay 会正常运行 仿佛我已经安装过这个应用
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 如何在现实生活中
Finally, let’s take a look at an example of how Instant Apps can

54
00:02:27,520 –> 00:02:29,910
应用的例子
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
就会立刻跳出停车应用的界面
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
对用户来说 从运行应用
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
现在我们来聊聊如何构建 Android Instant Apps
Now let’s talk about how to build Android Instant Apps.

65
00:02:58,140 –> 00:03:01,360
好消息是现有的应用
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 并非是一个独立的新应用
This is not a new separate app.

68
00:03:06,150 –> 00:03:09,680
你可以继续使用相同的 Android API 源码
You continue using the same Android APIs, the same source

69
00:03:09,680 –> 00:03:13,060
和现有的 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
具体取决于你的应用是如何架构的
to get set up, depending on how your app is built.

72
00:03:17,440 –> 00:03:21,320
你可以通过模块化你的应用使得它能够接入 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
最重要的是 作为开发者的你
Most importantly, you, as the developer,

77
00:03:31,430 –> 00:03:35,460
可以完全掌握应用的用户体验
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
这使得你的应用可以让超过十亿的用户
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
将它交到像你一样的开发者手中
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
我们现在正在和一小部分开发者共同努力
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
如果你有兴趣升级你的应用接入 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]

 类似资料: