Just place the setcredentials EDIT: BEFORE initialize
wwwCli.SetCredentials("NAME","[PASSWORD")
wwwCli.Initialize("Client")
and you will see a message on the device with the source code line
with setcredentials(name,password)
with nullpointerException
maybe the problem is that a debug info is also compiled into the program
grCor