Skip to content

Nugon SOS v1.1 - Versión Inteligente

Choose a tag to compare

@jzsalinas jzsalinas released this 27 Jul 15:34

Nugon SOS is now technically mature, offering a seamless user experience while maintaining robust emergency detection even in the most restrictive Android environments.

Final Optimizations

1. Intelligent "Stealth" Mode

To solve the issue where Nugon SOS would show a "Remote Screen" volume icon during normal use, I implemented a screen-state aware engine:

  • Dynamic Bypass: The MediaSession and Silent Audio loop (needed to bypass deep sleep) now only activate when the screen is OFF.
  • Transparent UX: When the screen is ON, the app releases control, allowing the standard Android volume UI and icons to work normally.
  • Background Persistence: The AccessibilityService remains active at all times, providing seamless transition and constant monitoring.

2. Haptic Language Refinement

Corrected a critical bug where diagnostic vibrations would loop indefinitely.

  • Single Pulse Feedback: The app now gives exactly one short pulse (50ms) when the user starts pressing the button, serving as a silent confirmation that the interaction is being tracked.
  • Clean Countdown: The 1.5-second hold period is now completely silent, followed by a clear, 1-second confirmation vibration once the alert is dispatched.

3. Volume Passthrough

  • Fixed the volume hardware lock. Nugon SOS now programmatically passes volume adjustment requests back to the system. This ensures the user can still change their phone's volume while protected.
  • Implemented a Recursion Guard to prevent the app from triggering its own volume listeners, ensuring stability.

Verification Summary

Manual Reliability Check

  1. Normal Use: Volume buttons show standard icons and change sound correctly.
  2. Deep Sleep: Device on battery, screen off for >30s. Long-press triggers SOS correctly after the first 50ms vibration.
  3. Continuous Support: The "Nugon SOS Activo" notification remains persistent and functional across multiple alerts.

The application is now ready for production-level use.