webOS Nation Forums >  Homebrew >  WebOS Internals > Navit for Pre?
Navit for Pre?
  Closed Thread
 
Thread Tools Display Modes
Old 02/11/2010, 04:56 AM   #21 (permalink)
Member
 
Posts: 3
Hi,

I want to bring navit up on framebuffer. For that reason I am using gui="internal" and graphics="sdl" in navit.xml. Could anyone help?
mobquest is offline  
Thanked By: AlanCorporation
Old 02/11/2010, 05:00 AM   #22 (permalink)
Member
 
debilater's Avatar
 
Posts: 145
Read my last post on this. There is a new EventHandler required for navit to run on webOS.
debilater is offline  
Old 02/15/2010, 01:30 AM   #23 (permalink)
Member
 
Posts: 3
Hi,

I want to run navit on fedora 9,but on the framebuffer. I do not want the map to open on x windows. Could you please help?
mobquest is offline  
Old 02/15/2010, 03:03 AM   #24 (permalink)
Member
 
debilater's Avatar
 
Posts: 145
Quote:
Originally Posted by mobquest View Post
Hi,

I want to run navit on fedora 9,but on the framebuffer. I do not want the map to open on x windows. Could you please help?
Nope, this is a forum for palm pre devices, not fedora, sorry.
debilater is offline  
Old 02/17/2010, 05:18 AM   #25 (permalink)
Member
 
Posts: 77
Not me, but it seems that someone got it to work 23: 0.0.1 first navit palm pre shot webos - Pali Dhar
SebastianHa is offline  
Old 02/17/2010, 06:34 AM   #26 (permalink)
Member
 
debilater's Avatar
 
Posts: 145
Quote:
Originally Posted by SebastianHa View Post
Not me, but it seems that someone got it to work
Nope. This is the very same image posted in this thread, taken by me. It doesn't work, it just displays the map, not the GUI.
debilater is offline  
Old 02/17/2010, 07:20 AM   #27 (permalink)
Member
 
Posts: 77
Oh, sorry, did not find it in this thread.
SebastianHa is offline  
Old 02/19/2010, 11:08 AM   #28 (permalink)
Member
 
Posts: 55
Grmbl.. I just hoped that there is progress...
Holliefant is offline  
Old 02/25/2010, 05:05 AM   #29 (permalink)
Member
 
Posts: 7
Greetz,

I tried since a couple of months to port navit to palm pre and got pretty quick to the stage where it started but was not responsive, and didn't get any further
This week i had the idea to attach gdb and see what what is it actually doing.

From that stack trace, i came across this thread. Thanks to you, debilater, and to cp15, I got the hint what is going wrong.

So here it is: the navit running on Palm Pre, responsive, even got some OSD elements to work (zoom). Some menu elements don't show up well. This needs to be investigated. Also SVG and XPM files cannot be loaded on Pre. I will try with PNG files.

The next big step is to get the GPS data. I put here the patch for the SDL graphics. Please note that the patched source will not work on other SDL platform than the pre, but for a 1st try it's ok ;-)
Attached Files
File Type: patch navit.graphics_sdl.c.patch (6.2 KB, 56 views) Email Attachment
binutzu is offline  
Thanked by ashi, debilater, kanzlr
Old 02/25/2010, 05:12 AM   #30 (permalink)
Member
 
Posts: 68
wow, sounds good,

i always wanted a diffrent gps app on my pre,

this might be it.

looking forward to test the alph/beta version on the pre.
p25o1 is offline  
Old 02/25/2010, 05:42 AM   #31 (permalink)
Member
 
Walhalla2k's Avatar
 
Posts: 339
as I had some trouble today with my PNU tomtom device.. looking really forward to have some good navigation on my PRE. so if you need any tester.. willing to join the beta team...
Walhalla2k is offline  
Old 02/25/2010, 12:12 PM   #32 (permalink)
Member
 
debilater's Avatar
 
