Reply
Thread Tools
Posts: 74 | Thanked: 34 times | Joined on Jan 2008
#41
forum: email me , when new post in here
 
Posts: 329 | Thanked: 505 times | Joined on Jul 2008 @ Israel
#42
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.
 

The Following 2 Users Say Thank You to damagedspline For This Useful Post:
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#43
Originally Posted by damagedspline View Post
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?
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
Posts: 329 | Thanked: 505 times | Joined on Jul 2008 @ Israel
#44
Originally Posted by eitama View Post
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.
 

The Following User Says Thank You to damagedspline For This Useful Post:
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#45
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.
 
Posts: 74 | Thanked: 34 times | Joined on Jan 2008
#46
 
ZogG's Avatar
Posts: 1,389 | Thanked: 1,857 times | Joined on Feb 2010 @ Israel
#47
There is API for WEB so we can make app with Qt Webkit
 
Posts: 329 | Thanked: 505 times | Joined on Jul 2008 @ Israel
#48
Originally Posted by ZogG View Post
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)

Last edited by damagedspline; 2011-05-12 at 21:34.
 

The Following User Says Thank You to damagedspline For This Useful Post:
Posts: 329 | Thanked: 505 times | Joined on Jul 2008 @ Israel
#49
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.
Attached Files
File Type: zip WazeWebClient_0.01.zip (4.0 KB, 102 views)
 

The Following 4 Users Say Thank You to damagedspline For This Useful Post:
Posts: 68 | Thanked: 13 times | Joined on Oct 2010
#50
Originally Posted by damagedspline View Post
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!
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:43.