BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-01-2008, 04:10 PM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
7100simpleisbetter's Avatar
 
Join Date: Mar 2005
Model: 8120
PIN: Cushion
Carrier: TMobile
Posts: 355
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieve current web page address

Please Login to Remove!

All,

I am looking for a way to retrieve the URL for the current web page if the browser is open. The browser may even be open in the background but want to be able to look into the browser and see what page is open and grab the URL and or the canonical form of the URL to just show the domain (www.test.com)

I have searched every where including google, blackberry.com and here and have found nothing.

Any help would be appreciated.
__________________
Custom BlackBerry Web Shortcuts
Offline  
Old 11-01-2008, 05:08 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
doe4040's Avatar
 
Join Date: Dec 2007
Location: London, UK
Model: 8707v
OS: 4.2.2.186
PIN: 2503A700
Carrier: Vodafone UK
Posts: 262
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Find/Open your desired webpage

Menu - Page Address (at the bottom)

Then you have the option of copying the address or sending the address.
__________________
"All of the things I enjoy are immoral, illegal, or fattening" - Oscar Wilde
"All of the things I enjoy have a Wife Approval Factor (WAF) of 0" - Me
Offline  
Old 11-01-2008, 05:24 PM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
7100simpleisbetter's Avatar
 
Join Date: Mar 2005
Model: 8120
PIN: Cushion
Carrier: TMobile
Posts: 355
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by doe4040 View Post
Find/Open your desired webpage

Menu - Page Address (at the bottom)

Then you have the option of copying the address or sending the address.
Thanks, I know the manual method.

What I am looking for is a way to pull the current web page in my code to set it as a string variableto use later in my application and compare other data to for an an app that I am developing.

Thanks in advance.

SIB
__________________
Custom BlackBerry Web Shortcuts
Offline  
Old 11-01-2008, 05:31 PM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
doe4040's Avatar
 
Join Date: Dec 2007
Location: London, UK
Model: 8707v
OS: 4.2.2.186
PIN: 2503A700
Carrier: Vodafone UK
Posts: 262
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ohh sorry dude, hope you didnt find that patronising. It wasnt my intention. As for what youre actually after, I havent a clue...
__________________
"All of the things I enjoy are immoral, illegal, or fattening" - Oscar Wilde
"All of the things I enjoy have a Wife Approval Factor (WAF) of 0" - Me
Offline  
Old 11-01-2008, 08:46 PM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
7100simpleisbetter's Avatar
 
Join Date: Mar 2005
Model: 8120
PIN: Cushion
Carrier: TMobile
Posts: 355
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by doe4040 View Post
Ohh sorry dude, hope you didnt find that patronising. It wasnt my intention. As for what youre actually after, I havent a clue...
No worries, reading my first post I could see how I didn't clarify that I was trying to find the code for developing an app...and some people may not know where to find the current page or the address for a link so it was not an unreasonable response.

Anyone else know how to do this?
__________________
Custom BlackBerry Web Shortcuts
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.