devxlogo

April 20, 2004

Warning Signs in SQL Code

SQL statements defined “inline” in source code are a warning sign that the implementation or the project design itself probably includes some land mines. If you see something like: String

Handling Events in BREW

BREW is very event-driven. As such, an application will get many events that it may not be expecting. Controls talk to themselves using events. The system sends events to the

Request Permissions with a MIDlet

A MIDlet requests permissions by declaring them in the application descriptor, using either MIDlet-Permissions or MIDlet-Permissions-Opt. Multiple permissions can be specified and are separated by commas. If a permission is