barcode generator visual basic 6 source code Mapping out the field service application in Java

Encoding QR Code JIS X 0510 in Java Mapping out the field service application

12.2.1 Mapping out the field service application
QR Code ISO/IEC18004 Creation In Java
Using Barcode printer for Android Control to generate, create QR Code ISO/IEC18004 image in Android applications.
www.OnBarcode.com
Painting Barcode In Java
Using Barcode maker for Android Control to generate, create Barcode image in Android applications.
www.OnBarcode.com
In this section we ll examine the application flow to better understand the relation among the application s functionality, the UI, and the classes used to deliver this functionality. Doing this process up-front helps ensure that the application delivers the needed functionality and assists in defining which classes we require when it comes time to start coding (which is soon)! Figure 12.3 shows the relation between the highlevel classes in the application, which are implemented as an Android Activity, as well as interaction with other services available in Android. Here s the procession of steps in the application:
Creating ECC200 In Java
Using Barcode drawer for Android Control to generate, create Data Matrix 2d barcode image in Android applications.
www.OnBarcode.com
Drawing Barcode In Java
Using Barcode printer for Android Control to generate, create Barcode image in Android applications.
www.OnBarcode.com
The application is selected from the application launch screen on the Android device. The application splash screen displays. Why Some applications require setup time to get data structures initialized. As a practical matter, such timeconsuming behavior is discouraged on a mobile device, but it s an important aspect to application design, so we include it in this sample application.
Code 39 Full ASCII Creation In Java
Using Barcode drawer for Android Control to generate, create Code 39 image in Android applications.
www.OnBarcode.com
Print Barcode In Java
Using Barcode drawer for Android Control to generate, create Barcode image in Android applications.
www.OnBarcode.com
Mapping out the application flow
Make PDF 417 In Java
Using Barcode creator for Android Control to generate, create PDF-417 2d barcode image in Android applications.
www.OnBarcode.com
Industrial 2 Of 5 Encoder In Java
Using Barcode encoder for Android Control to generate, create 2 of 5 Industrial image in Android applications.
www.OnBarcode.com
Application launch
Encode QR Code ISO/IEC18004 In Java
Using Barcode printer for BIRT Control to generate, create Denso QR Bar Code image in BIRT reports applications.
www.OnBarcode.com
Drawing QR Code JIS X 0510 In None
Using Barcode creator for Online Control to generate, create QR Code image in Online applications.
www.OnBarcode.com
Splash screen (Splash Activity)
Create QR-Code In Visual C#.NET
Using Barcode encoder for Visual Studio .NET Control to generate, create QR Code ISO/IEC18004 image in .NET framework applications.
www.OnBarcode.com
Data Matrix Generation In None
Using Barcode generation for Office Excel Control to generate, create DataMatrix image in Excel applications.
www.OnBarcode.com
#2 #
Print Linear 1D Barcode In .NET
Using Barcode generator for ASP.NET Control to generate, create Linear image in ASP.NET applications.
www.OnBarcode.com
Make QR Code In VS .NET
Using Barcode drawer for .NET framework Control to generate, create QR Code JIS X 0510 image in Visual Studio .NET applications.
www.OnBarcode.com
Main screen (FieldService Activity)
UPC-A Supplement 2 Generation In Java
Using Barcode creator for Eclipse BIRT Control to generate, create Universal Product Code version A image in Eclipse BIRT applications.
www.OnBarcode.com
Drawing GS1 - 12 In VS .NET
Using Barcode encoder for Reporting Service Control to generate, create Universal Product Code version A image in Reporting Service applications.
www.OnBarcode.com
#4 Refresh jobs (RefreshJobs Activity)
Code 3/9 Printer In Visual Basic .NET
Using Barcode creator for .NET Control to generate, create Code 3/9 image in VS .NET applications.
www.OnBarcode.com
PDF 417 Drawer In None
Using Barcode printer for Online Control to generate, create PDF 417 image in Online applications.
www.OnBarcode.com
#6 Manage jobs (ManageJobs Activity)
Generate UCC - 12 In Java
Using Barcode printer for BIRT Control to generate, create GS1 128 image in Eclipse BIRT applications.
www.OnBarcode.com
Barcode Scanner In Java
Using Barcode decoder for Java Control to read, scan read, scan image in Java applications.
www.OnBarcode.com
#5 Settings (ShowSettings Activity)
#7 Show job details (ShowJob Activity)
#8 Map job location (Launch Google Maps)
#9 Look up product info (Launch browser)
#10 # No Job closed
#11 Capture signature (CloseJob Activity)
Yes #12 Display signature (Launch browser)
Figure 12.3 This figure depicts the basic flow of the field service application.
The main screen displays the currently configured user and server settings, along with three easy-to-hit-with-your-finger buttons. The Refresh Jobs button initiates a download procedure to fetch the currently available jobs for this mobile worker from the configured server. The download includes a ProgressDialog, which we discuss in section 12.3.5. The Settings button brings up a screen that allows you to configure the user and server settings. Selecting Manage Jobs lets our mobile worker review the available jobs assigned to him and proceed with further steps specific to a chosen job. Selecting a job from the list of jobs on the Manage Jobs screen brings up the Show Job Details screen with the specific job information listed. This screen lists the available information about the job and presents three additional buttons. The Map Job Location button initiates a geo query on the device using an Intent. The default handler for this Intent is the Maps application. Because our mobile worker may not know much about the product he s being asked to service, each job includes a product information URL. Clicking this button brings up the built-in browser and takes the mobile worker to a (hopefully) helpful internet resource. This resource may be an online manual or an instructional video.
Putting Android to work in a field service application
The behavior of the third button depends on the current status of the job. If the job is still marked OPEN, this button is used to initiate the closeout or completion of this job. When the close procedure is selected, the application presents an empty canvas upon which the customer can take the stylus (assuming a touch screen capable Android device) and sign that the work is complete. A menu on that screen presents two options: Sign & Close or Cancel. If the user selects Sign & Close option, the application submits the signature as a JPEG image to the server, and the server marks the job as CLOSED. In addition, the local copy of the job is marked as CLOSED. The Cancel button causes the Show Job Details screen to be restored. If the job being viewed has already been closed, the browser window is opened to a page displaying the previously captured signature.
Now that you have a feel for what the requirements are and how you re going to tackle the problem from a functionality and application-flow perspective, let s examine the code that delivers this functionality.
Copyright © OnBarcode.com . All rights reserved.