There are a couple of important things to note about using images in an application. The first is that the application must be a compiled application in order for this feature to work. You will also need to add
Ext.device.Camera to your
requires section in
app.js. Since this functionality is only used in compiled applications, the file is not included by default.
Since we have covered compiling applications in Chapter 3, Going Command Line, for our TimeCop application, we will not cover it again here.