cancel
Showing results for 
Search instead for 
Did you mean: 

Handheld

Former Member
0 Kudos

Hi all,

I'm trying to use a handheld but MII isn't recognizing it as being a mobile device (MII 12.0.4).

The CLIENTINI table has the following info at the moment:

Blackberry	SIMPLEHTML	text/html	User-Agent	BlackBerry
IPaq3360	SIMPLEHTML	text/html	UA-OS	        Windows CE
Nokia9210	SIMPLEHTML	text/html	User-Agent	Crystal
Palm i705	SIMPLEHTML	text/html	User-Agent	Elaine
Treo 180	SIMPLEHTML	text/html	User-Agent	Blazer
WinCE	        SIMPLEHTML      text/html	User-Agent	Windows CE

I tried a few ways to insert a new row on it but it is still not working. I'm not sure about the device information I should be inserting and I'm not what MII looks for when we log in using a mobile device too.

Here you go part of what I've got from a browser sniffer.

Could you please help me to identify the parameters from this info below?

Thank you!

Ricardo

Browser Sniffer
Navigator Object Data
 navigator.appCodeName: Mozilla
navigator.appName: Microsoft Pocket Internet Explorer
navigator.appVersion: 4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
navigator.userAgent: Mozilla/4.0 (compatible; MSIE 4.01; Windows CE;
PPC; 240x320)
navigator.platform: WinCE
navigator.javaEnabled(): false

Version Number
 parseInt(navigator.appVersion) - major:4
parseFloat(navigator.appVersion) - minor:4

Browser Version
 nav:false
nav2:false
nav3:false
nav4:false
nav4up:false
nav5:false
nav5up:false
navonly:false
ie:true
ie3:false
ie4:true
ie4up:true
ie5:false
ie5up:false
aol:false
aol3:false
aol4:false
opera:false
webtv:false

JavaScript Version
 js:1.2

OS
 win:true

Object Detection Tests
 document.all: false
document.anchors: true
document.cookie: true
document.forms: true
document.images: true
document.layers: Gecko m7 does not support this test!
document.links: true

window.frames: true
window.length: 0

Method Detection Tests
 window.RegExp: true
window.Option: true

Document Properties
 document.URL: http://timberline-archery.com/test.asp
 HTTP_CONNECTION:Keep-Alive HTTP_CONTENT_LENGTH:0 HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_HOST:timberline-archery.com
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC;
240x320) HTTP_UA_OS:Windows CE (Pocket PC) - Version 4.20
HTTP_UA_COLOR:color16 HTTP_UA_PIXELS:240x320 HTTP_UA_CPU:XScale PXA255
HTTP_UA_VOICE:FALSE HTTP_UA_LANGUAGE:JavaScript
HTTP_X_DOTDEFENDER_FIRST_LINE:GET /test.asp HTTP/1.1

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Helo Ricardo,

take a look on this link:

If the Link from Jeremy is not available, then contact Jeremy.

Good Luck.

Pedro

@Jeremy: I can't see the link in the thread above. Maybe it is deleted!!!

Edited by: Pedro Iglesias on May 25, 2009 7:11 PM

Former Member
0 Kudos

Hi Pedro,

Thanks for replying.

The problem I have is not how to insert into the database. I have access to the table CLIENTINI and I'm ok with that. I've made some inserts already.

The problem I have is how to identify the information that goes to each column according to the browser sniffer information I've pasted in my first post.

In other words what I need is what from the browser sniffer info do I have to insert into CLIENTINI (DEVICE, TOKEN, MIMETYPE, HEADERFIELD, HEADERFIELDVALUE).

Thanks,

Ricardo

Former Member
0 Kudos

Hi Ricardo,

this document you can find in WIKI "Tips and Tricks". This document explain what you need to do

for Mobile Devices.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9d3b9b9b-0e01-0010-d58a-a3a9415a...

Regards

Pedro

Former Member
0 Kudos

Hi Pedro,

I've been following this doc but the issue here is how to identify the following information:

DEVICE, TOKEN, MIMETYPE, HEADERFIELD and HEADERFIELDVALUE.

I tried a lot of combination today but it didn't work. I'm not sure if MII looks for all 5 fields or if it looks just for part of it.

Anyways.... I'm guessing the problem sits on the device information or the user-agent.

Thank you!

Ricardo

Former Member
0 Kudos

Ricardo,

