Why don't images show up in the mpower emulator?

9 views
Skip to first unread message

mapicurious.com

unread,
Feb 20, 2008, 9:59:17 PM2/20/08
to WHERE GPS Developers
I'm using the following code in my footer:

<footer>
<img id="rightCmd" src="http://www.where.com/jin/mobileimages/
where_soft_save.png"/>
<img id="leftCmd" src="http://www.where.com/jin/mobileimages/back.png"/
>
</footer>

Thanks,

Brad

phillipr360

unread,
Feb 21, 2008, 4:28:41 PM2/21/08
to WHERE GPS Developers
Brad,

The <img id="leftCmd" .../> tag was not closed properly. Try using the
following footer instead:

<footer>
<img id="rightCmd" src="http://www.where.com/jin/mobileimages/
where_soft_save.png"/>
<img id="leftCmd" src="http://www.where.com/jin/mobileimages/back.png"/
>
</footer>

This displays the Images fine in the Sprint SDK emulator.

Of course, you should also add onSelect="back()" to "leftCmd" and
onSelect="yourSaveFunction()" to "rightCmd" if you want the Left and
Right Soft Keys to behave properly on your Jin page after adding these
Images.

- Phil

phillipr360

unread,
Feb 22, 2008, 9:08:36 AM2/22/08
to WHERE GPS Developers
My mistake; apparently the Google Group parsed the <footer> tag. The
corrected "leftCmd" should be (and I hope this displays properly):

&lt;img id="leftCmd" src="http://www.where.com/jin/mobileimages/
back.png"/&gt;

If you are having trouble viewing these images in the MPowerPlayer
Emulator, don't worry too much about it since they work fine on the
Sprint SDK Emulator. In general, the MPowerPlayer Emulator can be
somewhat unreliable when it comes to font sizes and graphics; try
downloading the Sprint SDK instead.

- Phil

mapicurious.com

unread,
Feb 26, 2008, 10:12:46 PM2/26/08
to WHERE GPS Developers
I found that the href on the page of Where graphics is different than
checking the properties in each individual graphic on that page.

Using the image properties href worked for me on the mpower emulator.
Strange that you see no issues on Sprint's.

Thanks,

Brad
> > > Brad- Hide quoted text -
>
> - Show quoted text -

phillipr360

unread,
Feb 27, 2008, 9:41:22 AM2/27/08
to WHERE GPS Developers
Brad,

When you say you are using the image properties href, do you mean the
static source URLs for the images on the "WHERE images and icons"
page? For example, are you using http://www.where.com/images/dd/mobile/240/back.png
(instead of http://www.where.com/jin/mobileimages/back.png ) in the
MPowerPlayer Emulator?

If so, please be aware that static source URLs (such as
http://www.where.com/images/dd/mobile/240/back.png) will ONLY display
properly on WHERE phones with a 240 pixel screen width. If you try to
use them on a WHERE phone with a 176 pixel Screen Width (or another
Screen Width that is different from 240), these images will appear
malformed and break.

That is why we encourage Developers to use http://www.where.com/jin/mobileimages/back.png
instead of http://www.where.com/images/dd/mobile/240/back.png in their
Widgets. There is a function in the WHERE Server that correctly
determines which "Back" Left Soft Key when http://www.where.com/jin/mobileimages/back.png
is passed to it, regardless of whether the Screen Width is 240 pixels,
176 Pixels, or a different screen size. If you use
http://www.where.com/images/dd/mobile/240/back.png, then only 240
pixel Screen Width phones will be able to display the Soft Keys
properly.

- Phil

mapicurious.com

unread,
Feb 28, 2008, 10:09:36 PM2/28/08
to WHERE GPS Developers
This is the link to the page:

http://www.where.com/create/imagesicons.php?id=&userid=yes

If you right-click on image that displays in the image column and
choose Properties, that URL works in the Mplayer emulator.

Using the static text link that is displayed in the second column
fails in the emulator:

http://www.where.com/jin/mobileimages/where_soft_add.png

Is the behavior I'm seeing in the emulator a problem with the emulator
only?

Thanks,

Brad

On Feb 27, 9:41 am, phillipr360 <phillipr...@gmail.com> wrote:
> Brad,
>
> When you say you are using the image properties href, do you mean the
> static source URLs for the images on the "WHERE images and icons"
> page? For example, are you usinghttp://www.where.com/images/dd/mobile/240/back.png
> (instead ofhttp://www.where.com/jin/mobileimages/back.png) in the
> MPowerPlayer Emulator?
>
> If so, please be aware that static source URLs (such ashttp://www.where.com/images/dd/mobile/240/back.png) will ONLY display
> properly on WHERE phones with a 240 pixel screen width. If you try to
> use them on a WHERE phone with a 176 pixel Screen Width (or another
> Screen Width that is different from 240), these images will appear
> malformed and break.
>
> That is why we encourage Developers to usehttp://www.where.com/jin/mobileimages/back.png
> instead ofhttp://www.where.com/images/dd/mobile/240/back.pngin their
> Widgets. There is a function in the WHERE Server that correctly
> determines which "Back" Left Soft Key whenhttp://www.where.com/jin/mobileimages/back.png
> is passed to it, regardless of whether the Screen Width is 240 pixels,
> 176 Pixels, or a different screen size. If you usehttp://www.where.com/images/dd/mobile/240/back.png, then only 240
> > > - Show quoted text -- Hide quoted text -

Gil Cunningham

unread,
Feb 29, 2008, 10:13:06 AM2/29/08
to WHERE GPS Developers
Brad-
Can you post your link, or email it to me ? I want to test it in
the emulator.

SteveBull

unread,
Mar 14, 2008, 11:39:22 AM3/14/08
to WHERE GPS Developers
<footer>
<img id="rightCmd" src="http://www.where.com/jin/mobileimages/
widget.png" onSelect="doShowPopup()"/>
back.png" onSelect="back()"/>
</footer>

Looks fine on N95, but above soft keys shows up as [x] that I take to
mean 'image not found' in mpowerplayer emulator. Do I need to make an
adjustment in emulator to see the WHERE nav icons?



On Feb 27, 10:41 am, phillipr360 <phillipr...@gmail.com> wrote:
> Brad,
>
> When you say you are using the image properties href, do you mean the
> static source URLs for the images on the "WHERE images and icons"
> page? For example, are you usinghttp://www.where.com/images/dd/mobile/240/back.png
> (instead ofhttp://www.where.com/jin/mobileimages/back.png) in the
> MPowerPlayer Emulator?
>
> If so, please be aware that static source URLs (such ashttp://www.where.com/images/dd/mobile/240/back.png) will ONLY display
> properly on WHERE phones with a 240 pixel screen width. If you try to
> use them on a WHERE phone with a 176 pixel Screen Width (or another
> Screen Width that is different from 240), these images will appear
> malformed and break.
>
> That is why we encourage Developers to usehttp://www.where.com/jin/mobileimages/back.png
> instead ofhttp://www.where.com/images/dd/mobile/240/back.pngin their
> Widgets. There is a function in the WHERE Server that correctly
> determines which "Back" Left Soft Key whenhttp://www.where.com/jin/mobileimages/back.png
> is passed to it, regardless of whether the Screen Width is 240 pixels,
> 176 Pixels, or a different screen size. If you usehttp://www.where.com/images/dd/mobile/240/back.png, then only 240

phillipr360

unread,
Mar 17, 2008, 2:00:22 PM3/17/08
to WHERE GPS Developers
Steve,

As long as the images render properly in the Nokia N95 using
http://www.where.com/jin/mobileimages/widget.png and
http://www.where.com/jin/mobileimages/back.png as your Image URLs then
you have nothing to worry about. We are looking into why these images
do not show up properly in the MPowerPlayer Emulator, but as long as
images show up properly on real WHERE devices (such as the Nokia N95)
then everything is fine even you are getting a Red [x] in the
MPowerPlayer Emulator.

- Phil

mapicurious.com

unread,
Mar 19, 2008, 1:54:22 PM3/19/08
to WHERE GPS Developers
I just want to confirm that just like on the N95, my Motorola razr
works fine with the mobileimages image links. It only is broken in the
mpowerplayer.

Thanks,

Brad

On Mar 17, 2:00 pm, phillipr360 <phillipr...@gmail.com> wrote:
> Steve,
>
> As long as the images render properly in the Nokia N95 usinghttp://www.where.com/jin/mobileimages/widget.pngandhttp://www.where.com/jin/mobileimages/back.pngas your Image URLs then
> > > > > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages