public void run() {

        try {
            voyageHandler voyhandlr = new voyageHandler();
            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
            hc = (HttpConnection) Connector.open("http://localhost:8080/smartPhp/getXmlAnnonce.php?id="+selectedAnn);
            dis = new DataInputStream(hc.openDataInputStream());
            parser.parse(dis, voyhandlr);
         
            annonces = voyhandlr.getVoyages();

            if (annonces.length > 0) {
                for (int i = 0; i < annonces.length; i++) {
                    annonce = annonces[i];
                }
            }
            source = Image.createImage("/smartravelmobile/media/logo.jpg");

        } catch (Exception ex) {
            ex.printStackTrace();
        }

        disp.setCurrent(new Midletdetail.Draw());
    }