Python s60

2005-07-18 Thread xen0n
Hi, I have looked around for any type of example of script that claims
to read the contacts database from an s60 phone, but i cant figure how
to use that examples. All i want is a simple, CLEAR, script that show
how to open contact database of an s60 phone and load all contacts
present into a listbox, nothing else. This will be easy for the
experts! please help me! Thanks in advance!

-- 
http://mail.python.org/mailman/listinfo/python-list


Python s60 Contact DB

2005-07-19 Thread xen0n
Hi, i hope the expert can help me!
I have a little problem:

This piece of code, in python console s60, before compiling will work
great:

try:
..db = contacts.open()
..names = []
..numbers = []

The problem is that, if i compile it with py2sis (pyrsc_template.tmp
replaced with the original to solve the submenus bug) it doesnt work,
when that piece of code is executed, i receive error -50 and nothing
happen! hope u can help me! 10ks a lot in advance

Regards.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python s60 Contact DB

2005-07-20 Thread xen0n
I have already posted the question to the Nokia forum, but, for now,
noone seems to have an answer... Hope this is a bug of py2sis... I dont
want to rewrite my entire application for a stupid bug!

could ildg ha scritto:
> You should raise this question at Nokia python for series60 forum,
> I'm sure you can the answer there.
> http://discussion.forum.nokia.com/forum/forumdisplay.php?s=85e4c1acee330fddde6b47a7b2feae73&forumid=102
>
>
> On 19 Jul 2005 06:47:10 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi, i hope the expert can help me!
> > I have a little problem:
> >
> > This piece of code, in python console s60, before compiling will work
> > great:
> >
> > try:
> > ..db = contacts.open()
> > ..names = []
> > ..numbers = []
> >
> > The problem is that, if i compile it with py2sis (pyrsc_template.tmp
> > replaced with the original to solve the submenus bug) it doesnt work,
> > when that piece of code is executed, i receive error -50 and nothing
> > happen! hope u can help me! 10ks a lot in advance
> >
> > Regards.
> > 
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >

-- 
http://mail.python.org/mailman/listinfo/python-list