webOS Nation Forums >  Homebrew >  WebOS Internals > Navit for Pre?
Navit for Pre?

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02/11/2010, 03:56 AM   #21 (permalink)
Member
 
Join Date: Feb 2010
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

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, 04:00 AM   #22 (permalink)
Member
 
debilater's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 145
Likes Received: 0
Thanks: 9
Thanked 59 Times in 23 Posts
Default

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, 12:30 AM   #23 (permalink)
Member
 
Join Date: Feb 2010
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

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, 02:03 AM   #24 (permalink)
Member
 
debilater's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 145
Likes Received: 0
Thanks: 9
Thanked 59 Times in 23 Posts
Default

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, 04:18 AM   #25 (permalink)
Member
 
Join Date: Sep 2009
Posts: 64
Likes Received: 2
Thanks: 0
Thanked 24 Times in 10 Posts
Default

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, 05:34 AM   #26 (permalink)
Member
 
debilater's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 145
Likes Received: 0
Thanks: 9
Thanked 59 Times in 23 Posts
Default

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, 06:20 AM   #27 (permalink)
Member
 
Join Date: Sep 2009
Posts: 64
Likes Received: 2
Thanks: 0
Thanked 24 Times in 10 Posts
Default

Oh, sorry, did not find it in this thread.
SebastianHa is offline  
Old 02/19/2010, 10:08 AM   #28 (permalink)
Member
 
Join Date: Oct 2009
Posts: 52
Likes Received: 0
Thanks: 27
Thanked 3 Times in 3 Posts
Default

Grmbl.. I just hoped that there is progress...
Holliefant is offline  
Old 02/25/2010, 04:05 AM   #29 (permalink)
Member
 
Join Date: Feb 2010
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 7 Times in 3 Posts
Default

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, 54 views) Email Attachment
binutzu is offline  
Thanked by ashi, debilater, kanzlr
Old 02/25/2010, 04:12 AM   #30 (permalink)
Member
 
Join Date: Nov 2009
Location: O2 Germany 1.3.5.2 - Dubai - Etisalat SIM
Posts: 68
Likes Received: 1
Thanks: 13
Thanked 4 Times in 3 Posts
Default

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, 04:42 AM   #31 (permalink)
Member
 
Walhalla2k's Avatar
 
Join Date: Nov 2009
Location: Prague, CzechRepublic
Posts: 342
Likes Received: 2
Thanks: 139
Thanked 20 Times in 20 Posts
Default

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, 11:12 AM   #32 (permalink)
Member
 
debilater's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 145
Likes Received: 0
Thanks: 9
Thanked 59 Times in 23 Posts
Default

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, 10:11 AM   #33 (permalink)
Member
 
Join Date: Nov 2009
Posts: 44
Likes Received: 0
Thanks: 2
Thanked 1 Time in 1 Post
Default

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, 03:19 AM   #34 (permalink)
Homebrew Developer

 
HaPe's Avatar
 
Join Date: Jun 2009
Location: Gremany, Frankfurt am Main
Posts: 520
Likes Received: 11
Thanks: 130
Thanked 182 Times in 77 Posts
Default

And all the uses in Europe that do not have a Navigation solution at all ...
HaPe is offline  
Old 03/09/2010, 10:12 AM   #35 (permalink)
Member
 
Join Date: Dec 2009
Posts: 42
Likes Received: 0
Thanks: 4
Thanked 1 Time in 1 Post
Default

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, 03:34 AM   #36 (permalink)
Member
 
Join Date: Oct 2009
Posts: 52
Likes Received: 0
Thanks: 27
Thanked 3 Times in 3 Posts
Default

Any new progress?
Sry I´m just so curious
Holliefant is offline  
Old 03/11/2010, 05:14 PM   #37 (permalink)
Member
 
Join Date: Feb 2010
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 7 Times in 3 Posts
Default

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, 09:16 AM   #38 (permalink)
Member
 
Join Date: Oct 2009
Posts: 5
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Default

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, 12:50 PM   #39 (permalink)
Member
 
Join Date: Oct 2009
Location: Germany
Posts: 31
Likes Received: 0
Thanks: 1
Thanked 4 Times in 3 Posts
Default

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, 03:22 PM   #40 (permalink)
Homebrew Developer
 
Join Date: Oct 2009
Location: near Hamburg, Germany
Posts: 145
Likes Received: 6
Thanks: 8
Thanked 27 Times in 20 Posts
Default

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 04:06 AM.
noradtux is offline  
Closed Thread

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0