maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Noor (Quran app) working on the N900 (https://talk.maemo.org/showthread.php?t=44293)

noobmonkey 2010-04-22 22:51

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 623529)
Recitation is already implemented, not sure how to actually make into a package, it might be a bit hard to get this working side by side with the translations since they edit the whole .noor file.

Currently working on using Terminal (not a lot so won't be confusing) to change the language of the UI.
Code:

#!/bin/sh
CURRENT=run-standalone.sh cat /home/user/.noor | grep lang | grep -v \# | tail -c 3
echo "Supported languages:
 en (English - default)
 ar (Arabic)
 fa (Farsi)
 ml (Malayalam)
 ps (Pushto)
 tr (Turkish)
 nl (Dutch - Thanks to HtheB!)"
echo "Type the two letters of the language you want for the UI:"
read input_variable
sed -i s/lang\ \=\ $CURRENT/lang\ \=\ $input_variable/g /home/user/.noor

It isn't working well since it doesn't actually substitute the variables, instead it tries to changes lang = $CURRENT as it is, not as lang = en.
Will see how this goes.

Edit: One more thing, I didn't actually make noor, it's a PyGTK app made for linux, I just ported it, and qwerty12 helped loads with hildonization.

Looking up docs on how to change the Quran view to use kinetic scrolling (as in pygtkeditor and leafpad)


Sorry Mohammad, been stupidly busy this week :P (As you can tell by my absence from irc!) - will be on this sunday, more then happy to try and help if i can :|

MohammadAG 2010-04-22 22:58

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by noobmonkey (Post 623552)
Sorry Mohammad, been stupidly busy this week :P (As you can tell by my absence from irc!) - will be on this sunday, more then happy to try and help if i can :|

Thanks mate, you've been very helpful to me :)
Wish I could help in return as much as you helped :)

afaq 2010-04-25 17:36

Re: Noor (Quran app) working on the N900
 
Came across this today and opened it in my microB browser. Nice little applet type interface. Very user friendly.

http://www.quranexplorer.com/quran/

El Amir 2010-04-25 17:47

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 623529)
Looking up docs on how to change the Quran view to use kinetic scrolling (as in pygtkeditor and leafpad)

Great news! :) I really hope you get it to work!

nokiaqueen 2010-04-25 18:24

Re: Noor (Quran app) working on the N900
 
awesome..I'll try it out...is there an athan(azaan) app for the n900?

nokiaqueen 2010-04-25 18:37

Re: Noor (Quran app) working on the N900
 
Would it be possible to have this as a little widget displaying ayahs from the Qur'an? or maybe like ayah of the day sort of thing as a widget? I think that'd be cool :)

mohannad 2010-04-25 20:15

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by nokiaqueen (Post 627255)
awesome..I'll try it out...is there an athan(azaan) app for the n900?

Its under development :), http://talk.maemo.org/showthread.php?t=48797

Anwarboy11 2010-04-25 21:14

Re: Noor (Quran app) working on the N900
 
Nice its got translations, been wanting to read the quran with translations for a while now.

nokiaqueen 2010-04-26 03:21

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by mohannad (Post 627386)

yayyy looking forward to this...this is the first app I looked for as soon as I got my n900 and there was none around...good luck with developing it :) and thank you..I appreciate the work you're putting into it :)

MohammadAG 2010-05-07 00:24

Re: Noor (Quran app) working on the N900
 
Oh looky here, portrait mode
http://i41.tinypic.com/2m81mko.jpg

Still need help with kinetic scrolling and it should be perfect :)

snowman 2010-05-28 21:04

Re: Noor (Quran app) working on the N900
 
any plans to bring recitation to this app? or is there another Quran app for n900 that has recitation built in? i know there was previous some folks considering building n900 Quran apps

snowman 2010-05-30 12:05

Re: Noor (Quran app) working on the N900
 
bumping ...

malfares 2010-05-30 12:10

Re: Noor (Quran app) working on the N900
 
+1
bumping

MohammadAG 2010-05-30 12:11

Re: Noor (Quran app) working on the N900
 
It has recitation, you just need to edit the configuration file, I'll get around to packaging it soon (I hope)

