forked from hakimel/reveal.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
254 lines (230 loc) · 9.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Firefox OS - Movilidad, ubicuidad y Firefox OS</title>
<meta name="description" content="Firefox OS - Movilidad, ubicuidad y Firefox OS">
<meta name="author" content="Pablo Bernardo">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/firefoxos.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h1>Firefox OS - Movilidad, ubicuidad y Firefox OS</h1>
<p>
07-10-2015 @ <a href="http://ancovoligo.com" target="blank">GNU Social Camp</a>
</p>
</section>
<section>
<h2>console.info(voylinux)</h2>
<img src="img/me_voylinux.jpeg" width="25%" class="avatar left" />
<ul class="left no-list">
<li>Pablo Bernardo - Desarrollador frontend en <a href="http://habitissimo.com" class="logo-link" target="_blank"><img src="img/habitissimo.png" alt=""></a></li>
<li><i>Open Web Evangelist & speaker</i></li>
<li>GNU Social <a href="http://lamatriz.org/voylinux" target="blank">@voylinux</a></li>
<li>Bloguero @ <a href="http://voylinux.com" target="blank">voylinux.com</a></li>
<li>Github @ <a href="https://github.com/voylinux" target="blank">@voylinux</a></li>
</ul>
</section>
<section data-background="img/where_firefoxos.png">
<h2>¿Dónde existe Firefox OS?</h2>
<p>Una realidad en más de 25 países</p>
<p><a href="http://nickdesaulniers.github.io/where-is-firefox-os/" target="blank">World map</a></p>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg" >
<h2>La necesidad de Firefox OS</h2>
<p>
<img src="img/nokia.jpg" width="30%" class="left" />
<ul>
<li class="fragment">Foco en nuevos mercados</li>
<li class="fragment">Hardware asequible</li>
<li class="fragment">Sin cuentas de terceros</li>
<li class="fragment">Sólo web. Sin lenguajes propietarios</li>
</ul>
</p>
</section>
<section>
<h2>Firefox OS capas del sistema</h2>
<p>
<img alt="firefox os layers" style="" src="img/ffos_layers.jpg" width="80%" class=""/>
</p>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg" >
<h2>Requisitos técnicos</h2>
<ul>
<li class="fragment">Navegador Firefox</li>
<li class="fragment">Editor de texto</li>
<li class="fragment">HTML, CSS y mucho JS</li>
</ul>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg" >
<h1>Empecemos</h1>
<p class="fragment">Archivo manifest</p>
</section>
<section>
<h2>Manifest: Define la app y los permisos</h2>
<pre>
<code data-trim contenteditable>
{
"version": "1",
"name": "GNU Social Camp - Firefox OS Boilerplate App",
"launch_path": "/index.html",
"description": "Boilerplate Firefox OS app with some examples",
"icons": {
"120": "/images/logo120.png",
"128": "/images/logo128.png"
},
"default_locale": "en",
"permissions": {
"desktop-notification": {
"description": "To show notifications"
},
"geolocation": {
"description": "Marking out user location"
},
"alarms": {
"description": "Scheduling alarms"
}
},
"locales": {
"en": {
"name": "Firefox OS Boilerplate App",
"description": "Boilerplate Firefox OS app with example use cases to get started"
},
"en-US": {
"name": "Firefox OS Boilerplate App",
"description": "Boilerplate Firefox OS app with example use cases to get started"
},
"es": {
"name": "App base para Firefox OS",
"description": "App base para Firefox OS con ejemplos de usos para empezar"
}
}
}
</code>
</pre>
</section>
<section>
<h2>Sistema de permisos y niveles de confianza</h2>
<ul class="no-list">
<li class="fragment"><b>Untrusted apps</b> Sólo las web APIs que no suponen riesgo para la seguridad o privacidad.</li>
<li class="fragment"><b>Privileged</b> tiene acceso a más APIs pero pasan proceso de revisión.</li>
<li class="fragment"><b>Certified apps</b> tienen permiso de acceso todas las APIs.</li>
</ul>
<p><a href="https://developer.mozilla.org/en-US/Firefox_OS/Security/Security_model" target="blank">mdn docs</a></p>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h2>Instalable en Firefox Android</h2>
<img alt="" src="img/fox-android.png"/>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h2>Web APIs propuesta de estándar</h2>
<ul>
<li>battery</li>
<li>camera</li>
<li>vibration</li>
<li>contacts...</li>
</ul>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h2>Tomar una imágen</h2>
<pre>
<code data-trim contenteditable>
var pickImage = document.querySelector("#pick-image");
if (pickImage) {
pickImage.onclick = function () {
var pick = new MozActivity({
name: "pick",
data: {
type: ["image/png", "image/jpg", "image/jpeg"],
// In FxOS 1.3 and before the user is allowed to crop the
// image by default, but this can cause out-of-memory issues
// so we explicitly disable it.
nocrop: true // don't allow the user to crop the image
}
});
pick.onsuccess = function () {
var img = document.createElement("img");
img.src = window.URL.createObjectURL(this.result.blob);
var imagePresenter = document.querySelector("#image-presenter");
imagePresenter.appendChild(img);
imagePresenter.style.display = "block";
};
pick.onerror = function () {
console.log("Can't view the image");
};
};
}
</code>
</pre>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h2>Links con referencias</h2>
<ul class="no-list">
<li><a href="https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Flame" target="blank">Flame : terminal de referencia</a></li>
<li><a href="https://marketplace.firefox.com/developers/" target="blank">Firefox OS developer center</a></li>
<li><a href="https://hacks.mozilla.org/category/firefox-os/" target="blank">Hacks Mozilla</a></li>
</ul>
</section>
<section data-background="img/firefoxos.png" data-state="ffos-bg">
<h2>¿Dudas?</h2>
<p>
Estoy aquí para ayudar
</p>
</section>
<section>
<h2>Gracias</h2>
<img alt="" class="left" width="40%" src="img/abrazo.jpg"/>
<ul class="no-list">
<li><a href="http://lasindias.club" class="logo-link" target="blank"><img src="img/club-de-las-indias.png" alt="Club de las indias"></a></li>
<li><a href="http://habitissimo.com" class="logo-link" target="blank"><img src="img/habitissimo.png" alt="habitissimo"></a></li>
</ul>
<footer style="display: block;clear: both;">
<p>Slides: <small><a href="http://voylinux.github.io/firefoxOS_Somero2015/" target="blank">http://voylinux.github.io/firefoxOS_Somero2015/</a></small></p>
</footer>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>