Reply
Thread Tools
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#1
Hi ,

Can I launch browser from my application?
If so could you please provide link or documentation regarding browser launching?

Thanks
Remya
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Hi,

there is a dbus API for that, which you find in /usr/include/tablet-browser-interface.h in the SDK. The call for open a url is:

Code:
dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.google.com"
Daniel
 

The Following 4 Users Say Thank You to danielwilms For This Useful Post:
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#3
if you are using QT then you could also use

QDesktopServices for opening most common desktop applications including the browser.
 

The Following 3 Users Say Thank You to krk969 For This Useful Post:
Posts: 60 | Thanked: 73 times | Joined on Oct 2009 @ troll cave
#4
dbus-send --session -type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.google.com"

would be slightly more cleaner
 

The Following User Says Thank You to suihkulokki For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:25.