Android Live TV

Updated:- 19 July 2019
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?

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 >AndroidLiveTVSeries > res > values > strings.xml
  • Enter your app name inside "app_name" string tag:
    <string name="app_name">AndroidLiveTVSeries</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 Verify Your purchase code?

  • Open Settings
  • Select Verify Purchase
  • Fill the Envato Buyer Name & Envato Purchase Code (which you will get from envato)
  • Put Android Package Name
  • Click Save
For getting package name go to app build.gradle where applicationId is the package name which you have to put in admin panel.
applicationId "com.example.livetvseries" here com.example.livetvseries is package name

Where to put Admob Publisher ID in Admin?

This is used for Admob GDPR

How to find AdMob App Id and add in application?

  • How to find App Id
  • How to add App ID strings.xml and AndroidManifest.xml

How to Change AdMob id?

  • Open Settings
  • Select Admob Setting
  • There are seperated section of each type of ads
  • Now if you want to display ads in app side then make it true otherwise false
  • Click Save

How to change interstitial Ad Count?

  • Open Settings
  • Select Admob Setting
  • There one section related to Interstital ads
  • Now if you want to display interstital ads when user click 5 times in question list then put 5
  • 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/dev?id=7157478532572017100 </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 generate google-service.json for firebase analytic ?

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

  • Create New Project
  • Put Your Project Name & if you want to change country and location then change
  • Now you have to add app in new created project so click on Android Icon
  • Have to put package name and app name
  • Click on blue button to download that json file
  • Download google-service.json file and replace

How to Create App in OneSignal for Notification?

  • Open OneSignal Website >> onesignal.com
  • Login/Register in your account
  • Now ADD APP
  • Enter Your App Name
  • Select Platfrom as Android
  • Configure Platfrom >> Now in above step we create one project in firebase
  • Click on Setting icon >> Project Setting
  • Go to Cloud Messaging Tab
  • Copy Server Key & Sender Id
  • Now Paste that both ids in Configure Platfrom section
  • Select Native Android as Select SDK
  • Now Copy that Application of signal and paste in android side
  • Open Android Studio > App > build.gradle(Module:app)
  • Enter your Onesignal App id inside"onesignal_app_id"
    onesignal_app_id ="Your onesignal_app_id"
  • After that you have to sync gradle then run android application
  • Then click on Check Subscribed User in Install SDK
  • You will be seen green message-box
  • Now Done

How to Change One Signal Id And Rest Key in Admin?

  • In Top bar menu there is Settings > Keys & IDs
  • Now Open Admin Panel >> Setting >> Notification Settings

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 > 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 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


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.


Application Showcase in PlayStore

Once you will publish your app to Google Play or any other Android store, send us your app link. We will happy to showcase your app into our website & Codecanyon page.


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