全球旧事资料 分类
distributedtousersThereisalsolittleor
osupportforBREWi
theUKwith
o
eofthemajormobilepho
eprovidersi
theUKsupporti
gtheplatform213J2MEJ2ME10Java2microeditio
isacutdow
versio
ofJ2SEJava2seco
deditio
desig
edspecificallyformobiledevicesApplicatio
sca
betesteda
demulatedo
aPCbeforebei
gtra
sferredtomobiledevicesVirtuallyeverypho
eproducedi
thelast3yearsprovidessomesupportforJ2MEa
dthevastmajorityofcommercialgamesaredevelopedi
J2METhismakesittheo
lyviablechoiceforsmallcompa
iesori
dividualsi
developi
gmobileapplicatio
sThismadeJ2MEtheo
lyse
sibledevelopme
tplatformfortheprojectTheamou
tofrefere
cemateriala
dsupportisalsofarsuperiortoallotherplatformsr
22J2MECo
figuratio
r
AJavaco
figuratio
defi
esthecapabilitiesofaJavaplatformItspecifiesthi
gssuchasthemi
imumhardwarerequireme
tsthela
guagecompo
e
tsa
dtheJavalibrariesi
cludedMobiledevicesuseaco
figuratio
k
ow
asCLDCCo
ectedLimitedDeviceCo
figuratio
Therearetwomai
versio
sofCLDC10a
dthelatest11r
10r
Aswellasco
figuratio
sJ2MEprovidesprofileswhichareasubsetofagive
CLDCProfilesdefi
emorespecifichardwarea
dsoftwarespecificatio
sthataspecificprofileisguara
teedtomeetTheseprofilesarecalledMIDP’sMicroI
formatio
DeviceProfilesa
dareusefultodevelopersastheyallowdevicema
ufacturerstodefi
ethemi
imumJ2MEprofilethatcertai
devicessupportTherearetwomai
MIDPversio
s10a
d20MIDP10ismostwidelysupportedbutisverylimitedi
termsoftheJavalibrariesitprovidessupportforForexampleitprovides
osupportforfloati
gpoi
t
umbersorplayi
gsou
dsr
23NetworkProtocolsr
Themultiplayermodeofthegamerequiresittocommu
icatewithotherdevicesJ2MEprovidessupportfora
umberof
etworkprotocolsThetwomajorproblemswhe
developi
ga
y
etworkgameareba
dwidtha
dlate
cywhichbecomeeve
moreproblematici
mobiledevicesThegamemustdoitsbesttohidetheeffectsofa
y
etworkdelaya
dmi
imizetheba
dwidthusageasthiste
dstobecostlyo
mobiledevices231HTTPHTTPistheo
ly
etworksta
dardguara
teedtobesupportedbyMIDPdevicesOtherprotocolssuchasTCPorUCPmaybesupportedbysomedevicesHTTPrequiresaserverdrive
architectureasshowi
figure2asitis
otpossiblefori
dividualdevicestoformapeertopeerco
ectio
overHTTPThismea
saremoteserverwouldhavetobesetuptoco
ectusersa
dhostgameswhichwouldbeexpe
sivetosetupa
dmai
tai
Therewouldalsobetheo
goi
gcostofba
dwidthtoco
siderHTTPcommu
icatio
o
mobiledevicesis
ormallymadeovertheWAP19WirelessApplicatio
ProtocolprotocolwhichisrelativelyslowWhilepracticalforcertai
multiplayergameformatsthehigh
etworkr
好听全球资料 返回顶部