Video Streaming App
Updated:- 26 Jan 2024
Company:- Viavi Webtech - India
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 us via my user page contact form Here. Thanks so much!
Which Android Studio version is needed?
Android Studio Electric Eel | 2022.1.1 Patch 2
How to Open The Project in Android Studio?
- Open Android Studio > Projects > Open > Choose Source Code > 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.Tree Appearance > Uncheck/Deselect the Flatten Packages and Hide 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 it Select Refactor Click on RenameIn the Pop-up dialog.
- Click on In Whole Project Enter the new name and hit Refactor Allow a minute to let Android Studio update all changes.
- Now open your build.gradle (Usually 'app' or 'mobile'). Update the applicationId and namespace 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.






- If you change first or middle package name like "com" or "example" then you have to manually change in android manifeast.xml

How to change app name?
- Open Android Studio > res > values > strings.xml
- Enter your app name inside "app_name" string tag:
<string name="app_name">Video Streaming App</string>

Where to put Server Url in Application?
- Select Project > go to Gradle Scripts> Gradle.properties
- Open Gradle.properties
- now if your Sever is http://www.abc.com so your service url like that
http://abc.com/

How to Add Package Name in Admin Panel?
- Android App
- App Verify
- Fill the Envato Buyer Name & Envato Purchase Code (which you will get from envato)
- Put Android Package Name
- Click Save


How to change 'Splash Screen, Application Icon and MoreApp link'?
How To Change Application Icon
- Open Android Studio > app > res >
- Rename your icon with ic_launcher.png & ic_launcher_round.png and paste in all mipmap folders with there specific size

How To Change Splash Screen
- Open Android Studio > app > res > drawable-nodpi > splash.jpg
- Rename your splash screen image with splash.png and paste in drawable folder

How To Change MoreApp Link
- Open Android Studio > app > res >values > strings.xml
- Enter your Play Store Apps Link inside "play_more_apps" string tag:
<string name="play_more_apps">https://play.google.com/store/apps/developer?id=Viaan+Parmar </string>

How to enable/disable RTL?
- Open Android Studio > app > res > values > strings.xml
- Change isRTL to true if you want to enable or false if you want to disable
- Change all the text below in your language

How to Change Ad Network and their ad unit ids?
- Android App
- Ad Settings
- There are seperated section of each ad network
- Among them any of one ad network will be active at time
- Now there is on/off for Banner & Interstitial Ad
- Add there Banner & InterstitialAd unit id(Some of ad network have only app id)
- Interstitial Ad Clicks is used for number of click interstitial ad want to display
- Click Save


Ads Instruction:
How to generate Google Login & firebase analytic file and replace google-service.json?
Open https://console.firebase.google.com/
- Add Project
- Enter Project Name
- Now Select Android
- How to generate SHA-1 key
- In Android Studio
- File
- Settings
- Experimental
- Unchecked the 'Do not build gradle task list during gradle sync' and click 'OK'
- Go to file
- Sync project with Gradle files
- You will see the option on Signing reports under: Gradle -> Tasks ->Android -> Signing Report.'
- Click Next in Step 3 & 4
- Download google-service.json file and replace
- There is 3 type of sha1 1 is debug which we was generated using Android studio 2 is after sign apk and 3 is when upload was done in google playstore so need to add that 3 sha1 in firebase console
- Now generate SHA1 key with following this command follow this
- C:\Program Files\Java\jdk1.8.0\bin>keytool -list -v -keystore E:\your.jks -alias your
- you select continue then you have upload keystore and get SHA-1 key from google app signing certificate as follows
- Navigate to the Google Play Console and login
- Choose the application you are signing
- Go to Release Management –> App Signing
- Copy /Download the SHA-1 or SHA-256 certificate fingerprint from the App signing certificate section











After sign apk follow this



When Uploading bundle to Playstore
How To Setup Facebook Login ?
Open Facebook Developer- Create App
- Select Settings > Basic
- Choose Add Platfrom > Android
- Click next
- Enter your key hash,package name and default disply activity class name
- Create your hash key
- download openssl for windows https://code.google.com/archive/p/openssl-for-windows/downloads
- Debug apk generate hash key
- Note :- use this code to generate hash key for debug apk find from log cat. remove this code after you have generate hash key
- If you have any trouble creating hash key use this following application generate hash key https://play.google.com/store/apps/details?id=com.aivarsda.keygentool
- Sign apk generate hash key
- If you have any trouble creating hash key use this following code link https://developers.facebook.com/docs/facebook-login/android/advanced
- Using this application generate hash key https://play.google.com/store/apps/details?id=com.aivarsda.keygentool
- Copy your facebook_app_id, fb_login_protocol_scheme and facebook_client_token
- Open Android Studio > res > values > strings.xml
- Enter your facebook app id inside "facebook_app_id" string tag:
<string name="facebook_app_id">XXXXXXXXXXXXX</string>
- Enter your fb login protocol scheme inside "fb_login_protocol_scheme" string tag:
<string name="fb_login_protocol_scheme">XXXXXXXXXXXXX</string>
- Enter your fb login client token inside "facebook_client_token" string tag:
<string name="facebook_client_token">XXXXXXXXXXXXX</string>
- Note: When click on Live fill up any details which was missing Facebook login will work after approve from playstore








keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64
Example :- keytool -exportcert -alias xxxxx -keystore E:\xxxxx.jks | "C:\Program Files\openssl-0.9.8e_X64\bin\openssl" sha1 -binary | "C:\Program Files\openssl-0.9.8e_X64\bin\openssl" base64


How to Create App in OneSignal for Notification?
- Open OneSignal Document Website >> Document
- Open Android Studio >VideoStreamingApp > res > values > strings.xml
- Enter your onesignal app id inside "onesignal_app_id" string tag:
<string name="onesignal_app_id">XXXXXXXXXXXXX</string>

How to Change One Signal Id And Rest Key in Admin?
- In Left menu there is Settings > Keys & IDs
- Now Open Admin Panel Android App >> App Settings >> Onesignal Notification


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

How to Send Notification From Admin?
- Open Admin Panel > Android App > Notification
- Enter title and message which are mandatory
- Upload Image if you want to show in notificaiton. This is optional
- If you want to send notification for particular item then choose in dropdown type. This is optional

How to Generate App Bundle?
Create New Keystore
- Click Build > Generate Signed Bundle/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, key password and genrate encrypted key export path file and click next
- Choose the signed build destination
- 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
How to Fill up Data Safety Form in play store ?
- Click On manage and start
- See screenshot and fill up data
- Select both location
- Select Name ,email and phone number
- Now see screehshot and fill up data also name,email and phone number
- Now fill up Approximate location and Precise location both same as
- Now see screehshot and fill up data





Change App all graphics
You will find all image into /res/drawable-mdpi/,/res/drawable-hdpi/,/res/drawable-xhdpi/ folder. Just create your own graphics and replace those files. Create seperate graphics of different device screen sizes & place them into other drawble folders (drawable-hdpi & drawable-xhdpi) with same file name found at drawable-mdpi folder. Check here for more information: Devices and Displays & Supporting Multiple Screens.


Rating
If you like our app, we will highly appreciate if you can provide us a rating of 5. You can rate us from your Codecanyon Menu > Download page.
Credits
I've used folowing sources into this app:
- Admob
- RecyclerView
- androidsaripaarmaster
- httpclient
Once again, thank you so much for purchasing this app. As I said at the beginning, I'd be glad to help you if you have any questions relating to this app. No guarantees, but I'll do my best to assist. If you have a more general question relating to the apps on Codecanyon, you might consider visiting the "FAQ / Support" section and asking your question in the "Comments" section at Codecanyon app detail page.
Vishal Parmar
Viavi Webtech-India