I've been quite busy with exams lately, I'll upload a new version with portrait mode to -devel soon.
I still need help with a scrollable list at startup and hildon.TextView to display the text so that it uses Kinetic scrolling (and looks more hildon-y)

snowman 2010-05-31 03:32

Re: Noor (Quran app) working on the N900
 
thanks..please help in how i can edit this config file..best of luck on your exams

one1002 2010-05-31 20:23

Re: Noor (Quran app) working on the N900
 
alhamdulillah..

snowman 2010-06-04 16:59

Re: Noor (Quran app) working on the N900
 
Please help with editing that config file for recitation. Thanks

salawat 2010-06-04 18:18

Re: Noor (Quran app) working on the N900
 
I would like to first of all thank the developer of this app, it is great.

I would like to ask, from what source did you get the translation of the Quran in English?

thanks

MohammadAG 2010-06-04 18:22

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by snowman (Post 699811)
Please help with editing that config file for recitation. Thanks

For the time being you can install leafpad and type leafpad /home/user/.noor in terminal
Experiment with it till I get it packaged :)

Quote:

Originally Posted by salawat (Post 699911)
I would like to first of all thank the developer of this app, it is great.

I would like to ask, from what source did you get the translation of the Quran in English?

thanks

I'm sure I mentioned it in debian/copyright (e: I did)
http://zekr.org/resources.html

anaskr 2010-06-04 18:50

Re: Noor (Quran app) working on the N900
 
shukran :D !

snowman 2010-06-05 10:51

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 699923)
For the time being you can install leafpad and type leafpad /home/user/.noor in terminal
Experiment with it till I get it packaged :)

thanks..i edited the file..i removed the # from the play_sura, play_aya, and follow_ayas code lines...saved the file but dont see any option in Noor for recitation..i am assuming removing the # from those lines activates that code..any idea?

snowman 2010-06-16 12:40

Re: Noor (Quran app) working on the N900
 
bump......

mssusa 2010-07-01 16:03

Re: Noor (Quran app) working on the N900
 
Just updated to version 0.9 without finding out what's new.

Not working. Does not start :(

I am looking for the project's page to report this as a bug.

BTW, thanks for the app. The most essential for my N900 :)

MohammadAG 2010-07-01 16:06

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by mssusa (Post 737317)
Just updated to version 0.9 without finding out what's new.

Not working. Does not start :(

I am looking for the project's page to report this as a bug.

BTW, thanks for the app. The most essential for my N900 :)

Portrait mode support, I didn't post about it though :)

https://bugs.maemo.org/enter_bug.cgi?product=Noor

Type noorgtk.pyw in terminal and post the output.

mssusa 2010-07-01 16:44

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 737324)
Portrait mode support, I didn't post about it though :)

https://bugs.maemo.org/enter_bug.cgi?product=Noor

Type noorgtk.pyw in terminal and post the output.

Thanks for the quick post Mohammad. And thanks for the great app. Here is the output (sorry for the formatting. I'm posting from the N900)

Code:

~ $ noorgtk.pyw
Importing random
Importing sys
Importing gtk
Importing pango
Importing osso
Importing hildon
Importing os
Beginning noor.gtkhelper imports
Importing ask
Importing bookmark
Importing history
Importing keys
Importing mark
Importing menu
Importing minibuffer
Importing note
Importing player
Importing search
Importing shadow
Importing status
Importing suras
Importing task
Importing tool
Importing writer
Importing noor.i18n
Importing uihelpers, quran
Traceback (most recent call last):
  File "/usr/bin/noorgtk.pyw", line 624, in <module>
    show(sura, aya)
  File "/usr/bin/noorgtk.pyw", line 598, in show
    window = NoorWindow(config, quran, sura)
  File "/usr/bin/noorgtk.pyw", line 74, in __init__
    self.osso_c = osso.Context("com.qwerty12.noor", noor.VERSION, False) #I was tempted to put in the usual of "666" for the version param. but looking at the nature of this program...
AttributeError: 'module' object has no attribute 'VERSION'
~ $


MohammadAG 2010-07-01 16:49

Re: Noor (Quran app) working on the N900
 
Gah, I'll fix it in a bit.

mssusa 2010-07-01 17:04

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 737406)
Gah, I'll fix it in a bit.

