quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
2.02k stars 890 forks source link

Shemerly Quran pages #665

Closed ahmedre closed 2 years ago

ahmedre commented 8 years ago

we have the pages for Shemerly as contributed by our brother Waleed Ibrahim, jazahuAllah khairan. we should have a Shemerly version of the app.

ahmedre commented 8 years ago

so 5ba6c51 contains an initial implementation of supporting the Shemerly pages. i figured i'd open this with a list of outstanding problems (and also to get any feedback/ideas from the community about what we should do - push it or not, etc).

a few problems with this version:

general problems

bugs

not yet implemented

my main concerns with respect to releasing this are the image download size issue (major problem, since device storage is little and bandwidth is precious in many countries), followed by the bugs (though only 2 of them can be (reasonably) fixed, the third one will take a lot of work - either manual, or figuring out an automated way to figure out the timestamps where the pages are switched).

on the flip side, a search for Shemerly in Google Play (both in Arabic and English) shows no results, and in the iOS App Store, only 1 result, last updated in 2014.

ozbek commented 8 years ago

Please excuse my ignorance, but what/who is "Shemerly"? Google search is yielding only some personal Facebook and twitter pages.

ahmedre commented 8 years ago

it is exactly like the normal mus7af (madani mus7af, hafs 3an assem) - the difference is that ayat can span multiple pages (unlike the standard Madani mus7af where ayahs never span pages), and, consequently, it's a total of 521 pages instead of 604. it's pretty popular among people in Egypt (not sure about other countries).

see an example here: http://android.quran.com/data/shemerly/width_1200/page007.png

ahmedre commented 8 years ago

update - re-compressed the images with less colors (using convert -colors 64 +dither source destination), and re-optimized them - now the zip is at 112mb.

ahmedre commented 7 years ago

closing for now since there are no action items at the moment - an apk is buildable and works, and we can re-visit when we figure out if we will support multiple page types in the same apk or not.

ducaale commented 5 years ago

would a list of each page first word index help? this is the first 5 juz'. I can add more if it helps

update: here all 30 juz`
shemerly_page_first_word_index.txt

ahmedre commented 5 years ago

re-opening - in sha' Allah will see what's left to release this and i'll update here if i need any help

ahmedre commented 5 years ago

oh and jazakAllah khairan by the way.

ducaale commented 5 years ago

The web version of quran has audio that is indexed by word, is it the same for quran android? If it is the same then it can be combined with shemerly_page_first_word_index.txt the fix the third bug.

ducaale commented 5 years ago

Hi @ahmedre, how can I build the shemerly variant?

ahmedre commented 5 years ago

you can't right now - if there's interest i can make the page type accessible in the normal Quran for Android app under page types though since everything is pretty much working.

ducaale commented 5 years ago

I wanted to see if i can fix bug number 3

also due to the above, when playing audio on an ayah at the bottom of page x which continues on page x + 1, the app automatically puts you on page x + 1. this isn't ideal, but the only way to handle this is to know which part of the ayah (and audio file) are part of page x vs which are parts of x + 1.

ahmedre commented 5 years ago

what was your plan to fix it? really the only fix is if we know where the audio for each ayah begins and ends so we can transition to the next page at the right time.

ducaale commented 5 years ago

the audio for quran_frontend is indexed by word, is it the same for quran_android?

ahmedre commented 5 years ago

not for all the qaris though unfortunately :(

ducaale commented 5 years ago

qaris that are indexed by word together with shemerly_page_first_word_index.txt can be used change page automatically when ayah continues on the next page.

then the qaris that will be shown when using shemerly will be the ones that are index by word only.

ahmedre commented 5 years ago

excellent masha'Allah - the remaining issue is just which qaris overlap - the answer sadly might be none, because of all the qaris supported on quran.com, they're all gapped qaris and not gapless. there's a plan to fix this but it may take some time

ducaale commented 5 years ago

do you mean when qaris repeats the same word?

the remaining issue is just which qaris overlap

ahmedre commented 5 years ago

no i mean the timings for words we have are only for a set of gapped qaris (a handful of the ones on quran.com). most of those in Quran for Android have either switched to gapless (or will in the next release in sha' Allah) which means we don't have word by word timings at the moment for them.

in sha' Allah planning to generate them, but it'll take some time.

honestly i don't think bug 3 is a feature blocker for releasing the Shemerly pages - they'd still be useful to people even if the audio causes the next page portion of the ayah to be highlighted until we fix it - what do you think?

ducaale commented 5 years ago

I think it can be released as public beta until all bugs are sorted out. shemerly mushafs are becoming rarer these days that it would a benefit a lot of people if this was to be released in the PlayStore.

benomaire commented 4 years ago

King Fahd Glorious Quran Printing Complex prepared a Mushaf (written by Uthman Taha) matching Shemerly print. For details look at pages 80-86 of https://qurancomplex.gov.sa/kfgqpc-books-booklets-complextechguide/

This version is available in

  1. https://play.google.com/store/apps/details?id=com.kfgqpc.mmn
  2. https://apps.apple.com/app/id1462577431
  3. http://iswy.co/e2ar0e
  4. https://www.almeshkat.net/book/14787

I know that using this version might require repeating some of the work done on the original Shemerly version, but it is an option. May be both can be included!

UPDATE: Now this new Mushaf is posted on Quran Complex website, and named المصحف العادي - 3.

ahmedre commented 2 years ago

closing this now that the app ships with Shermerly.