maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce][N9] StandByMee - EFA (Public Transport Monitor) (https://talk.maemo.org/showthread.php?t=84538)

BluesLee 2012-05-27 20:11

[Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
And a second one ... for those who dont know: With this app i will apply for the Summer '12 Device Program / Community Awards and then ... i will get a developer device ... and then ... i will take over the world! Muwhahaha :D I was wrong: I will participate for the Summer '12 Device Program / New Apps for Nokia Store and then ... i will get a developer device ... and then ... i will take over the world! Muwhahaha :D

About StandByMee-EFA
StandByMee-EFA monitors your favorite public station from efa.vrr.de on the standby screen of your beloved Nokia N9. It works also for other regions than VRR, afaik for the complete D-A-CH region.

StandByMee-EFA makes heavy use of python-mechanize (for web browsing) and BeautifulSoup (for *ml parsing), I might change this in a future release.

Screenshots
https://dl.dropbox.com/u/73783334/St...creenshot1.png
https://dl.dropbox.com/u/73783334/St...creenshot2.png

Installation
  • You will need to activate developer mode and enable operator logo as described here
  • Install dependent python packages - be root my friend
    Code:

    apt-get install python-imaging python-gconf python-beautifulsoup
  • Install python-mechanize packages - again as root - by downloading the corresponding egg file to the below subdirectory
    Code:

    cd /usr/local/lib/python2.6/dist-packages/
    wget http://dl.dropbox.com/u/73783334/Sta....2.5-py2.6.egg

    Alternatively, you can download the python-mechanize*tar from
    here and install it manually via 'python setup.py install'

Updating
  • Modify the corresponding desktop files for your needs and/or add more
    Code:

    cat /usr/share/applications/sbm-efa-home.desktop
    [Desktop Entry]
    ...
    Name=SBM-Home
    Exec=/usr/bin/invoker --single-instance --type=e /usr/bin/standbymee-efa.sh "E" "Porscheplatz"
    ...

  • You can also use crontab or ProfileMatic for auto update purposes.

Future plans:
Complete rewrite to get rid of Mechanize and BeautifulSoup using an undocumented API.

Changelog
  • StandByMee-EFA 0.2.0: Initial release.

Remark / Warning
I am a beginner concerning programming. With other words: You should now what you are doing by activating developer mode, modifying files, installing packages ... Be warned my friend :D

Thanks goes to:
[1] Paul Flo Williams for his Dotrice font published at Open Font Library http://openfontlibrary.org/en/font/dotrice
[2] Paul Sherman for his collection of public domain images: http://www.wpclipart.com/signs_symbo..._sign.png.html
[3] Javispedro for his Harmattan icon generator: http://apps.javispedro.com/nit/hicg/
[4] Derf for his perl version of the EFA status monitor and inspiration: https://github.com/derf/Travel-Status-DE-VRR

jd4200 2012-05-27 20:34

Re: [Pre-Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
That looks pretty slick!

BluesLee 2012-06-06 21:28

Re: [Pre-Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
Quote:

Originally Posted by jd4200 (Post 1213477)
That looks pretty slick!

Thank you. I guess you mainly liked the used font. I had to switch to an 'open font', see above, but for personal use you can also use the other one http://www.fonts2u.com/times-square.font

In the meantime i updated the first post to an announcement.

www.rzr.online.fr 2012-06-17 11:12

Re: [Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
is that app opensource ? easy to rebuild ? ask me for that

BTW:

http://rzr.online.fr/q/harmattan# Just imported/rebuilt #python-mechanize on #harmattan Shared repo , want more ? just ask in the forum #tmo

BluesLee 2012-06-17 12:19

Re: [Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1223129)
is that app opensource ? easy to rebuild ? ask me for that

BTW:

http://rzr.online.fr/q/harmattan# Just imported/rebuilt #python-mechanize on #harmattan Shared repo , want more ? just ask in the forum #tmo

Yes, the app is GPL'ed but its unfinished yet
  • Postinst and prerm scripts to handle a system file for operator logo are missing. Otherwise the users have to handle this manually.
  • The solution to use desktop files to input city and station is somehow an intermediate solution. I have to rethink that.
  • The dependencies on Python mechanize and beautifulsoup should be also dropped for a future update but we need them now.

As i am a beginner concerning development this may take some time.

geneven 2012-06-17 15:05

Re: [Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
The chess app on the store totally didn't work when I just tried it. I will revisit it.

BluesLee 2012-06-17 15:42

Re: [Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
Quote:

Originally Posted by geneven (Post 1223238)
The chess app on the store totally didn't work when I just tried it. I will revisit it.

Thank you for your feedback. Please switch to the thread StandByMee-Chess.

I dropped some questions there.

www.rzr.online.fr 2012-07-23 17:16

Re: [Announce][N9] StandByMee - EFA (Public Transport Monitor)
 
wanna be the 500th build app on shared repo ? if yes opensource it :-)

wanna host it there? or on gh ?

http://gitorious.org/+harmattan


All times are GMT. The time now is 07:58.

vBulletin® Version 3.8.8