[BlackBerry-Python] Looking for examples and howto for Python/QML with Tart on BB10
Peter Hansen
peter at engcorp.com
Wed Dec 5 18:15:07 EST 2012
On 2012-12-05 4:56 PM, George Ruinelli wrote:
> How did you develop and run your example apps?
> Did you develop them on the device/simulator directly?
> Is there a way to run them also directly on on the developer (Linux) system?
> Since Python and QML is available, we only would need a running Tart and the
> required QML files (bb.cascades, ... ). Are they somewhere available?
As Ritesh says, you generally develop on your desktop/laptop but test on
the device or simulator. I haven't even built a binary for the Tart
launcher for the simulator yet but there's no reason it wouldn't work
equally well there.
The beta NDK is supported on Linux, OSX or Windows, so any of those are
suitable for development, though actually you could do everything on
*any* platform, ultimately including the device itself, except for the
actual deploy step (which requires the blackberry-deploy utility).
Signing for release would need one of the supported platforms as well of
course.
With the PySide stuff I did make that QML LiveView utility, but I
haven't tried reproducing it yet for the Cascades environment. As far as
I can tell the required pieces are there, and I doubt it would be hard.
I may not get to that before Christmas, at the rate I'm going, but I
have missed it a lot in the last week.
As far as getting real "meat" to everyone, I think I'm about a day away
now... I have been trying to finish some cosmetic tweaks for the BB10
port of my White Noise app, which was the one that I first wrote (in
AIR) for the free PlayBook offer two years ago, and which will be the
first submitted BB-Tart app any hour now! :-)
You could actually get a head start on me here though. The Zombie Slayer
app that I just released
(http://supportforums.blackberry.com/t5/Cascades-Development/Beta-4-WebView-app-freeze-post-exit/m-p/2014573#M7441)
has the latest tart-launch binary in it, and full source. (In fact, it's
the first real *published* BB-Tart app at this point, though because it
can't work while signed, it can never be submitted to App World.)
If you grab that and unzip the .bar file, you've technically got
everything you need to write apps, except any form of documentation (!).
I'm happy to respond to questions about any aspect of it, if you would
like to poke into it. That would likely get info out of me sooner than
I'll get to writing the next blog post too... I think I should have some
source and examples committed to Bitbucket before I do the next one.
-Peter
More information about the BlackBerry-Python
mailing list