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.

Inserer dans array

Featured Replies

Posté(e)

donc voila je recupere mon string dans l'array et je l'affiche:

String[] array = getResources().getStringArray(R.array.test);

test = array[1].toString();

((TextView)findViewById(R.id.hello)).setText(test);

maintenant j'aimerai pouvoir modifier le xml avec une nouvelle valeur... je me réfère a vous... merci

Posté(e)

Bonjour,

Les valeurs dans les fichiers XML (arrays.xml et autres) sont statiques et ne peuvent en aucun cas être modifiées.

Quel est ton besoin exactement ?

Bonne journée,

ichpa

Posté(e)
  • Auteur

Sauvegarder deux int... en base sql j arrive juste les string.. donc si tu avais un modèle ou exemple ca serait cool

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.