sockets - Running blackberry app into multiple emulators at the same time -


i developing blackberry application , i'm trying devices communicate. trying out socketdemo app , shed light socket process (which no different other platform far).

only problem can't test app since can't app 2 different emulators. how accomplish this?

if not need hook second simulator debugger (for breakpoint setting, etc), getting application run simultaneously on 2 simulators can done easily.

build application, , run jde; standard procedure.

then, outside jde, start simulator (it cannot same one), and, when that's , running, choose file->load java application second simulator's window menu. select .cod of application built. application installed onto second simulator, , either start automatically, or can start clicking on icon (depending on how project set up).

with 2 simulators on same machine, applications need communicate through network, may needed change ports in .bat file launches second simulator, before starting -- otherwise, second simulator may not able bind same ports on machine.

indeed, simulator models, not able unless second simulator different simulator package (different directory), because process grabs lock when runs.

if using built-in simulator package contains 1 simulator, can download second simulator, ideally different model, rim's developer site: http://www.blackberry.com/developers/downloads/simulators/


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -