Bonjour,

j'ai une classe ListMarkeur extends ItemizedOverlay<OverlayItem>
dans la methode onTap j'ai besoin de lancer un appel

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
protected boolean onTap(int index, Intent i2) 
	{
		getServerData(strURL); 
	  OverlayItem item = arrayListOverlayItem.get(index);
 
	  customizeDialog = new CustomizeDialog(context);  
      customizeDialog.setTitle(item.getTitle());
      customizeDialog.setMessage(item.getSnippet());
      customizeDialog.okButton.setOnClickListener(new View.OnClickListener() {
 
       	 public void onClick(View v) {
 
 
 
 
     	      	       int numero=198;
     	      	       String toDial="tel:" +numero;
     		    		context.startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(toDial)));
 
 
 
 
 
     	       }



il m'affiche erreur lors de startActivity, comment peut on résolut ce problème???