08-11-2008 07:18 AM
Excuse me, how are you doing that??? It is really a problem related with the canvas? Please, could you explain to me with your "dummy code" Im kinda crazy! I would thank you for life! Thx in advance
08-11-2008 07:43 AM
I don't really know why it's a problem, i only noticed that the yes/no-prompt is frozen if my application is in canvas mode.
Therefore i'm now making a request
ContentConnection connection = (ContentConnection) Connector.open("http://www.google.de");
at programstart, the Yes/No-prompt can be switched to Yes and all working fine.
This is only a workaround ;-)
08-11-2008 06:53 PM
Are you creating your connection in its own thread?
Support - Application stops responding when opening a connection
08-12-2008 03:20 AM - edited 08-12-2008 03:25 AM
Ive got to connect with the server but the problem rightnow is that my wrapper replies to me there is nothing sent, I mean, you can see a request, but no data arrives at the server; I mean, the communication opens right but dont send anything so....can anyone tell me what can be happening? It´s working at the emulator with MDS. Other question is I use the javax.microedition.* to send sms´s but my application, Ive made a test and closes it when Im trying to send a simple sms to myself.....could anyone tell me whats happening?? Thx in advance to everyone thx so much
08-12-2008 03:45 PM
08-20-2008 06:03 AM
Ive got make the communication in a proper way, I dont really know what was happening; now, my question is, please, how Ive to create the .cod over the air? Ive got a server which makes the applications OTA so I need to generate OTA the blackberry cod file; Ive to put some data into the jad everytime and this file changes all the time so, please, can anyone tell to me how can I deal with this? How Ive to download the application to the blackberry device? using the jad? using directly the cod? using both jar and jad? please help
Thx in advance, kind regards
08-20-2008 02:38 PM
You can place your JAD and COD files on a web server and open the JAD file in the BlackBerry Browser. Please see the Deploying Java Applications white paper for more information.
08-21-2008 03:38 AM
Ive done a method which builds the cod and the jad OTA in the server; the problem now is, when I download the application it does not communicate with internet....but if I load the application via PC into the device, it works perfectly; can anyone tell to me what can be happening? thx in advance
UPDATE : can it be a problem using rpac? thx
08-21-2008 10:11 AM
What type of connection are you making and what route is it being made over (direct TCP, BlackBerry Enterprise Server or WAP Gateway)?
What behaviour are you seeing? What exception is being thrown?
08-22-2008 03:07 AM
Hi again (and thank you so much MSohm!)
Its an HttpConnection over tcp; I dont use BIS or BES. The problem is, I load the cod using javaloader in the command prompt at windows and everything is working ok; when I build the cod in my OTA service, it does not communicate; The difference Ive noticed is in the jads I generate; in the OTA jad I include permissions and the verisign certificate Im using to sign j2me applications; please can you tell me what is happening?
sorry for being bored!