01-03-2009 09:29 AM
Am woking in Blackberry JDE 4.2. Here when i open video link in my browser i need to show one "Dialog box" before opening the browser.... Ya obviously i can display the dialog box .Now i click "Ok" . I got Uncaught Exception....
Am display this dialog box in paint event......... Am also using Try , catch but no use.... got one bug named "java.io.IOException: HTTP response code: 413"
Let me know , i have any idea.....
// Dialog.alert("Your device does not support streaming videos.");
Dialog.inform("Your device does not support streaming videos.");
catch (Exception e)
System.out.println("Exception at Dialog........ "+e);
01-03-2009 12:20 PM - edited 01-03-2009 12:20 PM
I don't see where HTTP 413 response code (requested content is too large) has anything to do with the dialog box.
Having said that, I don't think that displaying a modal dialog (or any dialog) from within a paint() event is an great idea, either.
01-03-2009 02:24 PM
Go step by step, from simple app to more complex.
It is not productive to write a complex app without experience with a simpler one.
01-06-2009 04:06 PM
It is doubtful that this exception is caused by the dialog. Please see the link below for more information on 413 responses.
What Is - HTTP 413 Request Entity Too Large
Article Number: DB-00623