Documentation

Last updated: 13 JAN 2023

Android studio

Download Android studio

To use this project you need to download the android studio on your computer first you need to visit this link (click button below) then click the button "DOWNLOAD ANDROID STUDIO" to get the latest version for your system

Download Android studio


Install Android studio

After Download the Android Studio you need to install it on your PC/MAC.


Follow the steps here to install -> Official Google Docs.

Open Project in Android studio

Now you need to open the Android Application on Android Studio just follow the steps below to open the project .

1. In Menu, click File > New > Import Project, and select the project file. .


Config Android Project

After Download , install and open the project on Android Studio , now you need to config your source code and make it ready by change package name config.



Change the package name

Every Android Application on Google Play has a unique package name (unique id) , for this application too we need to use a unique package name , for that you need to choose a unique package name (ApplicationId) with three part for example : com.companyname.appname , now to change you package name follow thesteps below. :


1. right click and change the package name as whatever you want. (should be Unique)"









Please note

  • The only special characters allowed on package name its underscore
  • Don't change the "com" part on package name
  • Google will not allow you to change the package name after publish the app on google play

Firebase Configuration

After Change package name now you need to config the firebase (firebase its a google service used to send notification)

1. Go to Firebase Console, create new project - "Name the project whatever you want."




2. Click on Android to create Android App inside our project



3. Enter the Application Package Name, you will get in AndroidManifest.xml file and click on register.



4. Download the Json file and paste/replace in app folder




Please note

  • Don't try to generate APK without config firebase
  • Don't try To sync the project without config firebase

Admob Ads Configuration

After config Firebase now you need to config the Admob Ads Application (this configuratio required to show Googel Ads. )

Go to Google Admob Console and add new app.
Now create Native ad Unit ID and Banner Ad Unit ID and paste in below places.
 Android App>res>values>strings.xml 
and add your Ads ID :
 
<string name="admob_app_id">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 
<string name="native_ad_id">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 
<string name="banner_ad_id">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 
<string name="interstitial_ad_id">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 
<string name="appopen_ad_id">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 
                                                


Add your Envato Market Item purchase code

To protect your application on google play you need to add your item purchase code in your application , to do this , go to your Envato Profile > Download > Section > click Download on The The Application and Download the license and copy your item purchase code .
then go to

 Android App>res>values>strings.xml 

and add your item purchase code there :
 <string name="ITEM_PURCHASE_CODE">xxxx-xxxx-xxxxx-xxxxx-xxxxxx-xxxxx</string> 

Please note

  • If you haven't entered a valid purchase code, we assume that you are using an unauthorized version, and we may initiate a copyright claim through Google Play Console. This could result in the removal of your application from the Play Store

Android Application Customization

After config everything now you app need a customization to take your touch like title,icon,colors ....


Change the application Name and Email

To change the application name
Go to :

Android App>res>values>strings.xml
And change the application name there :
<string name="app_name">stickers </string>


To change the Support Email Address
Go to :

Android App>res>values>strings.xml
And change the Email Address here :
<string name="get_mail">yourmail@gmail.com </string>

Change the application colors

To change the application colors
Go to :

Android App>res>values>colors.xml
And change the application colors there :

<color name="colorPrimaryDark">#COLOR_CODE</color> 
<color name="colorPrimaryLight">#COLOR_CODE</color>
<color name="colorPrimary">#COLOR_CODE</color>
<color name="colorPrimaryDarkMenu">#COLOR_CODE</color>
<color name="colorPrimarybg">#COLOR_CODE</color>
<color name="colorAccent">#COLOR_CODE</color>
<color name="favColor">#COLOR_CODE</color>
<color name="surface_bg_color">#COLOR_CODE</color>
                                            



App Updates

Please note

  • Note : Don't Update directly from version 1.1 to 1.4 or 1.1 to 1.3
  • Always update to the next version of yours current version. For Example if you using 1.1 version, then update to 1.2 version and then update to 1.3 and so on.

Use JAVA Version 11

To avoid JAVA Version issues, please make sure to use JAVA JDK 11