Free Blog Themes and Blog Templates

paroli says: Hello World

Just in time with FSO’s Milestone 5 we are releasing our first tutorial.

It outlines how to create a simple app, write a simple service and do some basic interaction with edje.

You can find the tutorial here : starter-kit.pdf

and the corresponding files (paroli-src as well as tutorial src) : startup.tar

Have fun :)

/mirko

and don’t forget:
website: http://www.paroli-project.org
bug tracker: http://www.paroli-project.org/trac
source: http://git.paroli-project.org
api: http://www.paroli-project.org/api

14 Responses to “paroli says: Hello World”

  1. Christoph Siegenthaler Says:

    Hi

    I don’t really know if this is the right place to ask but anyway:
    I tried to run paroli on SHR unstable (yesterdays image). I’m able to start the paroli-launcher but when I try to make a phone call with Tele, it appears as if it would call (button changes to the red end call button) but I can’t hear anything. No errors are displayed in the terminal from where I run paroli (as far as I can tell). Did I miss to install anything or to start a service?

    Best regards, Chris

  2. vegyraupe Says:

    Hi,

    when you checkout paroli from the git and run it from withing the source directory the config file will tell paroli not to connect to the fso.

    See: http://www.paroli-project.org/running-paroli/parolicfg/ . What you need to do is change line 10 in the paroli.cfg file next to the paroli-launcher script. Just comment it out, so that paroli launches the “normal” services instead of the test services.

    /mirko

  3. sicu Says:

    Nice post and tutorial =]
    (Just a pointer that the api link should be http://www. not git.)

  4. vegyraupe Says:

    Hi,

    Thanks :)

    I fixed the typo as well, thanks for the pointer.

    /mirko

  5. Christoph Siegenthaler Says:

    Thanks for the explanation, mirko.

    I won’t have time to test this in the next 4 or 5 days but I really like what I saw of paroli so far!

    Are there already plans on an adressbook with vcard support, PIM, calendar, etc? :)

    Keep up the good work

    /Chris

  6. vegyraupe Says:

    You bet!

    I am polishing the dialer right now, but others from the team are already preparing the code for stable messaging etc. I hope we can get there very soon.

    /mirko

  7. papa-piet Says:

    Hi I’ve found a small error in the text..
    on page 6 you mixed up

    Image: *.bin

    and

    Kernel: *.jffs2

  8. Christoph Siegenthaler Says:

    I’ve been playing around with paroli yesterday and I just remembered an error I found. Displaying sm’s (short messages), non-ascii characters are displayed as “?”. Could this be avoided by using utf-8? I haven’t had a look at the code or really thought about the problem, I was just playing around. :)

    Best regards, Chris

  9. Christoph Siegenthaler Says:

    By non-ascii characters I’m refering specifically to umlauts, ä ö ü and probably accented chars as well (é,è,ê, etc haven’t tested those).

  10. vegyraupe Says:

    @Christoph Siegenthaler:

    seems this was ticket 42 in http://www.paroli-project.org/trac . Charlie fixed this in
    http://git.paroli-project.org/?p=paroli.git;a=commit;h=c72729f21a21fcee92eba17eb365a3bae58a95e7

    Thanks

    PS: And sorry for taking so long to react

  11. Christoph Siegenthaler Says:

    No problem I already saw that the ticket was solved and I’m just going to verify it :)

    Thanks anyway!

  12. Daramarak Says:

    I am developing an org-mode (emacs) and calendar integration tool for the openmoko which i can imagine could be a good plugin for paroli. For the time beeing the interface is made in tkinter; but i am looking into making an edje frontend, which would allow me to integrate it with paroli. The biggest problem I have so far is that I cannot seem to find any ways to construct a scrollable list with Edje. I am sure that it is possible, but my search for some documentation on how haven’t turned up anything yet. Parolis contacts have to be implemented using some sort of list, could I ask how it is implemented?

  13. vegyraupe Says:

    Hi,

    edje itself does not offer scrolling as such. You can either implement it yourself using embryo or the lang you are programming in or you rely on a toolkit to do that for you. We do the latter. In the gui module paroli.core/tichy/gui_paroli/__init__.py you will find the EvasList class. This contains the rather awkward way to do that using etk. As I am writing I am looking to find out whether using elm (elementary) would make this any easier, so far I am not sure ;) .
    I also tried it with pure edje once or twice, the problem is you need to use dragging of edje objects and need to calculate the length of the list you want to scroll. To explain everything here would be a bit lengthy. If you want it more detailed or have questions/suggestions about how to implement it more efficiently mail me at mirko [at] openmoko.org or simply to the devel list.

    /mirko

  14. Daramarak Says:

    Hi, thanks for the feedback. Ill have a look at the __init__.py. Seems like scrolling isn’t just a walk in the park. To bad really, working with a small screen real estate demands good solutions for this. Anyway ill have a look, and get back to you in the devel list, so other may benefit too.

    Thanks

    Daramarak

Leave a Reply

Free Blog Themes and Blog Templates