Community: Blogs

你在这里: You Are Here: Olet tässä: Vous êtes ici: Sie befinden sich hier: Tu sei qui: 現在のページ: Você está aqui: Вы здесь: Usted está aquí:

Tasty Multimedia Journal's Forum Nokia Blog

Use Python to write Wine Tasting Journal for Nokia N93

kevin_s2f | 01 June, 2007 01:05

I need to confess that my assumption is when something sounds too good to be true, it usually is too good to be true. But in the case of Python for S60, I may have found the exception that proves the rule. I’m still digging, and if you know of problems I do not yet see, please post comments. In the absence of warnings otherwise, I am continuing to investigate Python and here’s why:
 
I started with Alessandro’s post on Flyer . This led me to a Nokia open source wiki article that confirmed an earlier impression that I had about Python – it looks like the sweet spot between flexibility and complexity.
 
The problem I have been wrestling with is my desire to write in a high level language, but have deep access to multimedia functions. Paul suggested Java,  but with the currently available APIs I do not think I can control the camera sufficiently to capture the full text of a wine label, and without JNI capabilities I can’t drop out of Java to control the camera using C++ APIs.
 
I checked out Forum Nokia Champion Jürgen Scheible’s  web site  and saw some basic Python scripts for image capture. Looks promising. Python also offers the hope of developing viewing modules that run on the N93 and my desktop. Thinking ahead, I’m hoping that Open C may offer the same advantage as I start to work some of the data management issues.
 
Hartti’s post on S60 runtimes was another great resource. The challenge still comes back to access to full functionality, and I remember a presentation during the Forum Nokia Champion day in London, delivered by none other than Mr. Python himself, about how to extend Python by dropping down into C++ where necessary.
 
So that would appear to let be begin by writing my baby step application in Python. If Python does not allow me the degree of control I want of either the camera or audio recording, I can later “drop down” into C++ and code what I want.
 
And that brings me back to Alessandro’s post.. If I am not happy with the UI I can write in Python, it seems as though I can “fly up” into Flash Lite and wrap the whole package in a cool UI.
 
I may be dreaming here, but this seems possible. Start in the middle wht PyS60, drop down into C++ for functionality, and fly up into Flash Lite for the UI. Cool.
 
I am trying to schedule a call and maybe even a live blogging session with consultants within Nokia who will be able to answer these questions for me, and by extension answer the questions for you as well. I have seen some early traffic statistics for this new blogging track, and I see a lot of people are following along with me. Great. If you want to do more than follow silently, here’s your first big chance.
 
1)      Let me know what questions you want me to ask the mobile architects I’ll be talking to over the next several days.
2)      Let me know if your experience points to a problem I am not yet seeing.
3)      And check back here frequently so you can join in to the live session next week sometime, assuming I can get the experts on line.

Comments

Re: Use Python to write Wine Tasting Journal for Nokia N93

biskero | 03/06/2007, 01:50

biskero Ciao Kevin,

Felipe is updating the Flyer project with some cool new features. I think is a great showcase for the integration of Python S60 and Flash Lite

Alessandro

Re: Use Python to write Wine Tasting Journal for Nokia N93

kevin_s2f | 04/06/2007, 04:43

kevin_s2f I will check out Felipe's project in more detail. I took a quick scan through last week, and it looks promising.

Are you going to be able to join Jukka and me for the chat this Thursday?

Re: Use Python to write Wine Tasting Journal for Nokia N93

biskero | 04/06/2007, 15:40

biskero Ciao Kevin,

if it's after 6:30 PM yes, you can send me the details at
biskero@gmail

Alessandro
You must login to post comments. Login
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditFurlTechnocratiMagnoliaTwitter  Share this page Share this page Invite a friend Invite a friend
E-mail Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us Regional websites: Chinese Japanese © 2008 Nokia 
RDF Facets: qfnZtopicQUqfnTopicZflashQ qfnZtypeQUqfnTypeZBlogContentQ qfnZtypeQUqfnTypeZBlogE45ntryQ qfnZtypeQUqfnTypeZCommunityContentQ qfnZtypeQUqfnTypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX