maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [PoC] Portrait Mode "Maps" app on N900 (https://talk.maemo.org/showthread.php?t=69885)

thp 2011-02-15 10:01

[PoC] Portrait Mode "Maps" app on N900
 
I'm currently playing around with more hildon-desktop patches (see here and here). Turns out that the "Maps" application doesn't support portrait mode (among other built-in apps), but it turns out it can be relayouted using simple HTML/CSS hackery.

The first result of this 5-minute-hack is this: http://thp.io/2011/maemo/portrait_mode_maps.sh. Pretty trivial, and as you can see on the photo, some parts would still need manual layouting. Also, this patch fixes the application into portrait mode, so landscape mode won't work after that (changing the script to change the layout back is left as an exercise for the reader ;)). I won't pursue this specific app (Maps) any further, but this should get interested community members who know HTML and CSS started on implementing portrait mode support in Nokia Maps ;)

http://thp.io/2011/maemo/portrait_mode_maps.jpg

cloud596 2011-02-15 10:23

Re: [PoC] Portrait Mode "Maps" app on N900
 
upss thanx thp, for all this

ivgalvez 2011-02-15 11:08

Re: [PoC] Portrait Mode "Maps" app on N900
 
I hope it could be easily integrated with other mods for Nokia Maps like voice guidance. Did you contacted the developers that are currently working on it?

friesoft 2011-02-15 12:49

Re: [PoC] Portrait Mode "Maps" app on N900
 
wow.. those are great developments! please provide some source and talk to the community ssu maintainers :)

keep up the great work :)

plaban 2011-02-15 13:03

Re: [PoC] Portrait Mode "Maps" app on N900
 
Looking good,portrait mode in Maps will be useful.

toxaris 2011-02-16 18:47

Re: [PoC] Portrait Mode "Maps" app on N900
 
That could be usefull, particularly when biking, thats when I have missed rotation of Nokia Maps.

LagunaCid 2011-02-16 20:13

Re: [PoC] Portrait Mode "Maps" app on N900
 
I'm particularly interested in that portrait vkb, how was that achieved, without FastSMS?

m4lvin 2011-02-16 20:55

Re: [PoC] Portrait Mode "Maps" app on N900
 
Well, /usr/share/nokia-maps/html/index.html is one big fat html file. And looks like we are not allowed to distribute the file.
A hint for others wanting to take a look at it: The download version of http://jsbeautifier.org/ is really useful.

thp 2011-02-18 09:04

Re: [PoC] Portrait Mode "Maps" app on N900
 
Quote:

Originally Posted by LagunaCid (Post 948319)
I'm particularly interested in that portrait vkb, how was that achieved, without FastSMS?

It's the standard on-screen keyboard under the influence of the forced auto-rotation patch that's going to be included in the Community SSU at some point in the future.

neboja 2011-02-18 09:06

Re: [PoC] Portrait Mode "Maps" app on N900
 
@thp: is your patch for maps going to be icluded in the Community SSU ????


All times are GMT. The time now is 11:08.

vBulletin® Version 3.8.8