Posts: 145
Quote:
Originally Posted by binutzu View Post
So here it is
Great! I'll apply the patch this evening and see what it does Perhaps it might be a good idea for you to apply for a git account on webos-internals (ask rwhitby).


regards,
Debilater
debilater is offline  
Old 03/01/2010, 11:11 AM   #33 (permalink)
Member
 
Posts: 44
Nice! This would be awesome. You probably don't know it, but the standard Sprint employee accounts do not come with free Telenav (we have to pay $10/month for it). So you'd actually make a lot of Sprint employees happy if you got it working!
JustinHoMi is offline  
Old 03/02/2010, 04:19 AM   #34 (permalink)
Homebrew Developer
 
hape's Avatar
 
Posts: 556
And all the uses in Europe that do not have a Navigation solution at all ...
hape is offline  
Old 03/09/2010, 11:12 AM   #35 (permalink)
Member
 
Posts: 42
right, here in Europe all I use to navigate is google maps so this would be awesome for all of us. I'd be a tester if needed.
Zuko is offline  
Old 03/11/2010, 04:34 AM   #36 (permalink)
Member
 
Posts: 55
Any new progress?
Sry Im just so curious
Holliefant is offline  
Old 03/11/2010, 06:14 PM   #37 (permalink)
Member
 
Posts: 7
well, sort of.

I was trying to get GPS data by writing a vehicle plugin for webos. The idea is to start a luna-send process and pipe the output (coordinates) to navit, parse the json and deliver it to the plugin system. Quite messy, but at the time the only solution i could see. I got quite far with it, but...

A few days ago Palm released the PDK and the luna-send idea seems obsolete because the PDK defines two functions to access the gps data: PDL_GetLocation and PDL_EnableLocationTracking.

However, this functions are not on the device in the libpdl.so, webos 1.4 Currently I'm trying to get the libs from the PDK (desktop installation) to work with navit on the device.

I will post the webos sdl & vehicle plugins patches as soon as i have something more stable.
binutzu is offline  
Thanked by HaPe, Holliefant
Old 03/12/2010, 10:16 AM   #38 (permalink)
Member
 
Posts: 5
Has anyone had success in building navit with the official PDK from Palm?
I can compile the software but if I try to start it on the device it fails saying that 'graphics_sdl_new' can not register the 'glib' event system (don't remember the exact error message right now).
I looked in the source and I guess he is trying to load a plugin named 'libsupport_glib.so' which does not exist. However, during the build there is a libsupport_glib.la which is IIRC a static lib and therefor can not be loaded at runtime.

Any hints?

donbachi
donbachi is offline  
Old 03/12/2010, 01:50 PM   #39 (permalink)
Member
 
Posts: 31
Hi binutzu

I still have to try your patch... was quite busy last weeks.

For the GPS have you considered using dbus? Palm is providing some kind of interface (check dbus-monitor). I havn't looked deeper into it, but it looks promising.

Kind regards,
Christof
cmusik is offline  
Old 03/12/2010, 04:22 PM   #40 (permalink)
Homebrew Developer
 
Posts: 164
using dbus-monitor I found that "GPS dashboard" does something like

method call sender=:1.76 -> dest=com.palm.location path=/; interface=org.json; member=startTracking
string "{"subscribe": true}"
string "net.bradleygraber.gpsdashboard 1021"

and then it get's returns like

method return sender=:1.61 -> dest=:1.76 reply_serial=37
string "{"errorCode":0,"timestamp":1.268427206311E12,"latitude":53.XXXXX,"longitude":9.XXXXX,"horizAccuracy ":150,"heading":0,"velocity":0,"altitude":0,"vertAccuracy":0}"

so com.palm.location seems to be the dbus service to query for GPS data:
Location Service €“ Palm Developer Center

Last edited by noradtux; 03/13/2010 at 05:06 AM.
noradtux is offline  
Closed Thread

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0