Reply
hi,
thnks for ur help,its working now using OTA.
but when i try to install app using servlet code Exception occurs:invalid manifest or application descriptor.m using following code:
File f1 = new File(path);
res.setContentType("text/vnd.sun.j2me.app-descriptor");
res.addHeader("content-Disposition", "attachment;filename=abc.jad");
int length = (int) f1.length();
byte[] bbuf1 = new byte[length];
DataInputStream in = new DataInputStream(new FileInputStream(f1));
while ((in != null) && ((length = in.read(bbuf1)) != -1)) {
op.write(bbuf1, 0, length);
}
so could u plz tell me why it is occuring.
thnks
|