Jump to content

Nytohan

Members
  • Posts

    4
  • Joined

  • Last visited

Nytohan's Achievements

  1. It's entirely possible inside an app to implement a mute feature. You just have a flag that prevents sound from being played by the app when it otherwise would. The fact that the app makes sound at all is something that had to be built, so somewhere in the source they are initializing a media player. They just need the ability to fully stop the media player in the app as opposed to just decreasing its volume. To oversimplify a little, assuming this is written in Java (Likely given that it's on android, though it could be kotlin) Something like this would do: onMuteClicked(boolean mutedState){ if(mutedState == true){ this.mutedState = true; this.mediaPlayer.stop(); } else{ this.mutedState = false; this.startSound(); } } This is oversimplified, mind you. I don't actually know how the application is structured, but essentially you just need to detect when the state of the mute toggle is changed. If it is changed to true, stop the MediaPlayer objects you have running, and prevent them from starting while muted. If changed to false, do whatever is normally done to initialize sound. In whatever the startSound() function would be, you wrap the existing code in a block that only executes if this.mutedState is false. Totally achievable.
  2. There's no OS level ability to deny audio access to an application that I can find (On stock android Q beta on Pixel 3XL) Inside the android pokemmo client there are volume sliders, but no actual mute. This distinction is important, as it may mean the difference between not sending audio and sending audio of zero volume.
  3. Would it be possible to get the following actions available to bind keys to: Party Menu Move Pokemon up Move Pokemon down This would allow for much easier party reorganization when using a controller, where currently you have to get to the menu, select party, move to and select the pokemon, move to and select up or down through a flyout menu. With the alternative bindings this could be as easy as binding Open Party to, say, the left bumper of a 360 controller, and Right bumper to up and left bumper to down to allow for very quick party reorganization. Is this already something that's possible to build through mods?
  4. I have been using the android client for the last couple days and have noticed my Bluetooth headset is dying unusually fast where it usually lasts ~10 hours of sporadic listening. I suspect what's happening is that despite lowering the volume in the PokeMMO Android client to 0, the client is still producing and sending sound data of no volume, but forcing the headset to stay active. Any chance we can get a true mute toggle in the android client?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.