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.

Widget météo sur une application ANDROID

Featured Replies

Posté(e)

Bonjour;


Je souhaite ajouter un Widget à une application, un Widget de météo; celui qui nous afficher quel temps il fait et la temperature


Merci à tous smile.png


[Android 4.2 API Level 18]


 

Posté(e)

Bonsoir !

 

Je ne suis pas sûr d'avoir bien compris ce que tu souhaites, mais si tu cherches de l'aide pour implémenter un widget météo dans ton application, j'ai peut-être ce qu'il te faut: j'ai réalisé une application météo très simpliste avec un widget pour servir d'exemple à des amis qui souhaitaient apprendre la programmation Android.

 

Cette application est open-source et son code source est plutôt bien commenté. Tu trouveras sûrement des informations dans le code source pour faire ce que tu souhaites: https://github.com/tvbarthel/SimpleThermometerProject

 

N'hésite pas à jeter un coup d'oeil à l'application, et à me poser des questions si tu ne comprends pas quelque chose =)

 

Si par curiosité tu souhaites tester l'application, je te donnes le lien: https://play.google.com/store/apps/details?id=fr.tvbarthel.apps.simplethermometer

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.