Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Andere Frage zu Klassen und Methoden

Empfohlene Antworten

Veröffentlicht

Hallo

Mein Programm gefällt mir so, wie es ist nicht wirklich.

Wie kann man das hinbekommen, dass ich keine Zahl bei tivi -> Kanal(z. B. 3) angeben muss,

sondern diese durch eine Eingabe geändert wird? Ich gebe die Zahl 3 nach Aufforderung ein

und der Aufruf erfolgt dann so: tivi -> Kanal( i )?

Die Ausgaben soll dann so aussehen:

Gerät ist aus!!

Das Gerät hat den Zustand: 0 (für aus)

Aktives Programm: 0

Die Lautstärke ist auf: 0

Gerät ist an!!

Das Gerät hat den Zustand: 1 (für an)

Aktives Programm: 1 (für z. B. ARD)

Die Lautstärke ist auf: 5

Nach dem Ändern des Programms!!

Das Gerät hat den Zustand: 1 (für aus)

Aktives Programm: 3 (für z. B. NDR)

Die Lautstärke ist auf: 5

Nach dem Ändern der Lautstärke!!

Das Gerät hat den Zustand: 1 (für aus)

Aktives Programm: 3 (für z. B. ARD)

Die Lautstärke ist auf: 9

Wie kann ich diese Ausgabe so hinbekommen, dass ich dafür in einem Menü oder ähnliches nur die entsprechende Zahl eingeben brauche und diese dann an Ausgabe gegeben wird?

Lieben Dank

lempy

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.