Active Topics

 



Notices


Reply
Thread Tools
Posts: 376 | Thanked: 36 times | Joined on Jun 2010
#1
Hi,,,

Is there any applications for Ramadhan.?

Tnx
 
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#2
There is a prayer time app in the repos which is usefull

Though, I still want to have a desktop widget
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Posts: 6 | Thanked: 0 times | Joined on Dec 2009
#3
If any one can develop such an application in which there should be alam of azan at fast start(Fajar) and fast break(Magrib).
 
nokiaqueen's Avatar
Posts: 163 | Thanked: 38 times | Joined on Apr 2010
#4
is the prayer time app called "prayer time" lol
 
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#5
Originally Posted by usan14 View Post
If any one can develop such an application in which there should be alam of azan at fast start(Fajar) and fast break(Magrib).
hello,

the easiest way is to use a desktop command execution widget.
just download prayer times of your choice for one month as a
text file from the web and use simple linux commands like date
& cut for your purposes. you may also try the console version of
python pyprayertime in connection with cut etc. see screenshot.


Blues
Attached Images
 
 
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#6
Originally Posted by BluesLee View Post
hello,

the easiest way is to use a desktop command execution widget.
just download prayer times of your choice for one month as a
text file from the web and use simple linux commands like date
& cut for your purposes. you may also try the console version of
python pyprayertime in connection with cut etc. see screenshot.


Blues
Could you share the script for these ones please?
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#7
@El Amir: sure. say you have your prayer times in a tab
separated file called prayer_times.csv with the following
content as an example:


...
08.08.2010 4 02 5 32 13 19 17 23 20 54 22 14
09.08.2010 4 03 5 33 13 19 17 22 20 53 22 13
....

with highlighted tabs:
..
08.08.2010 ^I^I4 02 ^I5 32 ^I13 19 ^I17 23 ^I20 54 ^I22 14 $
09.08.2010 ^I^I4 03 ^I5 33 ^I13 19 ^I17 22 ^I20 53 ^I22 13 $
..


then you cut fadjr seen in the 3rd tab as follows:

#!/bin/sh
grep -i `date +%d.%m.%Y` prayer_times.csv | cut -f3,3 | sed -e "s/ /:/"

as mentioned above you can play with python and perl command
line scripts (google for them) which give you praying times for the
current date (you have to change the settings for location,
calculation method) and then you can cut the corresponding line
there.


Blues

Last edited by BluesLee; 2010-08-08 at 19:46.
 

The Following User Says Thank You to BluesLee For This Useful Post:
Posts: 376 | Thanked: 36 times | Joined on Jun 2010
#8
Thnx dude & Ramadhan Kareem
 
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#9
Why use a text file when mPrayerTime can generate the times for you

http://talk.maemo.org/showthread.php...194#post786194
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:26.