about_apps.html revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
1<meta name="doc-family" content="apps">
2<h1>What Are Packaged Apps?</h1>
3
4
5<p>
6Packaged apps deliver an experience as capable as a native app,
7but as safe as a web page.
8Just like web apps,
9packaged apps are written in HTML5, JavaScript, and CSS.
10But packaged apps look and behave like native apps,
11and they have native-like capabilities
12that are much more powerful than those available to web apps.
13</p>
14
15<p>
16<iframe title="YouTube video player" width="610" height="380" src="http://www.youtube.com/embed/lBUGTVIJVfM" frameborder="0" allowfullscreen></iframe>
17</p>
18
19<p>
20Packaged apps have access to Chrome APIs and services not available to
21traditional web sites. You can build powerful apps that interact with network
22and hardware devices, media tools, and much more. Here's a short list of
23examples:
24</p>
25
26<ul>
27	<li>Shells (VMWare, Citrix, SSH, RDP or VNC clients)</li>
28	<li>Music/video streaming</li>
29	<li>Photo/video/music editing</li>
30</ul>
31
32<p>
33Watch the <a href="http://www.youtube.com/watch?v=j8oFAr1YR-0">Chrome Apps
34Google I/O presentation</a> for an in-depth introduction.
35</p>
36
37<h2 id="look">How they look</h2>
38
39<p>
40When a user opens a packaged app,
41their focus is specifically on the tasks
42relating to the app.
43Packaged apps have no traditional chrome:
44the omnibox (address bar), tab strip,
45and other browser interface elements no longer appear.
46Like native apps, they don’t live within the browser.
47When launched, packaged apps can open in windows
48that look like this (and you can style
49your windows in all different ways):
50</p>
51<br>
52
53<img src="{{static}}/images/editor.png"
54     width="770"
55     height="586"
56     alt="Text editor packaged app in a standalone window">
57
58<h2 id="behave">How they behave</h2>
59
60<p>
61Packaged app pages always load locally.
62This allows apps to be less dependent on the network.
63Once a user installs an app, they have full control over the app's lifecycle.
64Apps open and close quickly,
65and the system can shut apps down at any time to improve performance.
66Users can fully uninstall apps.
67</p>
68
69<p>
70Without any effort on your part, your apps will launch offline.
71But you will need to put some effort into making sure user data is stored locally while offline
72and then synced back up to your data server once online
73(see <a href="offline_apps.html">Offline First</a>).
74</p>
75
76<h2 id="develop">How to develop them</h2>
77
78<p>
79Packaged apps are modified web apps.
80You use the same code, frameworks, and tools of the web platform to write your apps.
81Some browser features have been removed, other web APIs have been disabled
82or changed to improve security and programming practices.
83</p>
84
85<p>
86New features have been added to help you build more native-like apps.
87The app container and programming models control how packaged apps look and behave.
88These models aim to provide users with a more native experience.
89Powerful APIs have been added so your apps can have native-like capabilities,
90and a serious security model is enforced to make sure these APIs are not abused.</p>
91
92<p>
93To learn more about how to develop packaged apps:
94</p>
95
96<ul>
97	<li>
98		<a href="app_architecture.html">Understanding the Architecture</a>
99		introduces the app container, programming, and security models.
100	</li>
101	<li>
102		<a href="app_lifecycle.html">The Fundamentals</a>
103		shows how to use this architecture and how to build
104		for offline, manage data, and embed external content.
105	</li>
106	<li>
107		<a href="app_network.html">Advanced Technologies</a>
108		shows how to use the powerful network and hardware APIs.
109	</li>
110	<li>
111		<a href="app_deprecated.html">Disabled Features</a>
112		describes the web features that have been disabled
113		and what to use in their place, where relevant.
114	</li>
115</ul>
116
117<p class="backtotop"><a href="#top">Back to top</a></p>