I have created my own browser, but I want to get default browser history.
The title says default browser: No, there is no way to programmatically access the default browser history.
The content says "my own browser": with a BrowserField you can use the eventOccurred method to get the destination URL and build your own history.
Related
I have a JSF web application and I am adding the jsessionid in the URL using URL rewriting. The reason is our users want to log into the application using different accounts in each browser instance or using multiple tabs of the same browser. I was successful in implementing this.
However, I am having one problem.
Whenever the application opens a popup window, the control goes to the popup, but when the user clicks on any link in the main window, it throws an internal server error without any further descriptions. I have checked show user-friendly error messages in IE, but is of no use. Any idea why the main window errors out when the popup is opened.
Please let me know if you need further clarifications.
Thanks.
I am in the process of creating an iOS app with Phonegap and jQuery, however, I am running into issues trying to allow both iFrames (to load normally) and external URLs (to open in Safari). I decided to choose the path of using iframes as I was not able to send POST and open the resulting page in Safari (i was trying to create a mobile friendly login window that opens to the full site in safari).
I recently updated to v1.5 hoping to resolve the issue, but it still occurs.
I have tried the trick "[url scheme] isEqualToString:#"http"...." however this forces any page in the iframe to load in safari.
So, I would like either to have external URLs and iframes to behave just like it does in a Webapp (add to homescreen button on iOS) or be able to send POST to Safari?
Has anyone got ideas? :)
Thanks!
You could change tactic slightly and login fully using your app, but then create an authentication token which would be passed via a standard link to be opened in safari.
You could generate the token new each time. Tokens are a valid system for access.
The simplest way to launch a web browser from within a blackberry app is:
Browser.getDefaultSession().displayPage(URL);
Is there any reason I would need to use Browser.getSession(UID) instead of Browser.getDefaultSession()? What does that provide for the average use of opening a web browser that the default session does not, if all I'm worried about is showing the URL provided?
getDefaultSession() returns the session for the default browser, getSession(UID) gets the session for the connection specified by the UID which might be: BES, BIS_B, WAP, etc.
The following links provide a great deal of information on network trasports and browser sessions:
http://supportforums.blackberry.com/t5/Java-Development/Network-Transports/ta-p/446834
http://supportforums.blackberry.com/t5/Java-Development/Networking-Transports-II/ta-p/446742
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800440/How_To_-_Invoke_the_browser.html?nodeid=1487366&vernum=0
I have a mailto url in a web page. The target system contains both Microsoft Outlook and Lotus Notes. Microsoft Outlook is the default Mail Client. So when i click on mailto link it opens up Microsoft Outlook.
I want it to open Lotus Notes when i click on the link and i do NOT want change the default mail client settings in Internet Options as well. Please suggest a solution or work around to achive this.
You can use a notes:// style URL, which will work for users with recent versions of the Notes client installed. This URL format can be used to launch a database (or open a known document in a database) whose file path is known. Unfortunately, for creating an email document in the current user's mailbox, the NSF path will be different for each user. But there is a technique you can use, if you have a Notes server in your environment. You can have the link on your page actually link to a static Notes database, which has an "OnDatabaseOpen" event handler set up to look up the user's mailbox path, and then redirect the user there. It's a few steps - not as simple as a mailto: URL - but if you are desperate, it can be made to work.
You can use this URL to open Notes and a new memo: Notes:///0000000000000E00/Memo?OpenForm
source: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/notes-urls
This however does not solve the problem of filling out the To address, Subject, etc.
A mailto link is always going to use the default mail app. You may be able to use a lotus notes shortcut and pass the email address as arguments.
How can I develop a C# application to open a page in a web browser, given the URL, and refresh it continuously (always the same URL).
Make a javascript function that polls the url (e.g. via window.setTimeout()).
(Either using AJAX for partially updating the content, or setting window.location.href, etc..)