View Single Post
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#344
2 large posts... I'll reply to ejasmudar and TransTech in one post!

I'll check the icons and report back. Thanks TransTech.

Installation:
=========
Full instructions will be available in the application itself.
I already managed to get the app to recite

The app will support 2 formats:
1) The .recit.zip used by Zekr.
2) A custom one: Just put the mp3s in a folder and create a simple file to tell the app about it.

I really wouldn't want the user to download the recitations on the phone. Extracting the zip fill will take a LONG time. I tried it myself.

I'll anyway link to the download page and the browser will be invoked.

Espeak issue:
===========
I really prefer a separate application. A class that looks like this:
<code>
class Translation:
def listAvailable():
"""Returna a list of available translations"""
pass

def chapterText(translationId, chapter):
"""returns a list of text strings for the given chapter and translation"""
pass
</code>

An application can do something like:
<code>
translations = Translation.listAvailable()
for t in translations:
for x in range(1, 114):
text = Translation.chapterText(t, x)
for r in text:
# invoke espeak with the textual data
# Save the output wav
# encode it in mp3
# save the file somewhere
</code>

I can optionally add wav support to the custom format which eliminates the encoding part.

Generating the mp3 files from the quran application itself on the fly might slow down the recitation.
We can always generate the next aya while reading the previous but think about the battery life.

Fade in effect:
===========
I'll try to implement slide in and/or faster fade in effect and show you the result. It will take some time though.

App Icon:
=======
I thought he's the one who created it completely. I now realize I was mistaken. I really like the harmattan style and thinking about using it for both N900 and N9

Navigation:
=========
The separate toolbar sounds like a nice idea but it will also consume space especially in landscape mode :|
We can always double the height of the upper part and add an icon there.

5.A:
Tapping on the Aya has been reserved already for showing translations in hidden mode.
We can however modify. Tapping on an aya will show the hidden translation but will also show a small bar with icons.
That bar will contain an icon for:
1) Playing the recitation for the aya
2) Bookmarking/unbookmarking.
3) Repat the aya until you stop it.
4) Play the ayat from that position until the end of the page
5) Play until the end of the sura.
That new bar will also show up if you long tap (Instead of the menu).

5.B:
long tap has a function. I don't really want to overload it (See 5.C)

5.C:
We can add the stop button to the new functions menu.

How about we add those functions to the application menu ?
I can try to add a bottom row to the menu. That button row simply replaces the functions menu you are proposing ?

5.E:
The page will scroll when doing sura/page recitation. If you switch the page then the recitation will stop because it cannot show the aya being played.

5.F:
Holding upside down or simply tapping an icon in the functions menu.

One of the issues I'm facing is placing the sura recitation icon. The font size and the contents of the header are not fixed. At the same time I don't want it to cover part of the sura name.
 

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