maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   how to activate streetview? (https://talk.maemo.org/showthread.php?t=53237)

mirakels 2010-10-24 11:56

Re: how to activate streetview?
 
picture is blank, map is ok with microb.

also tried firefox/fennec: no picture and no map at all....

debernardis 2010-10-24 12:04

Re: how to activate streetview?
 
Quote:

Originally Posted by mirakels (Post 849404)
picture is blank, map is ok with microb.

also tried firefox/fennec: no picture and no map at all....

Strange. However, fennec is no use because lacks hover mode. Let's use iceweasel, hoping that microb functionality gets restored.

Helmuth 2010-10-24 12:55

Re: how to activate streetview?
 
If we're using PyQt and Qt4.6 to view HTML Code in a Application Window. Is there the MicroB Engine used or something else from Qt?

rebhana 2010-10-24 13:36

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849392)
Try the page now in http://www.debernardis.it/strade3-3.html - in my hands fits the iceweasel window without showing scroolbars.

EDIT: do you have any recipe to open iceweasel in fullscreen mode? I am presently trying xdotool as suggested in http://www.linuxquestions.org/questi...anging-707461/

The new strade3-3.html fits without scrollbars, but does not completely fill the window, I guess you already tried how far you can stretch it? Something else changed, though: the scales between the two sets of + and - buttons have disappeared. Is that on purpose? I did like them in fact.

Regarding starting in fullscreen - I was looking for a command-line switch but didn't find one.

debernardis 2010-10-24 16:01

Re: how to activate streetview?
 
Quote:

Originally Posted by rebhana (Post 849474)
The new strade3-3.html fits without scrollbars, but does not completely fill the window, I guess you already tried how far you can stretch it? Something else changed, though: the scales between the two sets of + and - buttons have disappeared. Is that on purpose? I did like them in fact.

Regarding starting in fullscreen - I was looking for a command-line switch but didn't find one.

Unfortunately, for widths < 400, the scales get automatically reduced to the plus and minus buttons only, on Google's side. And, with width >= 500, the horizontal scrollbar gets in.

The fullscreen issue seems embarassingly difficult, from what I read online.

Maybe some xulrunner experts might come here and help us... :rolleyes:

rebhana 2010-10-24 16:11

Re: how to activate streetview?
 
1 Attachment(s)
Quote:

Originally Posted by debernardis (Post 849589)
Unfortunately, for widths < 400, the scales get automatically reduced to the plus and minus buttons only, on Google's side. And, with width >= 500, the horizontal scrollbar gets in.

OK, then we can have scales at least in the map panel, where it is more useful. Here is my final strade file then...

EDIT: I managed to get back both scales by two panels of 400 px each, overlapping in 1 px (updated the attached strade file).

debernardis 2010-10-24 16:26

Re: how to activate streetview?
 
Bingo :)

Install kazehakase on easy debian
then start the viewer as follows:
Code:

debbie kazehakase -a "ToggleFullScreen" http://www.debernardis.it/strade3-3.html
Kazehakase is way quicker than iceweasel, and starts in full screen mode without any trouble :) Now it's more like a specific google streetview app ;)

rebhana 2010-10-24 16:35

Re: how to activate streetview?
 
1 Attachment(s)
Have you installed Kazehakase from Squeeze? In Lenny I just got some error.

EDIT: ... and in Squeeze, where I could install without error, I got
Code:

kazehakase: symbol lookup error: /usr/lib/ruby/1.8/arm-linux-eabi/gtk2.so: undefined symbol: gtk_file_system_error_quark
EDIT2: After
Code:

apt-get install libgtk2-ruby libgtk2-ruby1.8
in squeeze, the above error goes away, but kazehakase cannot initialize gecko, and iceweasel now starts with an error that some configuration of firefox-bin is broken. Though clicking OK lets me proceed without problem. :confused: Any suggestion?

EDIT3:
Code:

apt-get install xulrunner-1.9.1
to the squeeze version, plus a reboot, solved my problem with kazehakase!

EDIT4: And here is an optimized strade.html file for use in kazehakase...

debernardis 2011-01-28 06:34

Re: how to activate streetview?
 
I have found that the macuco2 web browser performs well in showing my streetview page, provided you chose default user agent, zoom out and show it fullscreen. I'm contacting the maintainer/developer fcrochik to see if it can be imvoked with parameters, to open streetview directly.

Edit: Fcrochick told me he'll work for next version of macuco2 to add parameter parsing. Thanks! :)

debernardis 2011-02-13 11:35

Re: how to activate streetview?
 
1 Attachment(s)
Thanks to the excellent work of Fcrochik we can have quite a nice "app" experience to browse streetview. In fact, he tweaked Macuco2 the way one can call it from dbus to open a certain url fullscreen, and decide in advance which user agent to declare.

Install the latest Macuco2 (or update it); copy the attached .desktop file to /usr/share/applications/hildon/ and the .png file to /usr/share/pixmaps/ - and there you go ;)


All times are GMT. The time now is 02:56.

vBulletin® Version 3.8.8