when you run IE on your PDA with the URL "http://apptools.com/phptools/browser", what do you get

back as HTTP_USER_AGENT string?

Regards

Pedro

Former Member
0 Kudos

Pedro,

Here you go what I've got from the browser sniffer. Any idea?

Thanks in advance for the help!

Ricardo


Skip Navigation
Home » PHP Tools » Browser Detection with PHP
Browser Detection with PHP
Browser detection is an illusive task that is ultimately doomed to
fail. Browsers are always changing and keeping up to date with these
changes is a continuous job. Some browsers allow the user to alter the
way the browser identifies itself, or to not identify itself at all.
Some firewalls block the sending of the browser identification, so no
browser detection scheme is entirely successful.
With all that in mind, this page attempts to detect your operating
system and browser name & version based on the HTTP_USER_AGENT sent to
the server.
Your browser sent this HTTP_USER_AGENT string to server:

 Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320).
Using the above string, the script detected the following values:
Platform: Windows
Browser: MSIE
Version: 4.01
Since browser detection is so unreliable, I am no longer maintaining
this script. You are free to use and or modify/update it as you want,
however the author assumes no responsibility for the accuracy of the
detected values.
[View Browser Class Source]
Top of Page
Links | Privacy | Copyright | Site Map
 Copyright ©, 1996-2009, Gary White, all rights reserved.
 Document last modified Friday, August 05, 2005.

Former Member
0 Kudos

Ricardo,

I am missing the device name in the response!!!

Yours: "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)."

My: "Mozilla/4.0 (compatible; MSIE 6.01;Windows CE; IEMobile 7.11) SonyEricssonX1i"

What kind of PDA you have in use?

Regards

Pedro Iglesias

Former Member
0 Kudos

Pedro,

That's the problem... None of the browser sniffers I've tried bring me the device name. The return I got from the link you sent me is exactly what you see above.

I'm using a handheld made by Honeywell (HHP Dolphin 9550) and I've been trying to figure out the device name but no luck yet.

Any idea?

Thank you!

Ricardo

jcgood25
Active Contributor
0 Kudos

The Device column in the DB table is only for descriptive purposes - from the sniffer results it would appear that the WIndows CE table entry (WinCE) should be enough for MII to detect a mobile identity. The system merely looks for a match of User-Agent containing 'Windows CE' or any other combination of the two columns.

I assume you can log into the server? Once logged in you can navigate to /XMII/Illuminator?Service=SystemInfo&Mode=CurrentProfile and look to see what user attributes and home page items are in the user's profile. It will either have mobile items or navigation and tab items in the xml.

Regards,

Jeremy

Former Member
0 Kudos

Hi Jeremy,

We are facing something "different" here I'd say.

When we login using the handheld we get stuck on goService.jsp link with a blank screen.

The link you sent me above does not bring me the mobile nodes though. Actually it brings up nothing. After I log in and got stuck on goService.jsp I changed it to /XMII/Illuminator?Service=SystemInfo&Mode=CurrentProfile and then I got stuck in the same blank page.

What does not make much sense to me is that we have set the user-agent on my laptop to be Windows CE and we're getting into MII server as a mobile device. This way we can test the mobile pages on my laptop but yet I have no success to connect the HH to MII directly.

Tonight we will be upgrading the SR to 12.0.7 (we're running 12.0.4). Any idea if it could help?

Thank you!

Ricardo

jcgood25
Active Contributor
0 Kudos

We've seen this before. There's something with goService.jsp and the redirecting it tries to do to provide the browser and sizing information to the Personalization service that ends up not redirecting (and you end up seeing a blank white page because the body of the web page is blank).

The good news is that your device is being recognized, and the URL I gave you earlier will produce xml so just like on my BlackBerry this does not render on the screen like it would with IE. I assume if you reroute from the white screen to /XMII/Illuminator?Service=Personalization that you will get the simple mobile home page.

In 12.0.7 I believe you should see a 'Home' hyperlink for redirecting to the home page on the goService jsp page, which on less capable browsers gives a clickable link instead of the blank white screen.

Former Member
0 Kudos

Jeremy,

Good news! After the upgrade to 12.0.7 the handheld is now loading the mobile pages!!!

If you would like to test this situation you can use the Windows CE emulator available on Microsoft website. I was getting the same problem with this emulator before the upgrade to 12.0.7 and now it works as mobile as well.

I'm closing the thread now.

Thx...

Ricardo