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.

Connexion Application a OVH avec Mysql.

Featured Replies

Posté(e)

Bonsoir

 

je viens de m'inscrire dans le forum. et nouvau dans le domaine.

Je veux connecter mon application a mysql en local et mysql dans on compte OVH.

 

1- Est ce qu'il faut une librairie spécifique si oui laquelle?

j'ai deja mysql-connector-5.0.3.jar et mysql-connector-5.1.33-bin.jar.

 

voici mon code.

 

ici c'est pour afficher les informations de la base sur mon téléphone.

@@override
public View getView(int pPosition, View pConvertView, ViewGroup pParent) {

RelativeLayout tLayoutItem;
String IChemin = null;
Bitmap bm;

if(pConvertView == null){
tLayoutItem = (RelativeLayout) oInflater.inflate(R.layout.actualite_item_layout, pParent, false);
}else{
tLayoutItem = (RelativeLayout) pConvertView;
}

TextView txtTitre = (TextView) tLayoutItem.findViewById(R.id.txtTitre);
txtTitre.setText(this.listeActualites.get(pPosition).getoTitre().toString().trim());

TextView txtContenuActu = (TextView) tLayoutItem.findViewById(R.id.txtContenu);
txtContenuActu.setText(this.listeActualites.get(pPosition).getoContenu().toString().trim());

IChemin = "http://xxx.xxx.xxx.xxx/"+this.listeActualites.get(pPosition).getoChemin().toString().trim();
bm = downloadImage(IChemin);
oImage = (ImageView) tLayoutItem.findViewById(R.id.imgActu);
oImage.setImageBitmap(bm);
return tLayoutItem;
}

 

Merci d'avance de vos reponses.

 

Steph.

Modifié par Bekale

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.