|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-C23196E8-FDD3-4A10-9DA2-DA83A2AD49D9" xml:lang="en"><title>Applications |
|
13 with a user interface</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>If you are developing an application with a user interface, consider |
|
15 the following issues:</p> |
|
16 <ul> |
|
17 <li><p>Other applications may have access to the information that |
|
18 the user inputs.</p></li> |
|
19 <li><p>A hostile application may lure the user to enter information |
|
20 that belongs to another application.</p></li> |
|
21 </ul> |
|
22 <p>Password dialogs in particular should be designed so that the user easily |
|
23 recognizes the currently running application.</p> |
|
24 <section id="GUID-836A84FD-44E9-4C3F-AA50-4BC36CBA2916"><title>User input</title> |
|
25 <p>It is possible for the user to unintentionally enter incorrect data |
|
26 that can interfere with the normal operation of the application. All input |
|
27 should be checked and validated before processing. A one-time check may not |
|
28 be enough because the content of data can change during processing, so it |
|
29 is therefore advisable to quickly check the data every time it is used.</p> |
|
30 <p>The following figure shows an example of input processing phases.</p> |
|
31 <fig id="GUID-6C871726-D4DB-40FC-A2F8-ADDA2B9A4E9C"><title>Examples of input processing</title><image href="GUID-63AD2899-FDDC-4E3F-8876-C72EC7C194CE_d0e11012_href.png"/></fig> |
|
32 <p/> |
|
33 </section> |
|
34 </conbody></concept> |