Customize App

Pa
Last updated 3 months ago

Project customizing

Project Structure

After importing project successfully you will get project structure like below image

Project Structure

Within each Android app module, files are shown in the following groups:

manifest

Contains the AndroidManifest.xml file.

java

Contains the Java source code files, separated by package names, including JUnit test code.

res

Contains all non-code resources, such as XML layouts, UI strings, and bitmap images, divided into corresponding sub-directories. For more information about all possible resource types, see Providing Resources.

To know more about project structure please go through this link Android Project Structure

Change App name

To change project name follow below steps.

App > res > values > strings.xml

Change the App Name Title

Change App Package Name

Open App level build.gradle and change ApplicationId variable inside android > defaultConfig

applicationId "com.itechnotion.wpnews"

Change API URL

Change the Base Url for inside the app\src\main\java\itechnotion.wpnews\retrofit\ApiService.java

Change the Base Url

Change Live TV URL

To change Live TV URL follow below steps.

App > res > values > strings.xml

video_url="https://www.youtube.com/watch?v=Ga3maNZ0x0w";

Change the Live TV URL