hi,
i'm quite new in writing midlets, so maybe answer to my question is
obviuos.
my application needs to use http connection but when i try to run it
the whole emulator (DefaultColorPhone) stops and a message is
displayed that application "wants to send and recieve data using the
network. This will use airtime and may result in charges. Is it ok to
use airtime?". there are two options yes/no but application isn't
responding.
the same situation occurs when i try to run sample application which
use any type of connection.
if anyone had this kind of problem please respond.
yours sincerely
orson
Darryl Pierce - 13 Mar 2005 13:08 GMT
> i'm quite new in writing midlets, so maybe answer to my question is
> obviuos.
[quoted text clipped - 6 lines]
> the same situation occurs when i try to run sample application which
> use any type of connection.
Can you show us the code you're using to create the HTTP connection? It
sounds like you're blocking the main thread by opening the connection on
that thread rather than spawning a new thread to handle the connection...

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard