|
楼主 |
发表于 2009-6-12 21:38
|
显示全部楼层
在chrome或者safari上运行计算器。昨天自己乱改,原来是能运行,但后来不知道怎么回事又不好用了。
( S4 T- k3 g( ~9 o主要步骤,今天precentral一个人同样运行了计算器,证实好用。
r* Y; ~9 |7 [( P1,将修改后的mojo中的framework拷到caluculator文件夹中,和app文件夹并列,7 n1 Z+ L/ n, i( ~' N# y
2,修改index.html中:
- z* r6 N* I8 B( W<script src="/usr/palm/frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>6 U& u) a4 z3 }9 h
改为1 Z7 J- L8 b0 J. b
<script src="frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>
+ E. U* a6 U& p4 E6 U: r% o7 a2 V' ?4 b. b
然后可以用浏览器打开index.html。6 K! @' \# E) f( Q# q" M$ k
5 b, N; T% } }8 n; U' B* Z! k' A
johncc6 I* l0 z2 A2 r
Member5 @8 U1 k" y$ o$ J
" V8 ~. I! r5 m7 r7 x; k
9 d" q& R# A5 v, ?6 ~7 {
z0 ?. I: Z, b; T% S- { : B2 r7 O) q: S. ]" A+ E; a3 p% x
Join Date: Oct 2005/ Q% h- ?, T ^8 x
Location: Adelaide, SA, Australia
4 \/ | j3 H# U F9 ?Posts: 1,283
! ?& j! e: i, wThanks: 59
- ?" E% ^0 I8 BThanked 24 Times in 20 Posts
0 X3 o5 O$ v t% Y3 K+ P1 k
" X! C3 v- k& S7 O, o2 M0 }3 mGot it to run in Google Chrome without any problems. Thanks Predan.# l3 O5 K$ r/ q1 n! a; n; Q
+ f+ }& q' c2 U, D+ b$ x
I also was able to run the Pre calculator extracted from the WebosDoctor package (figured that it would not access the hardware) by copying Predan's 'frameworks' folder under the 'com.palm.app.calculator' folder at the same level as the 'app' folder, and editing index.html to change the line; c3 U L% ^ P3 t9 @0 j/ s: V4 N
\2 |3 l; R; v/ j& d
<script src="/usr/palm/frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>* y0 a& f2 q8 t
$ H: E i1 G3 X
to
2 |7 i5 k: W; v- j, e. C- O7 w, E- b* V, r
<script src="frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>
; w' q! t5 h2 ^
7 o6 I) s: B I# ?) JThe calculator is fully functional, by the way.' V) v3 r: F8 g; `* v6 D8 n1 O
( s- B: U' r0 t% ?
It would be obviously better to have the frameworks folder at a higher level (with a corresponding change to the above amendment), so that it served all programs.2 J- \) A- p; @' p6 p+ d
: _! g. U9 v( H7 P5 p* Q! _/ EI have attached an image showing the Pre running in Google Chrome on my monitor. : T1 S \2 U- U# Q
[ 本帖最后由 felixw 于 2009-6-12 21:39 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|