找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1603|回复: 6

[软硬件讨论] Farewell the Google & Maps...?

[复制链接]
发表于 2011-3-11 01:32 | 显示全部楼层 |阅读模式
Some difference in 1.45 rom & 2.1 rom....../com.palm.app.maps/app/assistants/app-assistant.js
$ Z- f8 O! m* Z" w, `; f  u+ I
! W3 h- M% J5 k2 M1.45:; @9 {! T( q3 A) i4 K
AppAssistant.url = "";
; ]' W0 a2 |5 TAppAssistant.webViewWidget = undefined;" M+ H+ x- `+ g3 @5 O' N, T
AppAssistant.googleMapsURL = "http://maps.google.com/maps/m";" _4 ^/ w' r5 n$ |0 E
//AppAssistant.googleMapsURL = "http://gjm.google.com/mwm?sky=tfb";$ Y. V; p# f3 h5 \8 X: ^
AppAssistant.urlClientParam = "client=ms-mwm-palm";* ^) R4 f- e0 Z* F7 H- V/ Q
+ o: y/ [6 ?9 Z* L3 `( c& c
function AppAssistant(appController) {$ C0 k. B. P1 d1 P) T+ V' o
        Mojo.Log.info("MAPS App: AppAssistant");. l* P/ [8 Z+ m! P/ y
    this.appController = appController;
" b8 K7 J' ]% m- P       
. d" @  v( n6 X& N! e* r        var countryCode = Mojo.Locale.getCurrentLocale().slice(-2).toLowerCase();* X, `6 Y& N; s. l/ k! H: C/ H
        // HACK for google: they need "uk" intead of "gb" that we set
' i2 N. x1 E  c) Y        if (countryCode == "gb") {
( r. l+ p/ ~* v$ p; r7 ~; _6 e                countryCode = "uk";8 K5 Y: A, K) s9 u- F' b: G
        }
3 F6 U  \' K8 M8 X% R        AppAssistant.countryCodeParam = "gl=" + countryCode;- N- k9 c) Y7 {: I
2 b" y* o* t% B9 x" a
2.1rom:
& K3 R$ q& e0 B# P1 G4 bAppAssistant.url = "";! `; m3 [4 H2 F4 @3 p0 c. M) {
AppAssistant.webViewWidget = undefined;
. ]0 i' c1 @9 Y- pAppAssistant.googleMapsURL = "http://maps.google.com/maps/m";! Y+ d( ]& @+ ^, h' ]2 G0 N" U
//AppAssistant.googleMapsURL = "http://gjm.google.com/mwm?sky=tfb";, ~" r( M0 a4 F0 q) \/ ?' A: r9 q
AppAssistant.urlClientParam = "client=ms-mwm-palm";4 m4 e3 `7 r4 R) Z

3 K- j, ]( @7 Lfunction AppAssistant(appController) {. j2 P5 D0 t0 v
        Mojo.Log.info("MAPS App: AppAssistant");+ J) o6 k) A& l- e' F4 b2 B% l4 R  F
    this.appController = appController;
* j7 R% n3 C$ \! z       
5 W7 c$ s: }& L/ N5 ~2 `        var countryCode = Mojo.Locale.getCurrentLocale().slice(-2).toLowerCase();2 T6 t/ x7 [5 w0 T" [6 J* c* l
        // HACK for google: they need "uk" intead of "gb" that we set$ [8 u4 @6 ~$ b! l; }
        if (countryCode == "gb") {9 h* k# X* s4 \4 K
                countryCode = "uk";
* p  H: F' Q/ r* @1 b) u        }, E) E. q; ^/ `3 J" x
        // HACK for google china.: X$ Q- O7 G3 t$ o2 c- n
        if (countryCode == "cn") {# o) {* A# N1 X0 ]8 K
                countryCode = "x-unsupported";3 Z$ V" _+ [0 ?( P& a
        }5 y- E8 e! i' E- v8 x' A
        AppAssistant.countryCodeParam = "gl=" + countryCode;

: v: N8 S# q8 A% F: ~4 J
4 L2 E" C1 S% zCan someone tell me the Google Map works well when you choose the countrycode=cn...? thanks!
回复

使用道具 举报

发表于 2011-3-11 09:01 | 显示全部楼层
莫非是区域设置选美国,google map就没偏移了?
回复 支持 反对

使用道具 举报

发表于 2011-3-11 10:48 | 显示全部楼层
是说2.1选中国的区域的话,谷歌地图会显示不能支持?还是显示不支持的country code会有其它方式统一处理?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-11 15:50 | 显示全部楼层
fix GPS..?. M- e) n1 t# ]
/ _# D: h8 Q# J8 @
Step-by-step approach for those experiencing problems with GPS following upgrade.4 t1 ?4 p/ X5 r3 p* f& @9 h3 |2 _* D/ R
To enable GPS functionality go to the "Location Services" application (click "Turn On" if GPS has been completely disabled). From there go to the "Preferences" menu in the top left hand corner and select the "Locate Me Using..." sub-menu item. Ensure that both "GPS" and "Google Services" are enabled (you may be prompted to accept the Terms of Service). Close the "Location Services" application.
9 j- h" P; \0 |. WNext you need to bring up the "GPS Information" application; to do this dial ##477# (or #*477# on GSM/UMTS Pres) in the phone application (the "477" corresponds to the letter keys "GPS").
) J; G: Y8 \, KClick the "Get Fix" button. You may receive a "GPS Error - Position Unavailable" message which you can close. Keep pressing "Get Fix" until a fix is established (it may take several attempts). You will know a fix has been established when some statistics (Latitude, Longitude etc) are displayed.
+ v' P5 T; r1 l1 v  a0 WOnce a fix has been established, GPS should continue to function normally thereafter.
回复 支持 反对

使用道具 举报

发表于 2011-3-11 16:19 | 显示全部楼层
看不懂。
3 a# p0 p* A9 w
8 r- i9 u8 ?  @0 U6 m记得之前刷一个2.0的rom,gmap可以定位的,现在的2.1rom刷了几个都不能定位。
回复 支持 反对

使用道具 举报

发表于 2011-3-11 16:38 | 显示全部楼层
Good! 3ku
回复 支持 反对

使用道具 举报

发表于 2011-3-11 16:43 | 显示全部楼层
不指望A-GPS能怎么好用。
' }9 U  u8 s2 l# X) B+ J7 a
+ N+ ]$ Y9 G5 b" T- G继续用 WM6.5+GARMIN+外置蓝牙GPS接收器
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2024-12-22 20:29 , Processed in 0.297684 second(s), 15 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表