-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use database and font in android #5
Comments
the guy who can answer this best is gone for at least a week, just a heads On Mon, May 2, 2016, 5:15 AM Paijo RX [email protected] wrote:
|
There are many toturials on interent about that. |
sorry about my question before. |
sorry for the delay - basically, the database file has a table with some columns - the sura number, ayah number, page number, line on the page, and the text. if you want to actually use this information to draw images yourself (instead of using the images this project generates for you), you basically just need to display the text in the database using the font corresponding to the page. in other words, to display the ayah 1 of surah fatiha, you'd use QCF_P001.TTF (since the page number is 1, so for sura Nas, you'd use QCF_P604.TTF), and you'd draw the text that's present in the table where page is 1, sura is 1, ayah is 1, and line is 1. |
How to use fonts is not clear, for example, if I want to choose Surah al Imran, and there are generally other inscriptions appear. |
Assalamualaikum.
i'm new in android.
how to use the sqlite database and fonts in android ?
thank you
The text was updated successfully, but these errors were encountered: