[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Mats

4/3/2002 2:33:00 PM

Hi there,

I have added the following in machine.config: (under the
Ericsson part)
<case
match="T68"
with="${deviceID}">
screenCharactersWidth = "20"
screenCharactersHeight = "4"
screenPixelsWidth = "101"
screenPixelsHeight = "80"
maximumRenderedPageSize = "1600"
preferredImageMime = "image/gif"
isColor = "true"
</case>

But the picture won't show up on the display when I access
it via a MobileWebForm.aspx. If I put the picture in a wml
page, I can see the piture on the T68. I have also
viewed/downloaded the picture via sonyericssonmobile... so
there is no problem viewing the picture on the phone.

It also works if I access the page with a PC browser. So
there is nothing wrong with the aspx.

What more do I need to do to get it to work? I don't want
to use wbmp.

Thanks in advance.
5 Answers

(Nathan Enright (MS))

4/3/2002 9:26:00 PM

0

Mats

4/4/2002 1:27:00 PM

0

Hi!

1:
match="Ericsson(?'deviceID'[^/]+)/">

2:
EricssonT68/R101

There is something strange... If I put the image in the
same folder as the mobilewebform and uses:
BarcodeImg.ImageUrl = MobileNr + ".gif";
--> It WORKS! I can view the image both in Ericsson T68
and in IE.

But if I put the image in an folder it only works if I
access the mobilewebform from IE... the image never shows
up on the phone.
BarcodeImg.ImageUrl = @"barcodes\" + MobileNr + ".gif";

(http://www.myserver/level1/level2/MyMobileWe...
and the image in ...level1\level2\barcodes\)

hmmm?

>-----Original Message-----
>Hi Mats,
>Everything looks fine. You shouldn't have to do anything
else. There are
>a couple of things we'll want to check however...
>
>1. reply with the filter/Regexp for Ericsson. This is
in the machine
>config and should be something like "Ericsson
(?'deviceID'[^/]+)/" as long
>as you haven't changed it.
>
>2. Let's make sure the user-agent is correct. Put a
mobile label control
>on a form and in the page_load event add this code...
>
>Label1.Text = Request.Headers["user-agent"];
>
>Just to make sure we have the right user-agent for the
T68. Reply with
>what you find
>
>3. If you can, reply with the url to your page. We can
verify that the
>code being sent is correct for the above useragent.
>
>Let me know what you find,
>Nathan
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.

(Nathan Enright (MS))

4/4/2002 7:17:00 PM

0

Mats

4/5/2002 9:05:00 AM

0

(Nathan Enright (MS))

4/5/2002 6:04:00 PM

0