You Are Here:

Community: Developer Discussion Boards

#1 Old Browser Capabilities - 2007-01-12, 08:15

Join Date: Jan 2007
Posts: 3
miron
Offline
Registered User
Hi,

How can I find browser capablities ( like JavaScript enabled?) using Midlets.

Where are these browser settings persisted in Nokia devices?

TIA,
MJ


MJ
Reply With Quote

#2 Old Re: Browser Capabilities - 2007-01-12, 20:47

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
There is no direct access to MIDlets to the browser capability information. On some devices (like Symbian phones) you could possibly find out something using MIDPJNI (http://midpjni.com) workaround.
If I am guessing right the reason you are asking this, the simplest way is not to worry about this in the MIDlet, but let the server find browser details through the HTTP headers when the browser makes the request (after MIDlet jhas passed the request to the browser using the platformRequest method call)

Hartti
Reply With Quote

#3 Old Re: Browser Capabilities - 2007-01-15, 06:32

Join Date: Aug 2006
Posts: 486
Location: Rawalpindi, Pakistan
Send a message via MSN to nicenouman
nicenouman
Offline
Regular Contributor
just want to add tomy knowledge. if i use http settings. the server automatically gets the broswer settings in the request header. is that what ur saying harti?


Regards
Nouman
Reply With Quote

#4 Old Re: Browser Capabilities - 2007-01-15, 22:45

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
nicenouman, ehh.. not exactly.
The browser sends a user-agent header, and you can deduct the device/browser using that information.

You can then find out the capabilities of the device in question through here
http://nds.nokia.com/uaprof/uaprof_list.txt
for example 6133
http://nds.nokia.com/uaprof/N6133r100.xml

See also for example this sticky thread
http://discussion.forum.nokia.com/fo...ad.php?t=90232

Hartti
Reply With Quote

#5 Old Re: Browser Capabilities - 2007-01-16, 11:51

Join Date: Aug 2006
Posts: 486
Location: Rawalpindi, Pakistan
Send a message via MSN to nicenouman
nicenouman
Offline
Regular Contributor
thanx harti


Regards
Nouman
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP headers for S60 3rd Ed. Browser Nokia Ron General Browsing 16 2009-09-22 15:28
What capabilities are needed fror browser control in a real 3rd edition device? harry_zhang General Symbian C++ 6 2007-02-23 13:02
Browser Capabilities miron General Symbian C++ 2 2007-01-12 12:49
KHTML Browser bug? presentTech General Symbian C++ 2 2006-09-07 22:15
Configuration and Cache for Default Internet Browser jm_slipstream General Browsing 0 2006-03-23 15:37

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia