Reply
Thread Tools
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#1
Hey guys. Had an idea since I bought my N95 8Gb 4 years ago.

I'm living in a city which is next to sea. Using ferries for public transportation time to time. Finding which ferry when leaves the dock kinda hard, so many ferries so many times so many destinations.

So, there can be an app to do this instead of me

here is what I thought :

App will read the time from N900's clock.

App will ask for where I am and where I want to go.

App will get data from a file, preferably from a txt file so if times change I can easily update times. ( have not any programming experience on linux yet.. not much on windows either :P so If I have to update them, compiling mustn't be pain... )

And it will show when is next 2 ferry, and when was the one I missed.

[optional] if it shows the remaining time in minutes : seconds format that would be awesome.

These can easily change to bus times too. Could be very helpful in real life transportation.

So, I need a programmer which can spend some time for this project

Any ideas also welcome.

[I searched but couldn't find any topic or app that does exactly what I need.. Sorry if I am missed.]

Last edited by Sin; 2010-11-29 at 23:32.
 
cfh11's Avatar
Posts: 1,062 | Thanked: 961 times | Joined on May 2010 @ Boston, MA
#2
Most such public transportation services have a website with a router built in. Have you tried just using the browser for this? Alternatively, google maps has these routes in select cities.
__________________
Want to browse streamlined versions of websites automatically when in 2g? Vote for this brainstorm.

Sick of your cell signal not reconnecting after coming out of a bad signal area? Vote for this bug.
 
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#3
Well, I may check it from a paper too, instead of that I'm asking for an app which will do that instantly. It hasn't to be too much work to do such an app.
 
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#4
up.....
 
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#5
Hellooooooo..? Anybody home?
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#6
As cfh11 said, why not use their website? The N900 has an excellent browser, and you'll probably find it almost as quick as the website.

If you really want the app, this would be a great way to learn coding - "It hasn't to be too much work to do such an app. "
 
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#7
Well, studying civic engineering atm, 3rd year at university, so have not time to learn it, although I want to do so. Everybody has something to do I know, but I'm running out of time these years..

Same thing using their website or looking for it on paper, that's why I want it :/
 
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#8
Hmm... i am thinking of doing something similar for buses in my area. I'm only a beginner, so don't expect anything soon or anything great. I think I will be able to make a command line based app that can input origin and destination and based on time and day, it will output the next available transport in that route.
The data can be stored in simple csv files.
 

The Following User Says Thank You to ejasmudar For This Useful Post:
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#9
I will gladly help if I can
 
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#10
Hey this is a small thing that made up. jedi was right. It's a great way to learn programming.
The attached zip file includes a .py file and a .csv file. The Data.csv file has the details in the following order: Origin, Destination, Time. This file can be edited in any text editor or spreadsheet program like gnumeric, excel, etc. Data can be added in any order.

Both files should be in the same folder.

To run from n900, open terminal, cd to the directory where these files are stored, then use the command:
Code:
python NextBus.py <origin> <destination>
where origin and destination is to be from the Data.csv file.
For eg, based on my data file, I can run
Code:
python NextBus.py kochi aroor
and get the next available bus.

NOTE: Currently, the destination and origin names are case sensitive.

One way we can use it is to make a queen beacon widget to display the next available bus between two points. But I haven't figured out how to do it...

EDIT: Figured out hoe to use Queen Desktop Widget with NextBus.py
Just use enter the following commands in the Advanced Section:

Code:
cd /home/user/where/ever/your/file/is/
python NextBus.py  <origin> <destination>
Attached Files
File Type: zip NextBus.zip (903 Bytes, 105 views)

Last edited by ejasmudar; 2010-11-26 at 09:12.
 

The Following 2 Users Say Thank You to ejasmudar For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:03.