|
楼主 |
发表于 2009-6-12 21:38
|
显示全部楼层
在chrome或者safari上运行计算器。昨天自己乱改,原来是能运行,但后来不知道怎么回事又不好用了。8 M1 U9 i* P: a4 g9 j* E# f
主要步骤,今天precentral一个人同样运行了计算器,证实好用。6 `2 D, K+ u4 \; a5 ]% h8 Z; |1 Z
1,将修改后的mojo中的framework拷到caluculator文件夹中,和app文件夹并列,1 m' E5 @1 `7 b! g& @
2,修改index.html中:+ }2 ?. r8 f) `( K! K# L# n
<script src="/usr/palm/frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>
5 e& A. y5 p# [& ~, N* M改为
) C3 \# e) `1 H+ c" m<script src="frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>- z" i. y. W6 `$ P/ ]
$ m. F7 |, ~; z9 a7 r3 { j
然后可以用浏览器打开index.html。8 l7 Z7 e' z2 r9 S
! G' d% \4 v# o! o1 pjohncc/ R3 ~8 ~6 Y ]$ T( \0 M( I, r) b% z
Member
4 @! t4 N( l1 w8 e8 z
* G& U( P' y, w
% g# L5 e+ {) l0 V8 A" P4 S2 v/ P6 v# V
4 y9 x$ ]0 ?( KJoin Date: Oct 2005. j, J$ a }- ]1 K2 ^1 r
Location: Adelaide, SA, Australia
+ {2 R+ h& s9 OPosts: 1,2837 k C) _$ B# p
Thanks: 59+ x, _5 W9 l3 @& L2 M
Thanked 24 Times in 20 Posts
9 L% B4 k% k4 ^! T0 W" J
% x q: h: {# {, G$ ~; [Got it to run in Google Chrome without any problems. Thanks Predan.7 d1 q& Q: U. Q# {4 U, G
& h3 T1 ]+ g" W# _% |
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
8 q! Y* p6 I( {7 ?% w" c1 F( x
# `0 S% `( f$ \& ~% ^<script src="/usr/palm/frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>% G! Q) E, ]. p5 x* R, i) x
3 c4 ?) a* T _& L: d
to0 A) B( ?( q4 }: L: F
0 O1 V# y: A( X2 I& V2 t; Z6 ?<script src="frameworks/mojo/mojo.js" x-mojo-version="1" type="text/javascript"></script>
0 `+ M: F @4 Y, @7 ?
& W' ^6 s% p8 k$ {9 SThe calculator is fully functional, by the way.0 _$ ~, f6 b" y
9 l. m( }* W J5 E# E4 e( v" f
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.
* M; l0 n, U8 V' U7 C4 ]+ n# n0 a6 G" ~4 D) W W
I have attached an image showing the Pre running in Google Chrome on my monitor. % y- J, a: R% O
[ 本帖最后由 felixw 于 2009-6-12 21:39 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|