This discussion is archived
0 Replies Latest reply: Jul 3, 2009 3:56 AM by 843851 RSS

regarding DD file and COD file with apple ipone

843851 Newbie
Currently Being Moderated
hi,

i can send content to handset using my application with bind DD file or COD file like this

ServletOutputStream wmlprint = response.getOutputStream();

               if( (accept.indexOf("*/*") > -1) || (accept.indexOf("application/vnd.oma.dd+xml") > -1) ){

                    // sending dd file
                    this.sendDDFile(
                              wmlprint,
                              response,
                              contentFile,
                              sendWebURL,
                              contentInfo,
                              requestInfo);
                    return;

               }else if( accept.indexOf("text/x-co-desc") > -1 ){

                    // sending cod file
                    this.sendCODFile(
                              wmlprint,
                              response,
                              contentFile,
                              sendWebURL,
                              contentInfo,
                              requestInfo);
                    return;

               }else{



but i can't send DD or COD file to apple ipone,but i don't know whether DD file or COD file are support or not for apple ipone.pls tell me how can i solve this probleb

thanks