# BlackBerry-Tart Preview   Posted: 2012-09-21 19:14

As I mentioned in a couple of tweets earlier today I've achieved some excellent initial success with a new approach. The name's just a silly pun... a "tart" is lighter-weight than a "pie", and BlackBerry-Tart is (much) lighter-weight than BlackBerry-Py.

The previous BlackBerry-Py stuff was focused on the PySide package and using the Qnx/Python entry point to launch the Python interpreter directly, using wrapped Qt libraries for the GUI portions (and others) of the app. This worked out quite well, especially on the PlayBook where we don't have Cascades yet. One downside was the size of the .bar files, at roughly 12MB minimum and maybe over 20MB with everything bundled.

# BlackBerry-Py Preview   Posted: 2012-06-17 16:34

Sometimes I write little because nothing's happening, other times because so much is happening I can't stop to write about it! Fortunately the last few weeks have been the second case.

# PySide on the PlayBook   Posted: 2012-05-24 11:49

In my last post [1] I talked about wanting to hook Python to the Qt port for the PlayBook. Since then, after considering other approaches, I decided to take a closer look at PySide [2]. My quick review of it concluded that I'd be duplicating key parts of its functionality if I tried doing anything from scratch.

With encouragement from the #BlackBerryDev IRC channel on Freenode, Xitij Ritesh Patel (who has been "BBX-Python's" biggest fan) and I set up a Rackspace Cloud server and got to work, sharing a single userid via screen for some remote pair programming.

# BB10 Python: Command Line Interface   Posted: 2012-03-24 00:58

Just a quick update since it's been months of silence (and waiting, mostly) and things are starting to move again.

Tonight I decided that it was time to take the QML "Hello World" code I'd written a couple of weeks ago, and see what it would take to hook that up to Python somehow.

# BBX Python: Self-contained Demo App   Posted: 2011-11-29 18:12

Earlier today I wrote about how it turns out that the Tablet OS (2.0.0 beta or later) actually recognizes Python as a direct "entry point" for apps, as it does for apps built using AIR or the Native SDK (WebWorks apps use the AIR entry point at this time).

With the original crude launcher, we'd developed a small set of experiments and demonstration scripts, which you had to copy over the network to "documents/scripts", with the bbxrun.py file sitting above to let you select which one to run.

I've taken the whole mess and packaged it up using the new approach, with a signed .bar file up so you can try it out for yourself if you'd like. (Download link is at the end of this post.)

# BBX Python: Direct Entry Point!   Posted: 2011-11-29 12:06

Okay, this is just too cool not to mention right away!

Jeff Kehres from RIM has been following the progress on and off, and pointed out today the existence of the blackberry-pythonpackager that's already included in the NDK tools.

I therefore herewith present the classic tiny "hello, world" app for the PlayBook, written in Python and with output going only to the appdata/logs/log file (to which stdout is redirected by default).

print "hello, world"


# BBX Python: FreeType2 Fonts   Posted: 2011-11-27 00:05

This is definitely not ready for serious use, but I thought I'd share a screenshot with the first text rendering support for BBX-Python.

# BBX Python: Quick Update #1   Posted: 2011-11-24 23:31

Here are a few quick notes on what's happened with BBX-Python since the last update.

# BBX Python: Next Steps   Posted: 2011-11-21 08:42

My recent posts have talked about running Python 3.2 on the PlayBook. While all versions of the PlayBook OS have used Python internally [1], the beta 2.0 OS is the first to have a Python interpreter with read permissions set such that apps can access it... for now, anyway. (Unfortunately we have no guarantees that it will remain accessible, but your input to RIM will help influence decisions about that.)

This project is in an early stage, and could go any number of directions (perhaps all at the same time).