Coder Social home page Coder Social logo

Comments (4)

erap320 avatar erap320 commented on August 30, 2024 1

@xqwerty151x quoting straight from #1:

It mainly was swapping package names of chinese apps with the ones I wanted, as you can see in Substitutions.txt. This happened in smali_classes2\com\pmpd\business\device\notify\NotificationService.smali and smali_classes2\com\pmpd\business\device\notify\ConstantPackageName.smali.

As said there, you have to take package names of the apps and change them with the ones you want.
The part of Substitutions.txt you need to look at is "Package names".

Obviously, if you're starting from my mod instead of the official app you have to find and substitute the apps I put in, not the chinese ones.

Those files are just the "notification engine", so they don't affect any interface.
If you also want to change the name of the apps in the UI accordingly to your substitutions, read more in #1

from lenovowatchmod.

xqwerty151x avatar xqwerty151x commented on August 30, 2024

I looked at the post you referred to and I couldn't find where you could change what notifications you received. i have no experience doing any coding but from how your changes made it seem is that all you have to do is change the link in the code. I just want to add apps like Group Me and Discord to my notifications. What file is the code for what notifications come through stored?

from lenovowatchmod.

 avatar commented on August 30, 2024

Hey , so I understand how I am supposed to change which I want to be changed , but what about the .txt ? How do I import it ? I have to say I don't know a lot about coding , especially on Android , but do I have to get the source code and recompiling it ?
Hope to have a answer soon :)

from lenovowatchmod.

erap320 avatar erap320 commented on August 30, 2024

@Virtualexis The .txt just tells you the changes I made to my version of the MOD.
If you want to make your version you have to manually change the values in the .smali files I said before.

from lenovowatchmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.