Thanks Mohammad. I have already filed the bug. May be I shouldn't, but I must admit that I wanted to to see how filing bugs works as I plan to code for the N900 :D

MohammadAG 2010-07-01 17:05

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by mssusa (Post 737436)
Thanks Mohammad. I have already filed the bug. May be I shouldn't, but I must admit that I wanted to to see how filing bugs works as I plan to code for the N900 :D

Fixed in 0.9-1 :)
Bug already marked as RESOLVED FIXED.

snowman 2010-07-01 21:46

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by snowman (Post 700865)
thanks..i edited the file..i removed the # from the play_sura, play_aya, and follow_ayas code lines...saved the file but dont see any option in Noor for recitation..i am assuming removing the # from those lines activates that code..any idea?

please a bit more help with editing that file for recitation..thanks

rebelnoob 2010-07-01 23:32

Re: Noor (Quran app) working on the N900
 
very nice application and UI is great is there recitation mode available??

CasTTeLLo 2010-07-02 00:47

Re: Noor (Quran app) working on the N900
 
edited: working after updated....thanks.....may ALLAH bless u...

mssusa 2010-07-04 13:41

Re: Noor (Quran app) working on the N900
 
Asslam Alaikum

Mohammad, can I request some features? May be some of these are already there but I can't find them:

- When you are on portrait mode, bookmarks menu and jump are always in landscape mode
- Add option to always remember and jump on start up to where you were last time you closed Noor
- Icons are smallish and not very finger friendly
- Can't find icon to jump one screen (like when you finish a page and want to go to the next). The scrolling bars are very small and not finger friendly too
- Sura selection drop down list box at the beginning is also very small and not finger friendly

Thanks again for the great application and may Allah bless us all.

Azzy10 2010-07-16 00:38

Re: Noor (Quran app) working on the N900
 
Is they not a plain english version cause some of sentences are hard to understand!

Excellant App tho 10+!

soulja 2010-08-08 11:31

Re: Noor (Quran app) working on the N900
 
asalamualykum - can someone please help me install this, am not very knowledgable when it comes to linux.

I have had my eye on this app since this thread was made, tried to resolve the problem myself but I am clueless.

I downloaded the deb file when it first came out and coudlnt get it to work, then when it was realsed in the app list - I tried to download but it says unable to install. What am I doing wrong?

The english translation downloaded but obviously is useless without the viewer - but it didnt update. I uninstalled it thinking it may have stopped the viewer downloading.

Anyone can help me would be greatly appreciated, as it would be great for it to be working before ramadan.

HtheB 2010-08-08 12:29

Re: Noor (Quran app) working on the N900
 
a.slm.
Did you removed all other older versions first?

soulja 2010-08-08 14:21

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by HtheB (Post 779476)
a.slm.
Did you removed all other older versions first?

Wasalam, yes I uninstalled all older versions and even deleted the deb file - there is nothing on app manager.

abuelmagd 2010-09-28 02:29

Re: Noor (Quran app) working on the N900
 
JAK for porting this python app. It is very useful and convenient.

thx

MohammadAG 2010-12-03 10:01

Re: Noor (Quran app) working on the N900
 
I did some major hildonization to the app:
Kinetic scrolling app Sura selector:
http://i53.tinypic.com/2cnk0t5.jpg

Kinetic scrolling in suras:
http://i52.tinypic.com/pyjpw.jpg

Bookmark name:
http://i55.tinypic.com/n4xu1d.jpg

Hildon dialogs and entries:
http://i56.tinypic.com/2ivmazd.jpg
http://i52.tinypic.com/apd0ed.jpg
http://i52.tinypic.com/287kjvc.jpg

1.0 should hit the repos soon.

Minhaz 2010-12-03 10:16

Re: Noor (Quran app) working on the N900
 
thnx for dis beautiful application :)

abuelmagd 2010-12-04 11:15

Re: Noor (Quran app) working on the N900
 
great work mohamed. now we can scroll without the keyboard and without the pen. :)


All times are GMT. The time now is 11:46.

vBulletin® Version 3.8.8