Question

To customize mobile app icon in android

hello , We have generated apk file for our application in pega 7.1.9 but it has by default pega icon,I tried to customize the icon by checking the option Customize icons and Splash Screens (adding the icon.zip) and even publish banner option from Mobile Tab in the application rule.But I am not able to see the desired icon.It is showing same pega icon.Can you plese tell me how can I achieve the requirement.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

February 5, 2016 - 8:53am

You may need to rebuild the mobile app. Stephanie Louis, can you confirm one way or another?

February 5, 2016 - 9:07am
Response to KevinZheng_GCS

There are 2 separate issues:

To get custom branding for mobile app - yes you have to rebuild.

If you want the icon on the banner to change, you have to open the banner section rule (linked in mobile tab) and change the logo there.

February 5, 2016 - 10:03am
Response to StephanieLouis

Hi Kevin and Stephanie

I had rebuilt the app and even in the banner from mobile tab of the application, I changed the icon.But not able to see the desired icon in the android mobile phone.

Here icon on the banner means ?

the image icon which appears above application name in android device ? is that correct ?

February 5, 2016 - 10:34am
Response to pradeepkp

February 5, 2016 - 1:30pm
Response to KevinZheng_GCS

yes thank you , but while downloading apk file we are getting STATUS FAIL

tus fail
Message There has been an issue; please consult your system administrator
Operator ID pradeepk
Requestor ID H07260F90E243588F7426FC7CBE2185EB
Timestamp Fri Feb 05 23:58:40 IST 2016
Engine Version PegaRULES 7.10 ML9 (coreAssemblyCached_719_730)

i can't understand.

February 5, 2016 - 1:38pm
Response to pradeepkp

are we saying you are having issue downloading the build? Please share the full pega rules log for review.

February 6, 2016 - 2:52am
Response to KevinZheng_GCS

I had uploaded assets zip folder in app branding and customization by replacing the common assets folder pega svg file with my desired svg file from the sample pega assets zip.

I am able to take apk file .but the app icon is still pega default

February 6, 2016 - 7:37am
Response to pradeepkp

I believe your assets.zip may not be right. Here is the online help:

You are here: Mobile > Custom mobile application > Branding mobile apps > Contents of the assets package

Contents of the assets package

The package contains the following directories:

  • android - Contains graphics for different screen resolutions for the Android platform:
    • ic_launcher - An icon displayed on the desktop
    • icon_android - An icon used in the notification bar when the location services are active
    • splashlogo - A graphic displayed on the splash screen
  • ios - Contains graphics for different screen resolutions for the iOS platform:
    • Icon - An icon that is displayed on the desktop
    • LaunchImage - A graphic that is displayed as the splash screen
  • bootstrap - Where custom resources for the bootstrap application can be added to replace the default ones. The following settings can be customized:
    • Company logo
    • Background color
    • Foreground text color
    • Progress bar background color
    • Progress bar color

The other two directories are not related to custom branding. They are used to upload custom modules:

  • modules-android – Contains libraries and resource files needed for a custom module to run on Android devices
  • modules-ios – Contains libraries and resource files needed for a custom module to run on iOS devices

February 11, 2016 - 11:56am
Response to KevinZheng_GCS

can you please share customized assets.zip such that I can see the folders and respective images.

February 11, 2016 - 12:14pm
Response to pradeepkp

I do not have one, but I know a lot of customers have done that. You can download the sample assets.zip from the online help. For example, here is the one I downloaded from 7.2 release. Stephanie Louis, can you confirm this has not changed or not.

February 12, 2016 - 8:59am
Response to KevinZheng_GCS

That is the latest.  That works.

February 17, 2016 - 9:01am
Response to StephanieLouis

Hi Kevin , I am getting operation fail message in building apk file.

Failure Reason

Exec Returned 1

February 17, 2016 - 9:21am
Response to pradeepkp

this does not tell us much. were you able to build apk without custom branding? If yes, then you probably need to see if your zip is valid or not. More details from the logs should help as well.

February 18, 2016 - 2:22am
Response to KevinZheng_GCS

Ok Thank you