Get Started

Thanks for purchasing Matrimonial

Created: 13/03/2020
By: Samyotech Lab's
Samyotech@gmail.com

The best rated matrimonial app in the world , where lakhs of men, women and their families log in every day to connect with people for marriage. Profiles of our members are quality-screened and their contact numbers are verified during registration. These family friendly features make your online matrimonial search a secure and pleasant experience.

Our interface makes it easy for the users to find their desired bride/groom on the basis of Community (Hindi, Marathi, Punjabi, Rajasthani, Bihari, Bengali, etc.) , Religion (Hindu, Muslim, Christian, Jain, Sikh etc.), Caste (Agarwal, Arora, Bania, Brahmin, Jat, Kayastha, Kshatriya, Maratha, Rajput etc).


Features
  • Perfect Matches
  • Just Join
  • Shortlisted
  • Profile Visitors
  • Send Interest
  • Received Interest
  • Live Chat with your Future Partner
  • Detailed Profile of His/Her
  • Admin Send Message to All Users by NewsLetter
  • Membership
  • Unique Design

Please Don’t Forget to Rate it!

Installation

Android Studio Installation

  1. Android Studio on Windows
  2. Android Studio on Mac
  3. Android Studio on Linux
  4. Demo Setup of Android
  5. Firebase Installation
  6. Razorpay Payment Gateway Setup
  7. App customisation


System Requirement for Android Studio

Google provides Android Studio for the Windows, Mac OS X, and Linux platforms. You can download this software from the Android Studio homepage. (You'll also find the traditional SDKs, with Android Studio's command-line tools, available from the Downloads page.) Before downloading Android Studio, make sure your platform meets one of the following requirements:

Windows OS

Microsoft Windows 7/8/10 (32-bit or 64-bit) • 2 GB RAM minimum, 8 GB RAM recommended • 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) • 1280 x 800 minimum screen resolution • JDK 8 For accelerated emulator: 64-bit operating system and Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionalit


Mac OS

• Mac OS X 10.8.5 or higher, up to 10.11.4 (El Capitan) • 2 GB RAM minimum, 8 GB RAM recommended • 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) • 1280 x 800 minimum screen resolution • JDK 6

Linux OS

• GNOME or KDE desktop: Tested on Ubuntu 12.04, Precise Pangolin (64-bit distribution capable of running 32-bit applications) • 64-bit distribution capable of running 32-bit applications • GNU C Library (glibc) 2.11 or later • 2 GB RAM minimum, 8 GB RAM recommended • 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) • 1280 x 800 minimum screen resolution • JDK 8 For accelerated emulator: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality, or AMD processor with support for AMD Virtualization (AMD-V)

1) Android Studio on Windows


To install Android Studio on Windows, proceed as follows:

  • 1. Launch the .exe file you downloaded.
  • 2. Follow the setup wizard to install Android Studio and any necessary SDK tools.

I launched android-studio-bundle-143.2821654-windows.exe to start the installation process. The installer responded by presenting the Android Studio Setup dialog box shown in Figure 1.

Clicking Next took me to the following dialog box, which gives you the option to decline installing the Android SDK (included with the installer) and an Android Virtual Device (AVD).

Figure 2. Do you want to install the Android SDK and AVD?

I chose to keep the default settings. After clicking Next, you'll be taken to the license agreement dialog box. Accept the license to continue the installation.

Figure 3. Accept the license agreement to continue installation

The next dialog box invites you to change the installation locations for Android Studio and the Android SDK.

Figure 4.Set the Android Studio and Android SDK installation locations

Change the location or accept the default locations and click Next. The installer defaults to creating a shortcut for launching this program, or you can choose to decline. I recommend that you create the shortcut, then click the Install button to begin installation.

Figure 5. Create a new shortcut for Android Studio

The resulting dialog box shows the progress of installing Android Studio and the Android SDK. Clicking the Show Details button will let you view detailed information about the installation progress.The dialog box will inform you when installation has finished. When you click Next, you should see the following:

Figure 6.Leave the Start Android Studio check box checked to run this software

To complete your installation, leave the Start Android Studio box checked and click Finish.

Running Android Studio

Android Studio presents a splash screen when it starts running:

Figure 7. Android Studio's start screen

On your first run, you'll be asked to respond to several configuration-oriented dialog boxes. The first dialog box focuses on importing settings from any previously installed version of Android Studio.

Figure 8. Import settings

If you're like me, and don't have a previously installed version, you can just keep the default setting and click OK. Android Studio will respond with a slightly enhanced version of the splash screen, followed by the Android Studio Setup Wizard dialog box:

Figure 9. Validate your Android SDK and development environment setup

When you click Next, the setup wizard invites you to select an installation type for your SDK components. For now I recommend you keep the default standard setting.

Figure 10. Choose an installation type

Click Next and verify your settings, then click Finish to continue.

Figure 11. Review settings

The wizard will download and unzip various components. Click Show Details if you want to see more information about the archives being downloaded and their contents.

Figure 12. Review settings

If your computer isn't Intel based, you might get an unpleasant surprise after the components have completely downloaded and unzipped:


Figure 13. Intel-based hardware acceleration is unavailable

Your options are to either put up with the slow emulator or use an Android device to speed up development. I'll discuss the latter option later in the tutorial.Finally, click Finish to complete the wizard. You should see the Welcome to Android Studio dialog box:

Figure 14. Welcome to Android Studio

2) Android Studio on Mac


1.Launch the Android-studio-ide-162.4069837-mac.dmg file.

2.Drag and drop Android Studio into the Applications folder, then launch Android Studio.

3.Select whether you want to import previous Android Studio settings, then click OK.

4.The Android Studio Setup Wizard guides you though the rest of the setup, which includes downloading Android SDK components that are required for development.

Running Android Studio

Android Studio presents a splash screen when it starts running:

Figure 2. Android Studio's start screen

On your first run, you'll be asked to respond to several configuration-oriented dialog boxes. The first dialog box focuses on importing settings from any previously installed version of Android Studio.

Figure 3. Import settings

If you're like me, and don't have a previously installed version, you can just keep the default setting and click OK. Android Studio will respond with a slightly enhanced version of the splash screen, followed by the Android Studio Setup Wizard dialog box:

Figure 4. Validate your Android SDK and development environment setup

When you click Next, the setup wizard invites you to select an installation type for your SDK components. For now I recommend you keep the default standard setting.

Figure 5. Choose an installation type

Click Next and verify your settings, then click Finish to continue.

Figure 6. Review settings

The wizard will download and unzip various components. Click Show Details if you want to see more information about the archives being downloaded and their contents.

Figure 7. Review settings

If your computer isn't Intel based, you might get an unpleasant surprise after the components have completely downloaded and unzipped:


Figure 8. Intel-based hardware acceleration is unavailable

Your options are to either put up with the slow emulator or use an Android device to speed up development. I'll discuss the latter option later in the tutorial.Finally, click Finish to complete the wizard. You should see the Welcome to Android Studio dialog box:

Figure 9. Welcome to Android Studio

3) Android Studio on Linux


To install Android Studio on Ubuntu, proceed as follows:

1. Open terminal in Ubuntu.

2. Run below commands One by One

2.1-sudo add-apt-repository ppa:webupd8team/java

2.2-sudo apt-get update

2.3-sudo apt-get install oracle-java-installer

2.4-sudo apt-get install oracle-java8-set-default

2.5-sudo add-apt-repository ppa:paolorotolo/android-studio

2.6-sudo apt-get update

2.7-sudo apt-get install android-studio

If you're like me, and don't have a previously installed version, you can just keep the default setting and click OK. Android Studio will respond with a slightly enhanced version of the splash screen, followed by the Android Studio Setup Wizard dialog box:

Figure 1. Validate your Android SDK and development environment setup

When you click Next, the setup wizard invites you to select an installation type for your SDK components. For now I recommend you keep the default standard setting.

Figure 2. Choose an installation type

Click Next and verify your settings, then click Finish to continue.

Figure 3. Review settings

The wizard will download and unzip various components. Click Show Details if you want to see more information about the archives being downloaded and their contents.

Figure 4. Review settings

If your computer isn't Intel based, you might get an unpleasant surprise after the components have completely downloaded and unzipped:


Figure 5. Intel-based hardware acceleration is unavailable

Your options are to either put up with the slow emulator or use an Android device to speed up development. I'll discuss the latter option later in the tutorial.Finally, click Finish to complete the wizard. You should see the Welcome to Android Studio dialog box:

Figure 6. Welcome to Android Studio

You'll use this dialog to start up a new Android Studio project, work with an existing project, and more. You can access it anytime by double-clicking the Android Studio shortcut on your desktop.

Your first Android Studio mobile app

The quickest way to get to know Android Studio is to use it to develop an app. We'll start with a variation on the "Hello, World" application: a little mobile app that displays a "Welcome to Android" message. In the steps that follow, you'll start a new Android Studio project and get to know the project workspace, including the project editor that you'll use to code the app in Part 2.

Starting a new project

From our setup so far, you should still have Android Studio running with the Welcome to Android Studio dialog box. From here, click Start a new Android Studio project. Android Studio will respond with the Create New Project dialog box shown in Figure 15.

Figure 15. Create a new project

Enter W2A (Welcome to Android) as the application name and javajeff.ca as the company domain name. You should then see C:\Users\jeffrey\AndroidStudioProjects\W2A as the project location. Click Next to select your target devices.

Figure 16. Select your target device categories

Android Studio lets you select form factors, or categories of target devices, for every app you create. I would have preferred to keep the default API 15: Android 4.0.3 (IceCreamSandwich) minimum SDK setting (under Phone and Tablet), which is supported by my Amazon Kindle Fire HD tablet. Because Android Studio doesn't currently support this API level (even when you add the 4.0.3 system image via the SDK Manager), I changed this setting to API 14: Android 4.0 (IceCreamSandwich), which is also supported by my tablet. Click Next, and you will be given the opportunity to choose a template for your app's main activity. For now we'll stick with Empty Activity. Select this template and click Next.

Figure 17. Specify an activity template

Next you'll customize the activity:

Figure 18. Customize your activity

Figure 18. Customize your activity Enter W2A as the activity name and main as the layout name, and click Finish to complete this step. Android Studio will respond that it is creating the project, then take you to the project workspace.

Figure 19. Android Studio workspace


The project workspace is organized around a menu bar, a tool bar, a work area, additional components that lead to more windows (such as a Gradle Console window), and a status bar. Also note the Tip of the Day dialog box, which you can disable if you like.

Accessing AVD Manager or SDK Manager from menu and tool bar

To access the traditional AVD Manager or SDK Manager, select Android from the Tools menu followed by AVD Manager or SDK Manager from the resulting pop-up menu (or click their tool bar icons).

The project and editor windows

When you enter the project workspace, W2A is identified as the current project, but you won't immediately see the project details. After a few moments, these details will appear in two new windows.

Figure 20. The project and editor windows

The project window is organized into a tree whose main branches are App and Gradle Scripts. The App branch is further organized into manifests, java, and res subbranches:

• manifests stores AndroidManifest.xml, which is an XML file that describes the structure of an Android app. This file also records permission settings (where applicable) and other details about the app.

• java stores an app's Java source files according to a package hierarchy, which is ca.javajeff.w2a in this example.

• res stores an app's resource files, which are organized into drawable, layout, mipmap, and values subbranches:

• res stores an app's resource files, which are organized into drawable, layout, mipmap, and values subbranches:

• drawable: an initially empty location in which to store an app's artwork• layout: a location containing an app's layout files; initially, main.xml(the main activity's layout file) is stored here.

• mipmap: a location containing various ic_launcher.png files that store launcher screen icons of different resolutions

• values: a location containing colors.xml, dimens.xml, strings.xml, and styles.xml The Gradle Scripts branch identifies various .gradle (such as build.gradle) and .properties (such as local.properties) files that are used by the Gradle-based build system.


Branch names and directory/file names

Each branch/sub-branch corresponds to a directory name or to a file name. For example, res corresponds to the res directory and strings.xml corresponds to the strings.xml file.

Demo Setup of Android

How To Open Project Not Present In Recent Projects:

  • res/drawable-mdpi - with a size of 48px x 48px
  • res/drawable-hdpi - with a size of 72px x 72px
  • res/drawable-xhdpi - with a size of 96px x 96px
  • res/drawable-xxhdpi - with a size of 144px x 144px

Step 1 –Open Android Studio. After that you Click on “Open an existing Android Studio project”.

current version

Step 2 – After that Select the File location where your file is located. We located and selected “Matrimonial” project and then Click OK.


Important Note

Alternatively you can also prefer opening build.gradle file to open project.

Step 3 – After that click on Projects >> app and then Click java and Click com.pixelnx.doctordirectory and Click utils and choose Consts file for coding Android programming will be opened and change base url of project.

FOR BASE_URL = Yourdoman.com/api

FOR IMAGE_URL =Yourdoman.com/+your folder address (for example:- Yourdoman.com/assets/images)

NOTE: Before setting up firebase Please make sure that you have changed the package name from all place of application in code.

Change app Logo

this is direction for change app logo click right on res >new >image Asset.

the press Next - Finish


Android app Customization instructions

  1. Change app logo location Matrimonial/app/src/main/res -> all mipmap folder different size logo replace with same name and same size.
  2. Change splash logo location Matrimonial/app/src/main/res/drawable-nodpi -> change this image file with your file use same name and size = "splash_logo_new_1.png" and "splash.png" and "app_icon.png"
  3. Change app name location and all your hardcode messages Matrimonial/app/src/main/res/values/strings.xml open this file location on code Matrimonial (Change only "Matrimonial" like this type value)

Demo Setup of Web

How to set up Admin Panel on localhost

Please use PHP version 7.1

PHP mysqli Version 5.0

  1. Extract the project_name.zip file on your local apache server.
  2. Create a new database on the phpmyadmin.
    • Open the browser & type run this url http://localhost/phpmyadmin/
    • Click on Database tab create new database.
  3. Enter your database name as below & click on create button.
  4. Now click on import tab.
  5. Open the project folder and find db folder open db folder then select database.sql file & then click on Go.
  6. Then the below screen will come.

Mailgun Setup

  • Step First
  • Step Second
  • Step Third
  • Setup Four : Setup mailgun into your code. Open this path to change settings:- application/config/email.php

Admin Panel Setup

Final configuration

  • • Change the base URL:- application/config/config.php
  • • Base url : https://www.matrimonix.in/
  • • Setup your database settings:- application/config/database.php
  • 'hostname' => 'localhost',
    'username' => 'root',
    'password' => '',
    'database' => 'Matrimonix',
  • • Setup your database settings:- application/config/constants.php
  • Enter your host address to check the access web admin panel eg. http://domain.com/admin/login
  • • Setup your mailgun:- application/config/email.php
  • • Use email for this place:- Admin pannel/Setting/Email alert

Change Third Party APIs

You need following API keys for third party libraries to work.

  • Firebase Push Notification- This key will be used to generate Push Notification
  • Setup Firebase Push Notification

    Follow instructions OR Video:

    • you need to create your project first Console Firebase Google
    • You can find the API KEY in: (gear-next-to-project-name) > Project Settings > Cloud Messaging

    Server Key is the API key

Errors & Solutions Log

If you're facing 404 error in setup of admin panel, Please check that your server directory have .htaccess file in it.

If you're facing 500 error, Internal Server Error server error response code The HyperText Transfer Protocol(HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. ... Usually, this indicates the server cannot find a better 5xx error code to response.

Little explanation about the installation - if you paste installation of project in directory something like http://localhost/SHOP, you must set this directory to application/config/config.php - $config['base_url'] = 'http://localhost/SHOP'; and must remove from .htaccess file "RewriteBase /" line because css and js files will not be loaded! But you must know that the best way to install this platform is to set it in root http://localhost directory or if you want to be in other directory just set virtual host for this and point him to there. (example: http://shop.dev - point to localhost/shop directory). How to create virtual hosts you can read here: http://goo.gl/UvpYMG