0% found this document useful (0 votes)
80 views

Phpstack 390430 1378032 Cloudwaysapps Com Installation Docs

The document provides instructions for configuring an Android application project template purchased from FAB ARTIST. It includes steps to install Android Studio and SDK components, import and set up the Android project, configure options like the app name, color, icon and API links. It also describes how to set up Firebase, obtain debug and release keys, integrate Google Maps and configure the backend web service and database.

Uploaded by

elmoustaphael
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

Phpstack 390430 1378032 Cloudwaysapps Com Installation Docs

The document provides instructions for configuring an Android application project template purchased from FAB ARTIST. It includes steps to install Android Studio and SDK components, import and set up the Android project, configure options like the app name, color, icon and API links. It also describes how to set up Firebase, obtain debug and release keys, integrate Google Maps and configure the backend web service and database.

Uploaded by

elmoustaphael
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

- Get Started

- Install Android studio Get Started


- SDK Manager Thanks for purchasing FAB ARTIST
- Importing Android Project
Please read the documentation carefully, and if you have any questions, please feel free to contact us. Most pages are
accompanied by a video tutorial, it's recommended to check both, the video and the written Documentation.
- Change App Name & Color
- Change Bundle ID Must Read this:
- Change App Name
After purchase, it is suggested to setup the Web API rst for smooth functioning of the application.
- Change Color Scheme

- Change App Icon Web API is in PHP 7.0 and it will work on all hosting packages

- Change API Links

- Firebase Con guring


- Debug and release Key Android Con guration
- Google Map Con gration
In order to start con guration, you need to install Android studio and the 'Java SE Development Kit'. First download
the android studio from here Android Studio
- Web Setup & Database
Con guration

- Deployment How to Install Android Studio with Java JRE/JDK 8 on Micr…


Micr…
- Database Setup & Con guration Watch later Share

- Admin Panel Setup

- Change Third Party API

- Error Log

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Watch on

SDK Manager
The installer, as also shown in the video should automatically download and install all required components. If you
want to do manual setup, download at least the following components using the SDK manager

SDK tools
SDK platform Tools
SDK Build Tools
Google Play Services
Android Support Library
Google Repository
Google USB Driver

You can download these SDK, if not installed already, using the SDK manager SDK Manager after this, you can open
Android Studio and continue.

Importing Android Project


To import the template, simply open Android Studio and import/open the template. Make sure to wait for all the
processes (the Gradle Build) to complete before continuing to the next step.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
How to Import android Project in Android Studio
Watch later Share

Watch on

Addition steps
Additional steps are required sometimes if the Gradle Build fails. In some cases additional components are needed,
Android Studio will ask you to do download these additional SDK components in the 'messages' tab, simply follow the
instructions provided to install and download the additional components.

Change Bundle ID

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
How to Change Package name of Android Application
Watch later Share

Watch on

Change App Name

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Above illustration demonstrates the process to change the name of application.

Change Color Scheme

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Above illustration demonstrates the process to change the Colors of the application.

You can change your apps colors to create a custom look. The primary color is the color of the Toolbar, some buttons
and headers. The primary dark color is used for e.g. the status bar. Get more color from here material.io

Change App icon


Now you need to put a png le with your icon named 'ic_launcher.png' in the following folders:

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

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
this URL will help you resize your images or event create new icon to your app Launcher Icon Generator

Change API Links

Above illustration demonstrates the process to change the Rest Api link of the application

Your API Base-URL for Mobile End is look like that:- http://domain.com/Webservice/

For Example:- http://phpstack-132936-7675669.cloudwaysapps.com/Webservice/

Firebase Con guring


Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
How to add rebase in our android Application
Watch later Share

Watch on

Change Firebase Db Rules

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Debug and release Key
Before going to the next step, you have to learn about the Sh1 key for both debug and release. If you are in the
development mode then you will use the debug sh1 key but when you are going to publish the app on play store, you
will have to use the sh1 key of Release key

Debug Key

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Signed or release key
To get sh1 released, follow below two steps.

Step1: You have to generate your own app signing key

Step2: Get the Sh1 key of app signing key

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Step 1: Create your own app signing key

Create signing key

Step 2: Get the Sh1 key. Run the below command on Command Prompt

keytool.exe -list -v -alias {alies name you set according to above toturial "key0" is the alies name} -keystore "{ le
adress of the key}" -storepass {password} -keypass {password}
Also demonstrated all the steps in video and screen shots

Generate SHA1 ngerprint of release keystore using keytool


Watch later Share

Watch on

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Google Map Con gration
First you have to add Firebase account in your application/project and then only you will be able to see your project
on Google API Console.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Web Con guration
Installing FabArtist in PHP

Before getting started, please make sure your web server meets all the below pre-requisites:

PHP Version 7.1


CURL Extension (enabled on most hosts by default)
MySQL extension (enabled on most hosts by default)

Deploying the PHP Application on a Remote Web Server


Deploying the PHP Application on a Remote Web Server

Upload Zip le of the project in folder public_html on server and extract it. Now you will be able to see your
directory as demonstrated below.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Database Setup & Con guration
Database Installation

Create Database in mysql databases ( in cPanel )

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create user in mysql databases ( in cPanel )

List of users where you can manage it.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Import sql le in your database by going into phpmyadmin

Import sql le successfully!

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Admin Panel Setup
Final con guration

• Change the base URL:- application/con g/con g.php


Your Admin Panel base URL:- http://domain.com/
Your Apis base URL:- http://domain.com/Webservices/
Please add Language for header in Apis(Language = en)

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
• Setup your database settings:- application/con g/database.php

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
'hostname' => 'localhost',
'username' => 'root',
'password' => '123',
'database' => 'FabArtist',
Enter your host address to check the access web admin panel eg. http://domain.com/admin

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Change Third Party APIs
You need following API keys for third party libraries to work.

Firebase Push Noti cation- This key will be used to generate Push Noti cation
Setup Firebase Push Noti cation

Follow instructions OR Video:

you need to create your project rst Console Firebase Google


You can nd the API KEY in: (gear-next-to-project-name) > Project Settings > Cloud Messaging
Server Key is the API key

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
foodies rebase push noti cation
Watch later Share

Watch on

Enter your rebase key inadminpanel->settings->app settings as shown below

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Errors & Solutions Log
If you're facing 404 error in setup of admin panel, Please check that your server directory have .htaccess le 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 ful lling the request. ... Usually, this indicates the server cannot nd 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/con g/con g.php - $con g['base_url'] =
'http://localhost/SHOP'; and must remove from .htaccess le "RewriteBase /" line because css and js les 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

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

You might also like