BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-31-2007, 01:23 PM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8300
PIN: N/A
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default View Source in Simulator

Please Login to Remove!

Using the Blackberry device simulator and the MDS simulator, I am able to view my webapp served of my local server. I want to view the HTML source sent to (recieved by?) the simulator. Basically, I want to verify that the source is in deed what I have intended specific for Blackberry browsing.

Any recommendations on how to go about this? I've searched the forums, and found a few similar topics, but no definite recommendations.

Thanks.
Offline  
Old 10-31-2007, 03:57 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Perhaps open it in a web-browser and view the source? or have your application sysout it?
Offline  
Old 11-01-2007, 05:38 AM   #3 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

download smartsniff so you can see whats being returned by the server: SmartSniff: Freeware Packet Sniffer - Capture TCP/IP packets on your network adapter
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 11-01-2007, 09:32 AM   #4 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8300
PIN: N/A
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jfisher View Post
download smartsniff so you can see whats being returned by the server: SmartSniff: Freeware Packet Sniffer - Capture TCP/IP packets on your network adapter
excellent. smartsniffer looks to do as I need. thank you.
Offline  
Old 11-11-2007, 05:58 AM   #5 (permalink)
New Member
 
Join Date: Oct 2006
Location: Glasgow
Model: 8800
Carrier: O2
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

More simply, couldn't you just change the content of the BlackBerry-specific HTML so you'd be able to see from the BlackBerry Browser straight away?
Offline  
Old 11-13-2007, 04:50 PM   #6 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8300
PIN: N/A
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Change the content to see the change. Yes.

What about changes to the actual HTML? Not really.

Example, I add some meta tags or hidden input fields with prepopulated values, how would I verify it's been added correctly without being about to view the source?

Smartsniff allows me to see the source easily. Too bad a view source is not built into the Simulator, that would simplify things for content developers.
Offline  




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