|
2011-01-11
, 11:23
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#52
|
var poiRegExp = new Array(); poiRegExp[0] = /AIRPORT|AIRLINE|METRO|UNDERGROUND|RAILWAY|FERRY|SBAHN|RER_/; //Transport poiRegExp[1] = /BAR|SHOP/; //shops poiRegExp[2] = /EDUCATION|EXHIBITION|LIBRARY|MUSEUM|UNIVERSITY/; //Education poiRegExp[3] = /PARKING/; //Parking poiRegExp[4] = /BEACH|CAMPING|CASINO|CINEMA|GOLF|HOLIDAY|OPERA|STADIUM|THEATRE|TOURIST|ZOO|SPORT/; //Activities
AIRLINE_ACCESS AIRPORT ALL AMUSEMENT_PARK AUT_METRO_ACCESS AUT_METRO_STOP BARS_CAFES BAR_DISCO BEACH BEL_METRO_ACCESS BEL_METRO_STOP CAMPING CAR_DEALER CAR_REPAIR CASH_DISPENSER CASINO CINEMA COMPANY CONCERT_HALL CONGRESS COURTHOUSE CULTURAL_CENTRE CZE_METRO_ACCESS CZE_METRO_STOP DEN_METRO_ACCESS DEN_METRO_STOP DEU_METRO_ACCESS DEU_METRO_STOP DEU_SBAHN_ACCESS DEU_SBAHN_STOP EDUCATION EMBASSY ESP_BARCELONA_METRO_ACCESS ESP_BARCELONA_METRO_STOP ESP_CERCANIAS_METRO_ACCESS ESP_CERCANIAS_METRO_STOP ESP_MADRID_METRO_ACCESS ESP_MADRID_METRO_STOP EXHIBITION_CENTRE FERRY_TERMINAL FIN_METRO_ACCESS FIN_METRO_STOP FRA_METRO_ACCESS FRA_METRO_STOP FRA_RER_ACCESS FRA_RER_STOP FRONTIER_CROSSING GBR_GLASGOW_METRO_ACCESS GBR_GLASGOW_METRO_STOP GBR_LONDON_METRO_ACCESS GBR_LONDON_METRO_STOP GOLF_COURSE GOVERNMENT_OFFICE HOLIDAY_PARK HOSPITAL HOTEL ITA_METRO_ACCESS ITA_METRO_STOP LIBRARY METRO_ACCESS MOUNTAIN_PASS MOUNTAIN_PEAK MUSEUM NOR_METRO_ACCESS NOR_METRO_STOP OPERA PARKING PARKING_AREA PARKING_GARAGE PARK_RECREATION PETROL_STATION PHARMACY PLACE_OF_WORSHIP POLICE POST_OFFICE PRT_METRO_ACCESS PRT_METRO_STOP RAILWAY_STATION RAILWAY_STATION_ACCESS RENT_A_CAR_FACILITY RESTAURANT REST_AREA SHOP SHOPPING_CENTRE SPORT_OUTDOOR STADIUM SWE_METRO_ACCESS SWE_METRO_STOP THEATRE TOURIST_ATTRACTION TOURIST_INFORMATION_CENTRE UNDERGROUND_STATION UNIVERSITY ZOO
this._poiSettingsBtn = new nokia.aduno.medosui.Button("ButtonWithIcon", translation["places.label11"]); this._aboutBtn = new nokia.aduno.medosui.Button("ButtonWithIcon", "About"); this._transportBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "Transport"); this._shopsBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "Shops"); this._educationBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "Education"); this._parkingBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "Parking"); this._activitesBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "Activities"); this._allBtn = new nokia.aduno.medosui.Button("ButtonWithCheck", "All");
|
2011-01-11
, 11:43
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#53
|
I'm trying to put together some code to enable GuidanceMockUp to provide route simulation. In the code we have two simulators, S60SimulatorPositionProvide and FfSimulatorPositionProvider. It checks for browser.S60 and creates as necessary. I was thinking along the lines of adding a button that appears after a route has been calculated that allows a simulation of the route to be played. I thought this may be beneficial for testing when attempting to add voice navigation. As of yet I've not coded anything other than remove the statement which checks to see if GuidanceMockup can provide guidance.
this.guidance = new nokia.maps.pfw.GuidanceModel(this._pluginControl, this.routing, this.position, this.map); VoiceGuidance = this.guidance;
|
2011-01-11
, 12:04
|
Posts: 179 |
Thanked: 99 times |
Joined on Feb 2010
@ Yorkshire, UK
|
#54
|
|
2011-01-11
, 14:54
|
Posts: 137 |
Thanked: 150 times |
Joined on Jan 2010
|
#55
|
|
2011-01-12
, 11:47
|
Posts: 137 |
Thanked: 150 times |
Joined on Jan 2010
|
#56
|
|
2011-01-12
, 12:23
|
|
Posts: 762 |
Thanked: 395 times |
Joined on Jan 2010
@ Helsinki
|
#57
|
I just wanted to say this is one of the best threads / things I have seen on this forum. Not only has Ovi maps been the biggest disappointment on the N900 considering it is supported on EVERY OTHER Nokia phone, but for me it won't even work.
I have seen screen shots of colour. (Yes Ovi maps for me is that bad, I have beige and nothing.)
I have seen screen shots of streets. (Yes my ovi maps can't find anything while standing in a city, it reports that I am stood in a field of nothing.)
And I have seen buildings (see note above)
Congrats to OP. I am off to see if I can get half of this to work.
Although I am shocked to hear Nokia does the map lookups on their servers, no wonder when I last used OVI maps it drank half my battery in less than twenty minutes. For those on limited data plans I pity you.
The Following User Says Thank You to cjp For This Useful Post: | ||
|
2011-01-13
, 03:22
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#58
|
Well I got something to do something
The GuidanceModel at http://pastebin.com/B3HSsawg will show the icon for the next maneuver and advance the next maneuver when we get close enough to it.
The Following 5 Users Say Thank You to Blaizzen For This Useful Post: | ||
|
2011-01-13
, 07:18
|
Posts: 31 |
Thanked: 38 times |
Joined on Dec 2010
|
#59
|
|
2011-01-13
, 09:56
|
|
Posts: 397 |
Thanked: 802 times |
Joined on Jan 2010
@ Sydney
|
#60
|
Just suggesting: maybe a little web server (python?) in the background that could be called like "http://localhost:9999/talk/turn_right". The server would then either use espeak or prerecorded files. I might give it a go, but rather stretched on time today...
Thanks again for all your work!
Joerg
UPDATE: ok, I stole some time away, and quick-hacked a little python talk server.
- install espeak
- call 'python speak.py' in the terminal. Or 'python speak.py german' for a german talking server
- the server could then be called on http://localhost:9999/turn_right. The call returns immediately (either with the command spoken, or with 'error'), and the talk can be interrupted with a new request. Only knows turn_right and turn_left, but maybe enough for testing?
http://baach.de/Members/jhb/speak.py/view
The Following 7 Users Say Thank You to Blaizzen For This Useful Post: | ||
haven't finished sorting pc since reformat yet. i need to create a small floating textbox, blaizzens writemessage is good for now but it seems to upset the layout rendering. either that or log info to a file.
i did notice theres an icon/button for traffic stowed away in one of the folders. could perhaps use it to toggle an overlay or something.