Maximo Anywhere

  • 1.  Anywhere 7.6.4 customizability - Missing AndroidManifest.xml File

    Posted Thu July 15, 2021 03:56 PM
    Hi,

    We are having a problem of Anywhere 7.6.4 customizability.
    Before upgrade, the client is using Anywhere 7.6.3 which use AndroidManifest.xml to configure NFC access which works.
    After upgrade, it is found no such file of AndroidManifest.xml in the 7.6.4 package to configure NFC access.
    Does anyone face the similar issue and how do you solve it?

    Any help is appreciated.
    Thanks,
    Daniel


    ------------------------------
    daniel ng
    ------------------------------


  • 2.  RE: Anywhere 7.6.4 customizability - Missing AndroidManifest.xml File

    Posted Fri July 16, 2021 12:31 PM
    The architecture for building the binary files for Maximo Anywhere changed with 7.6.4.  There is now a separate process for building the binary.  Since you are wanting to access the OS capability of using NFC and yo have been Abel to do so simply bu modifying the androidmanifest.xml that is awesome.  (Please share!). The file has ben moved to the Application Container build folder.  If you look at this document Optional: Installing the Maximo Anywhere application container you will be able to build you own binary.  When this component is installed you can then go to \\{AnywhereInstallHome}\Anywhere\MaximoAnywhereAppCntr\output\WorkExecution\platforms\android\app\src\main folder and you will find you androidmanifest file.  Hope this helps.  Please let me know if making the modification here a) solves you build issue and b) if the NFC does what is intended.  It would be nice to know the use case and how you are making this work within a business context.

    ------------------------------
    Bradley K. Downing , MBA
    IBM Certified Adv. Deployment Prof. Maximo v7.6.1
    IBM
    Bakersfield CA
    ------------------------------



  • 3.  RE: Anywhere 7.6.4 customizability - Missing AndroidManifest.xml File

    Posted Thu July 22, 2021 07:06 AM
    Regarding finding this 'androidmanifest.xml' (e.g. WorkExecution)  at below folder \\{AnywhereInstallHome}\Anywhere\MaximoAnywhereAppCntr\output\WorkExecution\platforms\android\app\src\main.

    Any modification/customization such as changing the androildmanifest.xml on above folder won't be available because ALL FILES under this directory \\{AnywhereInstallHome}\Anywhere\MaximoAnywhereAppCntr\output\ will be overwritten after run 'build all' to regenerate the APK file within the container.

    The purpose is to do NFC customization for Android in the new Anywhere 7.6.4.  Kindly please advise me. Thanks.

    Vincent Yuan

    IBM AI Applications Asset Management



    ------------------------------
    Yong Ping Yuan
    ------------------------------



  • 4.  RE: Anywhere 7.6.4 customizability - Missing AndroidManifest.xml File

    Posted Fri July 23, 2021 12:50 PM
    I took a look at this , and it occurs to me the AndroidManifest.xml is coming from another location I have not yet discerned.  I can always ping the Dev team to find out, but I suspect it is in a compiled or otherwise compressed file.  I believe you can do this: After you build you APK using the prescribed method, you can use your Android Studio application to Profile the APK.  This will allow you to modify the AndroidManifest.xml and add your functionality you wish directly into the APK file.  You can then repackage it and distribute it then as you would otherwise normally do.

    ------------------------------
    Bradley K. Downing , MBA
    IBM Certified Adv. Deployment Prof. Maximo v7.6.1
    IBM
    Bakersfield CA
    ------------------------------



  • 5.  RE: Anywhere 7.6.4 customizability - Missing AndroidManifest.xml File

    Posted Sun July 25, 2021 05:18 AM
    Following this topic!

    I am also not able to set android version number which we used to setup in Android manifest file. Currently, I have seen that IBM's build js code generates the android version number from Maximo version which is fine for now but we would want to set our own custom version number as with previous version.

    ------------------------------
    Biplab Choudhury
    Maximo Consultant
    Tata Consultancy Services
    Melbourne
    ------------------------------