![]() |
[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 |
Re: [PoC] Portrait Mode "Maps" app on N900
upss thanx thp, for all this
|
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?
|
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 :) |
Re: [PoC] Portrait Mode "Maps" app on N900
Looking good,portrait mode in Maps will be useful.
|
Re: [PoC] Portrait Mode "Maps" app on N900
That could be usefull, particularly when biking, thats when I have missed rotation of Nokia Maps.
|
Re: [PoC] Portrait Mode "Maps" app on N900
I'm particularly interested in that portrait vkb, how was that achieved, without FastSMS?
|
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. |
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
|
Re: [PoC] Portrait Mode "Maps" app on N900
@thp: is your patch for maps going to be icluded in the Community SSU ????
|
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
Quote:
|
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
|
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
Code:
#!/bin/sh you just got to edit the file : /usr/share/nokia-maps/html/index.html [be carefull it's a 1M file] |
Re: [PoC] Portrait Mode "Maps" app on N900
1 Attachment(s)
I ve finished a mod of the famous file..
now the apps turns with the screen. Only the "reports forms" are still originals (I ve just started with css so..I don't understand how to resize its stupid buttons..) Maybe we could add a google search button in the details pages..but i dont not know javascript..so if anyone wants to have try.. It should not be so difficult.. So here is the new file, download it, uncompress and copy the index.html here: Code:
sudo gainroot |
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
|
Re: [PoC] Portrait Mode "Maps" app on N900
Do not click.
Use the right mouse button and hit "save as" Anyway ... This leaves a loop file the application to load and is thus, having to kill the process. At least in my case. |
Re: [PoC] Portrait Mode "Maps" app on N900
Code:
$ wget http://opax.ovh.org/maps/index.new |
Re: [PoC] Portrait Mode "Maps" app on N900
1 Attachment(s)
I add it as a link to download from the forum.
Then rename it to "index.new" and follow the instructions of the thread. |
Re: [PoC] Portrait Mode "Maps" app on N900
Quote:
Perhaps it explains also why it doesn't work and you have to kill the app :) |
Re: [PoC] Portrait Mode "Maps" app on N900
well it s fixed sorry..
|
Re: [PoC] Portrait Mode "Maps" app on N900
To me the file does not work.
Any suggestions on how to avoid remaining in the boot screen of the application? |
Re: [PoC] Portrait Mode "Maps" app on N900
1 Attachment(s)
Well ehre is the right file
just unzip it and send it in the right place It should works now, tell me... |
Re: [PoC] Portrait Mode "Maps" app on N900
Ok. Now if I start.
What does not work yet is to click on the icon of the compass. The rest, what I could try. Thank you very much. |
Re: [PoC] Portrait Mode "Maps" app on N900
ok cool!
the compass did not work for me for a long time so i don't know what's the problem what are still not in portrait are the report's sub windows |
Re: [PoC] Portrait Mode "Maps" app on N900
the index.html of opax don't work for me.
The Maps application don't start. I modified the script of thp, changing two lines, and finally, works in landscape and portrait -e 's/_WIDTH_/100%/g' \ -e 's/_HEIGHT_/100%/g' \ |
Re: [PoC] Portrait Mode "Maps" app on N900
you have to refer to the post 22..
i will modify the old one http://talk.maemo.org/showpost.php?p...2&postcount=22 |
Re: [PoC] Portrait Mode "Maps" app on N900
Yes, I download this file. But when you start the application, it's loading forever and never shows the screen with the map
|
Re: [PoC] Portrait Mode "Maps" app on N900
It's incredible, i reboot the phone and now works.
Great Job. |
Re: [PoC] Portrait Mode "Maps" app on N900
ok!
It s cool if it finally works! |
Re: [PoC] Portrait Mode "Maps" app on N900
1 Attachment(s)
Hi guys,
i attached the latest index.html file from the Ovi Maps Extra Features - Now with voice guidance (early development) - Thread ( http://talk.maemo.org/showthread.php?t=66985 ) can some one help me to modify these file for a nice looking portrait mode?? best regards christian |
All times are GMT. The time now is 12:56. |
vBulletin® Version 3.8.8