maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Holy Quran for N900 (https://talk.maemo.org/showthread.php?t=75557)

MSameer 2012-01-30 00:09

Re: [Announce] Holy Quran for N900
 
Install libsqlite3-dev. It's missing from your build environment.

Unfortunately I don't use QtCreator so I don't know how to install it.

midcex 2012-01-31 10:36

Re: [Announce] Holy Quran for N900
 
Holy Quran why can not I sing the sound
downlod the file when I had what's the solution:(

TransTech 2012-01-31 12:36

Re: [Announce] Holy Quran for N900
 
//Multiple themes

Sorry i dont know if qml can handle .css files

A structure containing all the colors codes ( seperate for night mode included in same file) in a qml file can help.. but i think other files needed to be linked to this file which is like rewriting the whole app. (eg. /theme_name/colorcode.qml ).

Night mode://
(optional) settings for font color in night mode should be available in settings to solve this problem. btw theming didnt touched the main body of the app..i.e surahs and translations font colors is not touched.

TransTech 2012-01-31 12:40

Re: [Announce] Holy Quran for N900
 
Quote:

Originally Posted by midcex (Post 1158300)
Holy Quran why can not I sing the sound
downlod the file when I had what's the solution:(

sorry I couldnt understand much about your problem, but I seems you have problem with the recitations...

for that please carefully read the install recitation instructions in the app itself.

Off topic: did you use google translate to translate from other language, because "sing the sound" is hillarious.. ;) it should be "play the recitation".

MSameer 2012-01-31 12:51

Re: [Announce] Holy Quran for N900
 
Here's Colors.qml for the upcoming version:
http://gitorious.org/quran/quran/blo...qml/Colors.qml

Code:

1        // -*- qml -*-
2        import QtQuick 1.0
3       
4        QtObject {
5                id: colors
6       
7                property color textColor: _settings.nightMode ? "white" : "black"
8                property color backgroundColor: _settings.nightMode ? "black" : "white"
9                property color verseColor: _settings.nightMode ? "white" : "black"
10                property color titleColor: _settings.nightMode ? "black" : "white"
11                property color subtitleColor: _settings.nightMode ? "black" : "white"
12                property color highlightColor: _settings.nightMode ? "red" : "red"
13                property color faderColor: _settings.nightMode ? "black" : "steelblue"
14                property color sectionColor: "#a3daf4" // QColor(163, 218, 244)
15                property color col1: Qt.lighter(colors.sectionColor, 1.2)
16                property color col2: Qt.lighter(colors.sectionColor, 1.3)
17        }

Most of the work on the app side has been done already. Some parts are still missing.

If that file is simple enough then we can ship one with each theme. It defines colors for both normal mode and night mode.

I can also try to use an ini file for reading the colors.
We can ship an ini file with each theme that defines the colors.

The question is: Should the night mode be a separate theme or should it be a property of the used theme ?

I mean should we ship 2 themes by default: Day mode and night mode or should we let each theme define the colors for night mode ?

Option 1 simplifies the creation of themes.
Option 2 guarantees that each theme gets a night mode.

midcex 2012-01-31 13:55

Re: [Announce] Holy Quran for N900
 
I mean could not recitations to detect
but I've downlod files Recitation
please solution

MSameer 2012-01-31 13:56

Re: [Announce] Holy Quran for N900
 
Quote:

Originally Posted by midcex (Post 1158400)
I mean could not recitations to detect
but I've downlod files Recitation
please solution

1) Which file did you download ? Please post a link.
2) Which version are you using ?

midcex 2012-01-31 14:14

Re: [Announce] Holy Quran for N900
 
Quote:

Originally Posted by MSameer (Post 1158403)
1) Which file did you download ? Please post a link.
2) Which version are you using ?

http://zekr.org/resources.html#recitation
(ghamdi-40kbps-offline)
version 0.5.0
please help my
thank

MSameer 2012-01-31 15:20

Re: [Announce] Holy Quran for N900
 
0.5 can play compressed recitations. It will be a bit slow though.

1) Connect the phone to PC in mass storage mode
2) Copy the recitation to .n900-quran/recitations
3) Disconnect the phone.
4) Restart the application and enable recitations.
5) Enjoy :)

aizudean 2012-01-31 15:46

Re: [Announce] Holy Quran for N900
 
Msameer, can i pause the recitation, and then enable it back? i want to pause the recitation for a moment to look at the translation, and then resume the recitation back after done... thanks. :)


All times are GMT. The time now is 06:25.

vBulletin® Version 3.8.8