You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
someone, please help me (I am newbie)... how to use this librarry.. I try hard but still cannot understand how to use this librarry... I have text quran from my database and its work, I need to convert so my text quran have Tajweed Highlighting.
this my code:
` private ArrayList generateData(){
String query, query2, query3;
ArrayList<Items> items = new ArrayList<Items>();
SharedPreferences prefs = this.getSharedPreferences("MyPrefsFile", MODE_PRIVATE);
Integer surah = prefs.getInt("surafragment", 1);
query = "SELECT text AS WORD FROM quran where Sura = '" +surah+"'";
query2 = "SELECT text AS WORD FROM qurantransliteration where Sura = '" +surah+"'";
query3 = "SELECT text AS WORD FROM quranid where Sura = '" +surah+"'";
quranCursor = db.rawQuery(query, null);
quranCursor2 = db.rawQuery(query2, null);
quranCursor3 = db.rawQuery(query3, null);
Integer i= 1;
if (quranCursor.moveToFirst() && quranCursor2.moveToFirst() && quranCursor3.moveToFirst()) {
items.add(new Items (quranCursor.getString(0), i+". "+quranCursor2.getString(0),i+". "+quranCursor3.getString(0)));
while (!quranCursor.isLast() && !quranCursor2.isLast() && !quranCursor2.isLast()) {
quranCursor.moveToNext();
quranCursor2.moveToNext();
quranCursor3.moveToNext();
i = 1+i;
items.add(new Items(quranCursor.getString(0),i+". "+ quranCursor2.getString(0), i+". "+quranCursor3.getString(0)));
}
}
return items;
}
`
I try: items.add(new Items (new TajweedRules (quranCursor.getString(0), i+". "+quranCursor2.getString(0),i+". "+quranCursor3.getString(0))));
but it cannot be applied (expected actual, parameter argument), pls help me
The text was updated successfully, but these errors were encountered:
Asalaamualaikum brother, this project is incomplete right now. inshaAllah once it is finished, the instructions to use it will be made available in the readme
someone, please help me (I am newbie)... how to use this librarry.. I try hard but still cannot understand how to use this librarry... I have text quran from my database and its work, I need to convert so my text quran have Tajweed Highlighting.
this my code:
` private ArrayList generateData(){
`
I try:
items.add(new Items (new TajweedRules (quranCursor.getString(0), i+". "+quranCursor2.getString(0),i+". "+quranCursor3.getString(0))));
but it cannot be applied (expected actual, parameter argument), pls help me
The text was updated successfully, but these errors were encountered: