maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95 (https://talk.maemo.org/showthread.php?t=49903)

niv 2010-05-15 23:36

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
forum: email me , when new post in here

damagedspline 2010-06-01 03:05

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
I started looking at the waze code at the direction of attempting to port it to QT.
I'm new to QT and also to the waze code, but as far as I've seen ( 2 hrs) the protocol code is wrapped in roadmap_input.c among other c files.
I thought about creating a QT widget that will be a start for a replacement to the agg canvas.
Once I have a base widget that wraps the base protocol and draws an hardcoded location... Well, I'll call it a success. (it may take months...)

I'll create a source repository and upload my current workarea in the next couple of days so anyone with C/C++ or QT knowledge can help or take control.

I think that there are 2 threads directly related to waze on n900 that can be merged.

eitama 2010-06-13 14:40

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 692878)
I started looking at the waze code at the direction of attempting to port it to QT.
I'm new to QT and also to the waze code, but as far as I've seen ( 2 hrs) the protocol code is wrapped in roadmap_input.c among other c files.
I thought about creating a QT widget that will be a start for a replacement to the agg canvas.
Once I have a base widget that wraps the base protocol and draws an hardcoded location... Well, I'll call it a success. (it may take months...)

I'll create a source repository and upload my current workarea in the next couple of days so anyone with C/C++ or QT knowledge can help or take control.

I think that there are 2 threads directly related to waze on n900 that can be merged.

Any updates my dear friend?

damagedspline 2010-06-13 19:41

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by eitama (Post 713210)
Any updates my dear friend?

:)
The only update I can give for now is that I am currently working on the compilation environment through the QTCreator. I am now at a phase where I am looking for all of the must have stub functions that require reimplementation.

Since Waze was only compiled with makefiles for iphone (in contrast to roadmap) it is taking sometime to add QT build manifest. Thank God that atleast QTCreator has auto makefile generator.

I am in an argument with myself whether to go opengl with that or not.

Once I create the stub functions with TODOs body I'll upload it to a source control site as GPL.

Joorin 2010-06-13 20:16

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
After a quick look, this looks very much like a C backend with some windows on top where the GUI is dictated by the platform.

The source bundle include freetype, libz and libpng which makes it a bit ... swollen. Compiling the backend and then using Qt (or GTK+) for widgets looks like the right way to move forward.

niv 2010-09-14 22:05

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
posted a bounty on this:
http://talk.maemo.org/showthread.php...986#post815986

ZogG 2011-03-11 19:10

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
There is API for WEB so we can make app with Qt Webkit

damagedspline 2011-05-11 05:34

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by ZogG (Post 965940)
There is API for WEB so we can make app with Qt Webkit

I've had a few days off, so I made an attempt with QML against the waze test site.

So far it shows the map, allow pan & zoom.

Downsides:
1) maps cannot be cached so it depends on 100% internet connection
2) find address API requires callback function - I'll need to see what to do about that
3) I dont know if their API allow setting the "up" to be other than north
4) navigation is possible, but currently will lack voice guidance (eg. "turn right")

Update:
After a small POC, it is possible but does require 100% internet connection.
Implementation will be tough. I will finish the address search feature and upload it somewhere (dont expect much, its just a POC)

damagedspline 2011-05-13 16:41

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
1 Attachment(s)
So far I got the following in pure QML:
1) map showing
2) zoom-in/out
3) panning left/right/up/down
4) location awareness ("show my location" button is working)

i was unable to implement the search - for now.

to have a test run at what is currently running:
1)
Code:

apt-get install libqtm-12-dec* qt4-experimental-declarative-qmlviewer
2) upzip the attached file to some directory
3) in terminal change to the dir you extracted and run
Code:

qmlviewer -I /opt/qtm12/imports main.qml
I will upload all that I have for now to source controled site so that if any with to help, there will be a way.
Once I do that, I will create a new thread with Announce statement.

dimbert 2011-05-13 23:54

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 1005636)
So far I got the following in pure QML:
1) map showing
2) zoom-in/out
3) panning left/right/up/down
4) location awareness ("show my location" button is working)

i was unable to implement the search - for now.

to have a test run at what is currently running:
1)
Code:

apt-get install libqtm-12-dec* qt4-experimental-declarative-qmlviewer
2) upzip the attached file to some directory
3) in terminal change to the dir you extracted and run
Code:

qmlviewer -I /opt/qtm12/imports main.qml
I will upload all that I have for now to source controled site so that if any with to help, there will be a way.
Once I do that, I will create a new thread with Announce statement.

Great Job!!! Keep on that!

niv 2011-05-14 20:07

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
damagedspline: thanks, where can I read a source?

damagedspline 2011-05-15 09:57

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by niv (Post 1006379)
damagedspline: thanks, where can I read a source?

QML are uncompiled sources. You can simply open them in a text editor.

Anyway, I created the qwazer project in google code http://code.google.com/p/qwazer/source/checkout. you can also see it there.

I found out yesterday that the waze web API only allow embedding the map , some painting and simple searches - meaning no navigation :mad: (voice guidance mechanism needed to be written regardless of that)

Gladly, I have an idea how to overcome that, but I will need to rewrite what I've already done

dimbert 2011-05-22 05:35

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 1006631)
QML are uncompiled sources. You can simply open them in a text editor.

Anyway, I created the qwazer project in google code http://code.google.com/p/qwazer/source/checkout. you can also see it there.

I found out yesterday that the waze web API only allow embedding the map , some painting and simple searches - meaning no navigation :mad: (voice guidance mechanism needed to be written regardless of that)

Gladly, I have an idea how to overcome that, but I will need to rewrite what I've already done

I don't know if you have this interest and Know How...

But you can Port the App to Maemo...

We have a Thread to raise funds.... I think qe have more than 200 dolars....

http://talk.maemo.org/showthread.php...highlight=Waze

damagedspline 2011-05-28 16:35

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
1 Attachment(s)
Quote:

Originally Posted by dimbert (Post 1012396)
I don't know if you have this interest and Know How...

But you can Port the App to Maemo...

We have a Thread to raise funds.... I think qe have more than 200 dolars....

http://talk.maemo.org/showthread.php...highlight=Waze

Yes, the waze ppl suggested porting as well, but...

I have no interest of porting it because:
1) most of the functionality is already in Qt and since the waze code is huge and missing some documentation, so it will take a lot of time. I think that less than rewriting it.
2) I want to make it in pure QML so that it will be truly multiplatform

Anyway, I have attached v0.0.2 (run it similarly to previous release
Code:

qmlviewer -I /opt/qtm12/imports/ qwazer.qml
)
Changelog:
* you can now search (even though the result list UI is ugly...)

Roadmap:
v0.0.3 - show landmark for current position and found position
v0.0.4 - allow navigation and show navigation track on the map, incl. current location tracking (no voice guidance yet)
v0.0.5 - show navigation track on the map incl. current location tracking (no voice guidance yet)
v0.0.6 - make the map rotate when changing driving direction
v0.0.7 - show additional information during navigation (like distance to next turn, where to turn, name of the road, speed, etc...)
v0.0.8 - add voice guidance (hopefully, the waze ppl will let me use their recordings)
v0.0.9 - making a deb and upload to extras/testing
v0.1.0 - reduce network usage (local cache...)

dimbert 2011-05-28 17:03

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 1017509)
Yes, the waze ppl suggested porting as well, but...

I have no interest of porting it because:
1) most of the functionality is already in Qt and since the waze code is huge and missing some documentation, so it will take a lot of time. I think that less than rewriting it.
2) I want to make it in pure QML so that it will be truly multiplatform

Anyway, I have attached v0.0.2 (run it similarly to previous release
Code:

qmlviewer -I /opt/qtm12/imports/ qwazer.qml
)
Changelog:
* you can now search (even though the result list UI is ugly...)

Roadmap:
v0.0.3 - show landmark for current position and found position
v0.0.4 - allow navigation and show navigation track on the map, incl. current location tracking (no voice guidance yet)
v0.0.5 - show navigation track on the map incl. current location tracking (no voice guidance yet)
v0.0.6 - make the map rotate when changing driving direction
v0.0.7 - show additional information during navigation (like distance to next turn, where to turn, name of the road, speed, etc...)
v0.0.8 - add voice guidance (hopefully, the waze ppl will let me use their recordings)
v0.0.9 - making a deb and upload to extras/testing
v0.1.0 - reduce network usage (local cache...)

Please make a donation link... You really deserve it

dimbert 2011-05-28 17:05

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 1017509)
Yes, the waze ppl suggested porting as well, but...

I have no interest of porting it because:
1) most of the functionality is already in Qt and since the waze code is huge and missing some documentation, so it will take a lot of time. I think that less than rewriting it.
2) I want to make it in pure QML so that it will be truly multiplatform

Anyway, I have attached v0.0.2 (run it similarly to previous release
Code:

qmlviewer -I /opt/qtm12/imports/ qwazer.qml
)
Changelog:
* you can now search (even though the result list UI is ugly...)

Roadmap:
v0.0.3 - show landmark for current position and found position
v0.0.4 - allow navigation and show navigation track on the map, incl. current location tracking (no voice guidance yet)
v0.0.5 - show navigation track on the map incl. current location tracking (no voice guidance yet)
v0.0.6 - make the map rotate when changing driving direction
v0.0.7 - show additional information during navigation (like distance to next turn, where to turn, name of the road, speed, etc...)
v0.0.8 - add voice guidance (hopefully, the waze ppl will let me use their recordings)
v0.0.9 - making a deb and upload to extras/testing
v0.1.0 - reduce network usage (local cache...)

Cant find the application in Extra-Testing... Have you uploaded?

damagedspline 2011-05-30 06:01

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by dimbert (Post 1017525)
Cant find the application in Extra-Testing... Have you uploaded?

I have not yet uploaded into extras testing since it is in a very early development stages, but I did however checked in a task yesterday to the source repository that allows deb generation, so I will provides installable links starting the next version.

I am hoping to release version v0.0.3 by the end of the week which will allow plotting a course between 2 locations and show the course on the map (no voice guidance nor current location tracking nor course details in this version).

damagedspline 2011-05-31 20:37

Re: [Workaround] I bought the N900, but I am missing WAZE which ran great on my N95
 
Quote:

Originally Posted by damagedspline (Post 1018322)
I am hoping to release version v0.0.3 by the end of the week which will allow plotting a course between 2 locations and show the course on the map (no voice guidance nor current location tracking nor course details in this version).

the map drawings did not entered in v0.0.3.
anyway, discussion on Qwazer can be moved to http://talk.maemo.org/showthread.php?t=73638


All times are GMT. The time now is 21:34.

vBulletin® Version 3.8.8