Aller au contenu
View in the app

A better way to browse. Learn more.

Forum de Frandroid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Demande de Dev

Featured Replies

Posté(e)

Bonjour

j'ai une petite demande dev : un bouton qui ferait un off directe du baladeur !

@++

Posté(e)
  • Auteur

le bouton doit effectuer 3 actions

on/off

éteindre

éteindre

c'est vrai je suis corse

Posté(e)
  • Auteur

ne vous en faites pas, je ne vais vous demander un apk pour faire le café

Posté(e)

public static final String ACTION_SHUTDOWN

Since: API Level 4

Broadcast Action: Device is shutting down. This is broadcast when the device is being shut down (completely turned off, not sleeping). Once the broadcast is complete, the final shutdown will proceed and all unsaved data lost. Apps will not normally need to handle this, since the foreground activity will be paused as well.

This is a protected intent that can only be sent by the system.

Constant Value: "android.intent.action.ACTION_SHUTDOWN"

Cela signifie que la machine doit être en root pour que l'application puisse fonctionner non?

Modifié par VinS

Posté(e)

Oui, mais une apk qui fonctionnerait comme un batch pour simuler l'appui sur bouton -> Off -> Off ?

Ce serait toujours au système de faire le boulot.

Posté(e)
  • Auteur

ok j'arrete de demande qque chose d'infaisable

autre demande donc

le Root de l'A5IT....

Rejoignez la conversation

Vous pouvez poster maintenant et vous enregistrez plus tard. Si vous avez un compte, connectez-vous maintenant pour poster.

Invité
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.