Skip to content

Commit

Permalink
update readme & change images for intro & release app to store
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudMabrok committed Jun 28, 2019
1 parent 4aefc91 commit d5b44a1
Show file tree
Hide file tree
Showing 42 changed files with 158 additions and 42 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ Open Source HolyQuran app that provide Read, Listen, Tafseer, Test all of them a
- [V2.0](https://www.youtube.com/watch?v=hzJV1lth958).
- [V1.8](https://www.youtube.com/watch?v=-DbH0EKkAzw).
- apk
- [V2.1.3](https://github.com/MahmoudMabrok/QuranyApp/blob/master/apk/appv2_1_3.apk).
- [V2](https://github.com/MahmoudMabrok/QuranyApp/blob/master/apk/appv2.apk).

-[v2.5.1](https://drive.google.com/open?id=1iU-WgufHMAELKOmClhW2Z18Miyef4f4v).


# Features
- Go to specific sura by Scrolling and click.
Expand All @@ -29,6 +28,8 @@ Open Source HolyQuran app that provide Read, Listen, Tafseer, Test all of them a
- Points for Tasmee3
- can report a bug, chat with app developer powered by InstaBug - explaned in demo video - (Not Available now).
- ReadLog that store pages user read.
- Continue reading when open app.
- App is Full Quran and Tafseer.

# Challenges
- **Data**
Expand Down Expand Up @@ -131,6 +132,15 @@ it was called after ``dialoge.setContentView()``, it is error to call it after `

# ChangeLog

- **V2.5.1**
- Add awesome Intro
- Add continue reading feature that Ask user to go to last page to read.
- App start with Quran & Tafseer loaded.
- Improve UI for bottom nav
- add labels and it appear all the time.



- **V2.3.1**
- Add ReadLog that store pages user read.
- Improve UI for page switching.
Expand Down Expand Up @@ -188,16 +198,12 @@ XML | 3498
# Screens

<ul>
<li> <img src="images/1.png" width = 40%></li>
<li> <img src="images/2.png" width = 40%></li>

<li> <img src="images/3.png" width = 40%></li>
<li> <img src="images/4.png" width = 40%></li>

<li> <img src="images/5.png" width = 40%></li>
<li> <img src="images/6.png" width = 40%></li>


<li> <img src="images/home.png" width = 20%>
<img src="images/lastread.png" width = 20%>
<img src="images/listen.png" width = 20%>
<img src="images/quran.png" width = 20%>
<img src="images/readlog.png" width = 20%>
<img src="images/search.png" width = 20%></li>
</ul>>


Expand Down
Binary file removed apk/appv2.apk
Binary file not shown.
Binary file removed apk/appv2_1_3.apk
Binary file not shown.
8 changes: 8 additions & 0 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,27 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javac" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/linked_res_for_bundle" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged-not-compiled-resources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/metadata_feature_manifest" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/module_bundle" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/processed_res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard-files" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard-rules" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res_stripped" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shader_assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shrunk_linked_res_for_bundle" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/signing_config" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/reports" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 28 Platform (1)" jdkType="Android SDK" />
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
tools:ignore="UnusedAttribute">


<service
android:name=".feature.listening_activity.ListenServie"
android:exported="false"></service>
<service
android:name=".feature.services.LoadDataQuranTafseer"
android:exported="false" />
Expand All @@ -29,7 +30,6 @@
android:name=".feature.welcome_message.BootReceiver"
android:enabled="true"
android:exported="false">

<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.AIRPLANE_MODE" />
Expand All @@ -45,7 +45,7 @@
android:name=".feature.test_sound.TestSoundActivity"
android:exported="true"
android:label="@string/title_activity_test_sound"
android:theme="@style/AppTheme.NoActionBar"></activity>
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".feature.show_ayahs_from_pdf.ShowAyahsPDF"
android:exported="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ protected void onResume() {
int id = navigation.getSelectedItemId();
navigation.setSelectedItemId(id);

// when return to read fragment from home
if (id == R.id.navigation_read) {
checkLastReadAndDisplayDialoge();
}
}


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
package education.mahmoud.quranyapp.feature.listening_activity;

import android.app.IntentService;
import android.content.Intent;
import android.content.Context;

/**
* An {@link IntentService} subclass for handling asynchronous task requests in
* a service on a separate handler thread.
* <p>
* TODO: Customize class - update intent actions, extra parameters and static
* helper methods.
*/
public class ListenServie extends IntentService {
// TODO: Rename actions, choose action names that describe tasks that this
// IntentService can perform, e.g. ACTION_FETCH_NEW_ITEMS
private static final String ACTION_FOO = "education.mahmoud.quranyapp.feature.listening_activity.action.FOO";
private static final String ACTION_BAZ = "education.mahmoud.quranyapp.feature.listening_activity.action.BAZ";

// TODO: Rename parameters
private static final String EXTRA_PARAM1 = "education.mahmoud.quranyapp.feature.listening_activity.extra.PARAM1";
private static final String EXTRA_PARAM2 = "education.mahmoud.quranyapp.feature.listening_activity.extra.PARAM2";

public ListenServie() {
super("ListenServie");
}

/**
* Starts this service to perform action Foo with the given parameters. If
* the service is already performing a task this action will be queued.
*
* @see IntentService
*/
// TODO: Customize helper method
public static void startActionFoo(Context context, String param1, String param2) {
Intent intent = new Intent(context, ListenServie.class);
intent.setAction(ACTION_FOO);
intent.putExtra(EXTRA_PARAM1, param1);
intent.putExtra(EXTRA_PARAM2, param2);
context.startService(intent);
}

/**
* Starts this service to perform action Baz with the given parameters. If
* the service is already performing a task this action will be queued.
*
* @see IntentService
*/
// TODO: Customize helper method
public static void startActionBaz(Context context, String param1, String param2) {
Intent intent = new Intent(context, ListenServie.class);
intent.setAction(ACTION_BAZ);
intent.putExtra(EXTRA_PARAM1, param1);
intent.putExtra(EXTRA_PARAM2, param2);
context.startService(intent);
}

@Override
protected void onHandleIntent(Intent intent) {
if (intent != null) {
final String action = intent.getAction();
if (ACTION_FOO.equals(action)) {
final String param1 = intent.getStringExtra(EXTRA_PARAM1);
final String param2 = intent.getStringExtra(EXTRA_PARAM2);
handleActionFoo(param1, param2);
} else if (ACTION_BAZ.equals(action)) {
final String param1 = intent.getStringExtra(EXTRA_PARAM1);
final String param2 = intent.getStringExtra(EXTRA_PARAM2);
handleActionBaz(param1, param2);
}
}
}

/**
* Handle action Foo in the provided background thread with the provided
* parameters.
*/
private void handleActionFoo(String param1, String param2) {
// TODO: Handle action Foo
throw new UnsupportedOperationException("Not yet implemented");
}

/**
* Handle action Baz in the provided background thread with the provided
* parameters.
*/
private void handleActionBaz(String param1, String param2) {
// TODO: Handle action Baz
throw new UnsupportedOperationException("Not yet implemented");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,60 +39,72 @@ private void startServices() {

private void askPermissionForApp() {
askForPermissions(new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE,
Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.RECORD_AUDIO}, 5);
Manifest.permission.READ_EXTERNAL_STORAGE}, 1);
}

private void initSlides() {
SliderPage sliderPage = new SliderPage();
sliderPage.setTitle("Home");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.list);
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.home);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));

sliderPage = new SliderPage();
sliderPage.setTitle("Quran Read");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.ic_launcher);
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.quran);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));

sliderPage = new SliderPage();
/*sliderPage = new SliderPage();
sliderPage.setTitle("Quran tafseer");
sliderPage.setDescription("HollyQuranApp");
//sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.tafseer);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));
addSlide(AppIntro2Fragment.newInstance(sliderPage));*/

sliderPage = new SliderPage();
sliderPage.setTitle("Quran Search");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.ic_launcher);
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.search);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));

sliderPage = new SliderPage();
sliderPage.setTitle("Quran Test as text");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.jump);
sliderPage.setTitle("Listen");
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.listen);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));



sliderPage = new SliderPage();
sliderPage.setTitle("Read Log");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.ic_launcher);
sliderPage.setTitle("Quran Test");
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.test);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));

sliderPage = new SliderPage();
sliderPage.setTitle("Jump");
//sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.jump);
sliderPage.setBgColor(R.color.primaryTextColor);
addSlide(AppIntro2Fragment.newInstance(sliderPage));




sliderPage = new SliderPage();
sliderPage.setTitle("Setting");
sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.ic_launcher);
// sliderPage.setDescription("HollyQuranApp");
sliderPage.setImageDrawable(R.mipmap.setting);
sliderPage.setBgColor(R.color.bg_green);
addSlide(AppIntro2Fragment.newInstance(sliderPage));


}


Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
android:paddingStart="@dimen/_6sdp"
android:paddingEnd="@dimen/_6sdp"
android:text="@string/test_sound"
android:textColor="@color/bg_white" />
android:textColor="@color/bg_white"
android:visibility="gone" />


</LinearLayout>
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/layout/tafseer_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/_10sdp">
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginBottom="@dimen/_10sdp"
app:cardCornerRadius="@dimen/_16sdp">

<LinearLayout
android:layout_width="match_parent"
Expand Down
Binary file removed app/src/main/res/mipmap-hdpi/jump.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-hdpi/list.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-hdpi/tafseer.png
Binary file not shown.
Binary file added app/src/main/res/mipmap-ldpi/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-ldpi/jump.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-ldpi/list.png
Binary file not shown.
Binary file added app/src/main/res/mipmap-ldpi/listen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-ldpi/quran.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-ldpi/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-ldpi/setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-ldpi/tafseer.png
Binary file not shown.
Binary file added app/src/main/res/mipmap-ldpi/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/jump.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/list.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/tafseer.png
Binary file not shown.
Binary file removed images/1.png
Binary file not shown.
Binary file removed images/2.png
Binary file not shown.
Binary file removed images/3.png
Binary file not shown.
Binary file removed images/4.png
Binary file not shown.
Binary file removed images/5.png
Binary file not shown.
Binary file removed images/6.png
Binary file not shown.
Binary file removed images/7.png
Binary file not shown.
Binary file removed images/8.png
Binary file not shown.
Binary file removed images/9.png
Binary file not shown.
Binary file added images/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lastread.png
Binary file added images/listen.png
Binary file added images/quran.png
Binary file added images/readlog.png
Binary file added images/search.png
Binary file added images/setting.png
Binary file added images/testresult.png

0 comments on commit d5b44a1

Please sign in to comment.