Multi Vendor E-Book Android App

Created:- 15 March 2019
Company:- DivineTechs
Support Email:- support@divinetechs.com
Skype:- support.divinetechs
Contact:- Codecanyon Profile

Thank you for purchasing the app. If you have any questions that are beyond the scope of this help file, please feel free to message me via my user page contact form Here. Thanks so much!


Which Android Studio version is needed?

Latest Android Studio version is recommended, which can be downloaded from here:
http://developer.android.com/intl/en/sdk/index.html



How to Open The Project in Android Studio?

  • Open Android Studio > Open an Existing Android Studio Project > Select Your Project build. gradle file > ok
  • Select Project

How to change the package name?

You can change it easily from Android Studio. Here are the steps:

  • In the Project pane, click on the little gear icon.Uncheck/Deselect the Compact Empty Middle Packages option.
  • Your package directory will now be broken up in individual directories.
  • Individually select each directory you want to rename, and: Right-click itSelect RefactorClick on RenameIn the Pop-up dialog.
  • Click on Rename Package instead of Rename Directory Enter the new name and hit RefactorAllow a minute to let Android Studio update all changes.
  • Now open your build.gradle (Usually 'app' or 'mobile'). Update the applicationId to your Package Name and Sync Gradle, if it hasn't already been updated automatically.

Note: When renaming com in Android Studio, it might give a warning. In such case, select Rename All.


How to change app name?

  • Open Android Studio >DanceApp > res > values > strings.xml
  • Enter your app name inside "app_name" string tag:
    <string name="app_name">E-Book App</string>

Where to put Admob Publisher ID in Application?


How to Change Facebook ids & Gmail ids ?


How to Change AdMob id?


How to Change Server Url in Application?

  • Open Android Studio > app > package
  • now if your Sever is http://www.abc.com so your service url like that
    http://abc.com

How to change Application Icon and App Color Code'?

How To Change Application Icon

  • Open Android Studio > app > res >
  • Rename your icon with ic_launcher.png and paste in all mipmap folders

How To Change App Color Code

  • Open Android Studio > app > res >values > color.xml
  • Replace your color code on color.xml file



How to generate FCM server key and replace google-service.json?

Open https://console.firebase.google.com

  • Create New Project
  • Download google-service.json file and replace

How to Change One Signal Id And Rest Key?


How to Send Notification From Admin?

  • Open Admin Panel > Notification
  • Enter title and message which are mandatory
  • Upload Image if you want to show in notificaiton. This is optional
  • If you want to show particular video select any video when click on notification. This is optional
  • Image Size Minimum - 512x256 & Maximum - 2880x1440 for Notification

How to Change Network Security domain if you use SSL ?

if you are using SSL on your domain then follow below steps

  1. follow step to find file >> Appliction >> res >> xml >> network_security_config.xml
    divinetechs.com //replace your domain xyz.com

How to Change One Signal Notification App Id in Application?

Get your Google Server API key and project number.
https://documentation.onesignal.com/docs/generate-a-google-server-api-key

How to Change One Signal App Id And Sender Id

  • Open Android Studio > App > build.gradle(Module:app)
  • Enter your Onesignal App id inside"onesignal_app_id"
    onesignal_app_id ="Your onesignal_app_id"
  • Enter your Project Number inside"onesignal_google_project_number"
    onesignal_google_project_number ="Your Project Number"

How to Change One Signal Notification App Icon in Application?

How to Change One Signal Notification App Icon
  • Open Android Studio > app > res
  • Rename your icon with ic_stat_onesignal_default.png and ic_onesignal_large_icon_default.png paste in drawable-hdpi folders


How to Change Paypal ID & UPI Ids for Payment?

  • Open Admin panel > Settings > Payment Settings
  • Replace your Paypal Key & UPI IDs here as per below screenshot


How to Change Razorpay key ID ?

  • Open Xcode > Project > App > classes > config > Constant.h
    • Open Admin panel > Settings > Payment Settings
    • Replace your Razorpay Key & UPI IDs here as per below screenshot


    How to Generate Signed APK?

    Create New Keystore

    • Click Build > Generate Signed APK

    • Click On Create New or if you are updating app click choose existing

    • Select Keystore Path
    • Enter Keystore password and confirm password
    • Enter any name for alias
    • Enter key password and confirm password
    • Choose Validity Years
    • Fill rest of the details and click OK

    • Enter keystore password, alias name and key password and click next

    • Choose the signed apk destination
    • Tick the signatures
    • Click Finish

    Note :- Please save the keystore and remember the keystore password, alias and key password. If you want to update app in future you have to use this keystore. With new keystore you cannot update your app


    Server Setup (Admin Panel Configration)

    How to Configure Webservice In Your Server?

    Live Installation

    Follow the video tutorial ahead.

    1. First of all find the ebook folder from the downloaded package and upload on live server.
    2. Then create a database.
    3. Import the database from the db folder.
    4. Aftre creating database configure the database.php file,which is in the includes folder of your package. >> Appliction >> config >>
      hostname="localhost"; //Depends on hosting, normaly localhost
      userName="db_user";
      password="db_pass";
      database="db_name";
  • Open Config.php & change base_url which is in the includes folder of your package. >> Appliction >> config >>
    $config['base_url'] = 'add your server url';

    now run the admin panel : http://domain.com/php_web_services/index.php/admin

    Default Login Details
    User: admin@gmail.com
    Pass: 12345

    Android API Base URL : http://domain.com/php_web_services/index.php/api/

    That’s all