Dispatcher user interface

Before jumping into any server code-specific items, it is important to understand how the application is organized. All jobs entered by a dispatcher are assigned to a particular mobile technician. That identifier is interpreted as an email address, as seen in the Android example where the user ID was used throughout the application. Once the user ID is specified, all of the records revolve around that data element. For example, figure 12.14 demonstrates this by showing the jobs assigned to the author, fable-[email protected].

l.nlttckitig Android, Chapter 12 Sample Application f i affjiiantc vrr.". iai appliGAhen. plcu t contort FrwkAMtKfi SuncU^ Int.

Jab Urt nil i I<-\II||-;!!IIM<. r ri .1 III \

l.nlttckitig Android, Chapter 12 Sample Application f i affjiiantc vrr.". iai appliGAhen. plcu t contort FrwkAMtKfi SuncU^ Int.

Jab Urt nil i I<-\II||-;!!IIM<. r ri .1 III \

Job Id*

Customer A<Mtei> City State

Sip

Product

PmtoctUKL

"ommcnts

Status

^

FalfaofGrowtli. ,„.,. _ 1 j n 123 Main Sire« Chtetw NJ

0793Û

Wirileti Router

hwifcuco com

SID bfcadcafl not working

CLOSED

5s

jviy Prsdwli

Route 206 Stwbepr NJ

07874

Cooler

htF- "«lurtml çfni

Water« not ecW eneu$i!

CLOSED

21

Sim'« E«ati. Inc

1 Orchard Lane Charter NJ

07930

Cigarette Boat

hlîptfchnïtfaft corn/

reedt a brJit

CLOSED

22

BigTnitais

2200 ii'j Cedar _ _ ,, Ave ^ ^

36004

Uiiw»re<irools UTCK-PT

hCpZ/unttWidtiiU toiïi

He^u*« twang . too rich til The mid range BJPM Doon&tad software from wetrnte wrihug

CLOSED

23

JJ"s Icei

17 Route 206 Stanhs^t

NJ

07374

GelM» Maclune

\Vtvlftt

Icijwpf

CLOSED

M

feJntyas Grocer

H4Vftriebil]lRoiid Andover

NJ

07321

Roi&iLcr

ittp -V^ctuid^err com

•î.cqtzrïd Ënnwore upgrade-

CLOSED

S2

Gt,t,$t

123 Wain Stré« Samewtitrt CA

12345 Android

ItUtftti-M&l.tMà

MSITUrfil«« ' j Î"'.V|.IM M' \<Î.T :7H'Yri Ctwçk Ur^zrmu ArrLjy.d

Figure 12.14 The server-side dispatcher screen

NOTE This application is available for testing the sample application yourself. It is located at http://android12.msi-wireless.com. Simply sign on and add jobs for your email address.

Let's now turn our attention to the underlying data structure, which contains the list ofjobs.

0 0

Post a comment