Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Developer
Posts: 122
Registered: ‎08-11-2008
My Device: 9700
My Carrier: XL

RenderingApplication change URL to lowercase?

[ Edited ]

 

Dear All,

 

I need help about RenderingApplication/BrowserContent,

 

public Object eventOccurred(Event event) {
    ...
    switch (eventId)
        ...
        case Event.EVENT_REDIRECT :
            RedirectEvent e = (RedirectEvent) event;
            System.out.println("location: "+e.getLocation());
            break;
        ...
}

 

I got problem when the redirected URL is case sensitive (for example, session ID in URL), the method getLocation() set the URL to lowercase, so the new page is Error because the session ID changed into all lowercase URL.

 

Does anyone know how to get the location address (e.getLocation()) without any change?

I need the address in case sensitive.

 

I have try this in Simulator (OS 4.6 & 5.0) and Real Device OS 4.6.

All the same, the URL changed into lowercase.

 

 

thank you.

 

--
"Give kudos (star) if you feel response is helpful"
Highlighted
Developer
Developer
Posts: 122
Registered: ‎08-11-2008
My Device: 9700
My Carrier: XL

Re: RenderingApplication change URL to lowercase?

 

Hello,

 

Anyone can help my problem?

about the lowercase setting for URL address inside RenderingApplication or BrowserContent.

 

Is there anyone from RIM can confirm, it is a feature? or bugs?

 

thank you.

 

 

--
"Give kudos (star) if you feel response is helpful"