Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry App World™ Development

Reply
Developer
Robotuner
Posts: 26
Registered: 10-29-2009

Example of how to send response in .NET

Hi:

I thought I know how to send a response back to AppWorld for Dynamic Licensing, but apparently I don't know how to do that either.

 

This is how I thought it I needed to do:

 protected void Page_Load(object sender, EventArgs e)
    {

        String hashValue="SometypeofKey";
        sb.AppendFormat("{0} = {1}", "Key", hashValue);
        //now post back the key.      
        Response.ContentType = "application/www-url-encoded";
        Response.Write(Server.UrlEncode(sb.ToString()));
        Response.End();
    }

 

but apparently, it isn't.  What I get back from AppWorld is:

 

http/1.1 200 OK

Content-Type: text/html; charset=utf-8;

Content-Length: -1

 

Does anyone know what I am doing wrong?

 

Thanks

 

Please use plain text.