public void run() {
        try {
            // this will handle our XML
            voyageHandler voyagesHandler = new voyageHandler();
            // get a parser object
            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
            // get an InputStream from somewhere (could be HttpConnection, for example)
            HttpConnection hc = (HttpConnection) Connector.open("http://localhost/smartPhp/getXmlAnnonce.php");
            DataInputStream dis = new DataInputStream(hc.openDataInputStream());
            parser.parse(dis, voyagesHandler);
            // display the result
            voyages = voyagesHandler.getVoyages(); //get_personne

            if (voyages.length > 0) {
                int j = 1;
                for (int i = 0; i < voyages.length; i++) {
                    // lst.append(voyages[i].getDestination(), null);
                    listeannonces.append(" Annonce N°" + j + "  Destination: " + voyages[i].getDestination() + "Nbr de places " + voyages[i].getNb_place(), null);
                    // listeannonces.append(" Annonce N°" + j, null);
                    //listeannonces.append(voyages[i].getDestination(), null);                    
                    // listeannonces.append("Nbr de places "+voyages[i].getNb_place(), null);
                    ///    lst.append(voyages[i].getNb_place()+"", null);
                    ////  listeannonces.append("Date "+voyages[i], null);
                    j++;
                }
            }

        } catch (Exception e) {
            System.out.println("Exception:" + e.toString());
        }
        disp.setCurrent(listeannonces);
    }