Wouldn't reusing the same client libraries as shipped with the N900 and binding whatever directories those use work?