locked
How can download .jad file in blackberry using ASP.net (mobile web pages) RRS feed

  • Question

  • User672011583 posted

    Response.Clear();

    mFileName = "ABC.jad";

    mPath = ResolveUrl("~/" + mFileName);

    Response.ContentType = "text/vnd.sun.j2me.app-descriptor";

    Response.TransmitFile(Server.MapPath(mPath));

    Response.Flush();

    Response.End();

    this code is not work in blackbarry mobile but work in nokia & windows mobile.........

     

    how can i do for blackbarry mobile .....

     

    to work download code......

     

     

    plz help me...

     

    regrads

     

    chetan

     

    Friday, March 26, 2010 3:35 AM

All replies

  • User-1659704165 posted

    Hi,

    U may set the MIME type in IIS

    http://technet.microsoft.com/en-us/library/bb742440.aspx

    Friday, March 26, 2010 7:35 AM
  • User672011583 posted

    thank for rply but still i'm not trying this thing

     

    sorry for that but if ur get any other idea plz tell me for that

     

     

     

    regards

    chetan 

    Monday, March 29, 2010 2:52 AM
  • User672011583 posted

    i'm try ur saying thing this workfine but i got a new error :

     

     

    Error is :

    java.io.IOException: Resource could not be found http://www.abc.com/ABC.cod:411 - Length Required.

     

    plz help me for that error

    Monday, March 29, 2010 4:42 AM