Skip to content

{ Monthly Archives } October 2009

Making an HTTP Request on BlackBerry

Seems like it is rather complex to make a simple HTTP request on BlackBerry.  The code for opening a connection is straightforward: String url = “http://10.0.0.1″; HttpConnection conn = conn = (HttpConnection)Connector.open(url); The complexity comes in because I am developing on a  BlackBerry device without service.  When I try to execute the above code, I [...]

Blackberry development environment

Blackberry applications are written in Java.  Since the java mantra is write once, test everywhere.  er.  sorry, run everywhere.  You would think that you could choose whatever OS you would like to develop for the Blackberry.  While the documentation claims you can write Blackberry code on any platform, the reality for a new developer is [...]

Install MySql5 on Snow Leopard using MacPorts

Install MacPorts before you do anything. Install MySQL5 sudo port install mysql5 sudo port install mysql5-server  sudo -u mysql mysql_install_db5 Secure MySQL5 To secure your MySQL5 installation, you can either change the password manually like so: /opt/local/lib/mysql5/bin/mysqladmin -u root password {new-password} or on a production system, you can run the secure script and not only [...]