|
http://forums.precentral.net/web ... ri-without-sdk.html. N7 A- r0 Y2 K' }& p. D' R
由于webos用的webkit的引擎,safari和google chrome也是webkit,所以这两个浏览器都可以运行示例程序。; c1 e" S% o0 n# n8 q& l
更新更方便的办法是把/usr目录拷到盘的根目录下,比如c:/usr 用chrome打开的时候,/usr/相关的目录会自动影射到盘的要目下。. `+ g: O1 b/ D6 _
这样就不需要改文件中的路径。
* k; W2 V# D. S7 t0 C然后直接用chrome打开app里的index.html就可以了。, W/ a4 `7 @9 l& C+ O- B- z. ?& J
比较完美的就是计算器。其它的程序,有些可以运行,但可以是由于涉及硬件方面的,多数运行不起来。 w; f- t( r) m: Y9 E9 \8 z3 B
06/12/2009, 04:45 PM #11 (permalink)
. E- v9 B# Z- i; _7 `drnull
5 Z7 d' _8 Z! R3 G: t( iMember
$ d. n7 g/ z; q2 M3 z
# [2 S" r6 x0 U: }' [* t* jJoin Date: May 20087 D. x0 n7 h3 E7 P5 t
Posts: 3
# n" |/ V+ Y4 b/ i) p8 ]% `* f9 RThanks: 0
1 \6 D- ]$ A2 D' V& |6 j$ |% iThanked 0 Times in 0 Posts
; o- U8 q; B+ q3 l- A
8 S$ C9 _5 ^! }4 B4 QQuote:
# c! x3 e7 Q+ P! BOriginally Posted by johncc * f: A# E0 w, N) {2 k
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 line8 V; Q+ I/ E/ w. z( B& \! i
Nice guys, thanks for posting this. A quick note that you don't have to modify files if you extract the palm folder to c:\usr\palm. Chrome at least will properly look at "/usr/palm/frameworks" and change it to "c:\usr\palm\frameworks" for you automatically. , `5 ?( ^3 w2 n' K4 S& ^! B, i' F `* ~
' x6 z; _2 Q* ^& Y- P+ o4 b' B
最先的, t7 V2 Z* i' H0 Z
Develop Pre Apps in Safari Without SDK
G8 x: U6 z! `3 J W8 a6 g) h6 W" _) O5 d# }$ ?( |2 o# J# J+ m. p% a+ [1 w
predan
% a5 x& X9 K' \3 O' q, mHello,4 B: Y+ @1 Y6 ]2 k2 q1 G4 F
# J" d8 R% l% {/ K' v, a( y$ F
I tweaked the mojo framework files found in the leaked root image to work in Safari. I can't seem to link anything since 6 K2 Q# g; ~. U) Y' f
2 o" B) a0 @- M- ^/ D: Dthis is my first post, but more info is at newcome.wordpress.com" r" v, t, b/ n- s! g
& H, B1 N+ E5 q; m" ^
You can download the zip file that includes a demo project via a link in the blog post.$ K9 o" x) z! B+ S5 {5 a' _1 Z0 y
1 q0 K% u3 G: y- G, q+ Z9 HLet me know what you think
, ]" ^2 S: H% r* V
o9 O; J: W; N3 X% E) bDan 7 k% o+ [1 T/ y- ~
[ 本帖最后由 felixw 于 2009-6-13 17:59 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
|