03-21-2011 07:01 AM
I am parsing a local HTML file to display two links to local video files. Upon selecting them I get an error Unauthorized Attempts to monitor key presses.
How can I circumvent the error and open the file in the Browser instead of the BrowserField?
I've looked at BrowserFieldListeners, but none of them are dong what I would like them to do.
The file is located on the SDCard.
I just need to extract the selected URL and open like this.
Browser.getDefaultSession().displayPage(url);
This is in a 5.0 environment.
Solved! Go to Solution.
03-22-2011 06:27 AM - edited 03-22-2011 06:28 AM
there is no answer to the above.
I opened the HTML in a BrowserSession and it works fine.
01-30-2013 05:58 AM
there is any solution for above post, i am also facing same problem.
did any one solved it ?
01-30-2013 06:16 AM
There was no problem, the OP opened the file directly from the SD Card and it worked for him. Try that.
01-30-2013 06:30 AM
i am rendering one html on browserfield and on click of that html i m trying to open one video url.
my problem is browserfiled is not open video url instead of it's show me error
browserfield is displaying - "unauthorized attempt to monitor key presses"
01-30-2013 06:45 AM
Can you try the same thing in a completely 'clean' BrowserField, with no listeners, and just provide the initial URL on your SD Card.
I suspect this problem is related to processing you have added to the BrowserField.
01-30-2013 06:57 AM
i did as you suggest but result is same
what i did is -
only added browserfield without listener -
BrowserField m_browserField = new BrowserField();
m_browserField.requestContent("local:///sample1.ht