|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了
( r, I K0 {" L+ M: _ h
! n( {) k2 H( u8 A* Q1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;( Q4 s2 C+ Z3 p
2. 通过wordpad将command-resource-handlers.json 中增加 红色部分7 \# h# @, X+ V& ?$ q: z1 y; O
{! ^/ o) e" ^3 b, s: c( S! \
"schemaVersion": 1,
' s: u: D6 p; ^: H+ _) Z/ |7 ?
M# I+ `8 e% I( t "redirects":! i! i. L) d0 T9 y% V( p
[
0 {4 ?4 P5 q0 \7 X: J0 m { "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },, {2 H! b( {5 g9 B: {- u' B% O- x& x$ j/ y
{ "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },
+ L: o5 z% e/ c u { "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }1 Q! X6 s$ E3 Y" }4 a
],
! }. X' K, Z+ Y" w D6 R
8 z3 L4 ~/ b+ d "resources":
4 s) I9 |# n8 e4 v1 j" b [
. G3 ]* o% l( H) H. b. I& r { "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },0 x9 f" n% |3 }* _# L7 m/ [
{ "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
2 R5 g5 K" C* G O5 n, ?- a { "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false },
5 a f2 A( C; w( | ) `; }% Q9 K5 v/ }0 w
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true },
& q/ K; p9 t# z. u: ^! c9 r1 E { "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
/ G; c) z) q! k. @5 `6 P! K { "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },1 d2 M# j( K' P5 L- u# R
{ "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },
; z3 o, i( T5 T { "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
" q2 I& T' v) @5 R! S& E { "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
1 U% c |0 H. J) J0 x2 G { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
9 x* P1 i4 F5 O0 k { "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },# L5 D' @- g* m% G% x
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true },7 ~! w1 O, X, @' _
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
& S' `7 W ~2 x5 J5 |1 X { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },- O6 Z; Y) V: v/ r- G
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
+ r0 ]( c$ s8 b, n { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
0 A6 H w- A* S0 [3 n3 m7 D6 Z9 x# |; @ { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
3 A7 |2 P& I4 }" _3 y$ a- g) L9 i1 m
{ "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
) i* g4 v# _2 ` { "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },& }% q; E- I [9 p, {; e/ v2 @
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true }, ; m+ q) `% T6 S
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },1 M9 Z0 `+ @8 X( L
{ "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },2 m+ y& k- x: a; e( g2 b6 s/ J
{ "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },- V q5 B; B# x+ B% r- ? v
{ "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },9 U. A3 O2 L! v" B/ x5 D
{ "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },% L e1 P9 k9 q( [
{ "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },1 H2 l2 y) s C; Q7 C2 y; a8 k
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },+ }, R+ @! k& d7 G: R
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },
' J& R5 I! N% ^7 r6 I { "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true },5 U$ k7 R }: N8 \& k7 m
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
6 r1 Q/ ]' f& b! l% P' A* E2 m4 h& u { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },$ k$ Z5 _1 ?, k) P# F
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },# ?& ?. H/ Z, g( }% U1 o. P
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },' W7 d& ~- O) n% T/ K
{ "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
, p4 n3 ^/ _7 t7 b) u) d% M V0 k7 v0 f& ^; ~: Z9 K- s
{ "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },' B( ]/ f0 h/ V$ K
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },: B6 j+ H# R; Z* U4 W
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
1 d1 L) S: w" f' l& I) j5 ~: l4 v1 Z9 q
" u6 c5 S3 K" Z5 o; O1 `7 e) J8 L) ~- W! Y5 C. `; ^
{ "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false },: N0 ~7 j6 c) {9 D! O1 R5 p3 V" I
{ "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },6 Z5 \7 s- b( w# O Y4 F1 H7 N
{ "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false },
, g( M* i( W8 C1 D3 J' \ l0 H$ L( ] { "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false },
! t+ b. F. t9 x m1 \# t* n { "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },
% }4 B" H- i6 L& Q, u; |) u; H { "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false },
- z M% W1 v" ]5 p! q! J& P" P { "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },, U! W! `4 S( l( a2 I0 O: C2 B6 j
% u2 r/ ~ z$ s4 z3 y" } { "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
( V! x" B( p g { "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },
$ e# e! e% b+ y { "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
% T. _- @. Q3 h { "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },1 K' |. B; @6 t: H
{ "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },. ?- c6 ]: B' O# {* [
{ "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },0 m' ?) S. O1 ], x
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
1 ?7 t. n+ q O7 H- |- T8 m3 j { "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
7 }+ f0 N8 Y( n0 K" t# G { "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
9 Z1 U! ?$ r: r; ^. z5 Y { "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },* j0 C5 d: { K, {2 Y. J% W
{ "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
* W( [( U$ x; n { "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },& X" X r$ ^ ?3 j7 d+ [
{ "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },* u0 w6 `9 |- {* s1 a4 e
{ "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },
6 T. m4 ?8 s* p. B! v3 D
- x' L. ]3 x( ^5 ?% A0 W { "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
7 J. k* I* e* D" z3 K7 Q) b { "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },3 o/ Z1 \) N9 ]
{ "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },: x: C4 S/ X) E4 ^
{ "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
/ r4 h8 ]6 ]1 X' H/ v { "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! w6 v2 ^5 E( h: K$ G1 M( a { "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
. @, w1 A* g4 a4 _. S1 v+ e { "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },1 ? L" z2 ?+ c4 i E. s4 M2 X
{ "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- w: W8 J& `' Q# b* N0 I3 ]* C' d# U
{ "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
' c# q7 N% O& [ { "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
7 i6 v, Q8 {4 A9 H { "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
/ p, k1 c' w# }4 H6 T+ E) \ { "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },8 U& o2 J- x" W* O6 s+ D u
{ "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },# n+ c9 X; J( u
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
. s3 B2 y6 G7 ^) e( I; w { "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },% V4 g! x; H+ d2 G
{ "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },4 b0 r% g' u8 Q
{ "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" f1 o+ N2 }( ^0 n { "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
* s+ w) i+ K! {: I9 ?4 S6 {
; b# D+ g+ C1 z5 N' N) ] { "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },9 s Y# ~2 ~/ E& e
{ "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- ]2 P: _1 D j3 e8 M% O' I
{ "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },6 i& m% q1 V) S; h0 v! y
{ "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 p% T5 A: M0 x7 `' Y7 G4 ]+ t v
{ "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" d* L- j( y7 N3 j" i2 `# n { "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
& c2 i0 W3 G$ V, n% l! O6 ?1 ? { "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },) c2 r9 m4 K$ I/ Y9 O* ?
{ "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },% b: ]: P( r9 u O& C
{ "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" d$ g8 L: z1 a Y* q { "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },$ i' n. e' m' o: x
W( f+ Q" H7 l4 O" c
{ "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },+ q! y, s( Q( r3 a, ?+ y1 J( k% a G
{ "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
`( }' v3 V) k" Y% B* ]7 I3 [ { "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },% g$ T9 I% M, r8 c9 s1 J( O
5 @ i" z2 A$ n- V: l! E6 c$ \ { "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },2 a$ ?; m1 h. ?# j" t6 a
{ "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true },2 ~* M/ _$ t$ m" J, s
{ "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },* N: Z$ h/ \7 E! f; g. O% b+ y
{ "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },: K: @( C' Y6 v( s3 [# j% V
{ "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },
+ {: z" u" l9 y, z) [# E+ I ! G% \ p: P; E; L) ]
{ "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }+ s) ]: A* |% E3 N e
],6 v" L, l8 T" V1 T& @
$ K1 z/ F& @% M3 Y+ Y "commands":
. A( E& Q+ u4 u. Z8 [# Z [
' S' D' N% x; n { "url":"^mailto:", "appId":"com.palm.app.email" },
( W& F e" J4 g( X { "url":"^im:", "appId":"com.palm.app.messaging" },
! v% K: j, c' E) w7 t/ y: c { "url":"^sms:", "appId":"com.palm.app.messaging" },3 f0 N$ z& i* W$ O
{ "url":"^contact:", "appId":"com.palm.app.contacts" },
. i* t E5 y* q8 Y. ? { "url":"^chatWith:", "appId":"com.palm.app.messaging" },
# b/ G3 P; B4 g! I* n. b { "url":"^opencontact:", "appId":"com.palm.app.contacts" },
" I) y {) |" P9 ] { "url":"^mojave:", "appId":"com.palm.app.mojave" },
* A* L. ?: S2 U: u0 q { "url":"^https?:", "appId":"com.palm.app.browser"},
" G. f. C: o p6 B3 D+ q { "url":"^data:", "appId":"com.palm.app.browser"},$ W$ ~4 _" H7 K4 T, M+ u/ T
{ "url":"^tel:", "appId":"com.palm.app.phone"},8 u: T7 \/ E8 ^' J6 I9 N
{ "url":"^mobi:", "appId":"com.palm.app.videoplayer"},
4 L) P1 q' L; }5 S { "url":"^mapto:", "appId":"com.palm.app.maps"},
1 u' {: U" A# v( S { "url":"^maploc:", "appId":"com.palm.app.maps"},9 Z% t' p7 @( k
{ "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},
4 U% P+ |* m [( e+ ~- a* ?7 A% I { "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },
( _" _7 o" r N3 z$ p/ S& z! q { "url":"^ypc:", "appId":"com.palm.app.ypmobile" }9 q/ [2 ]- [/ J7 |
]! F% ^6 B1 k! i( [" ]% W
}/ S5 z# Q8 K% G5 ~: G
/ `: N+ l" o, A% \* k/ B0 u$ R7 P1 w Q0 V0 T/ a
3. 保存文件,并将文件名重命名为command-resource-handlers-active.json
0 K4 n4 v( T! |/ a/ @4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/
; ]: S& d' a' I4 N2 Z: h4 c) z [5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可9 o" R P% s$ B2 r: h w% l
6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;5 E7 P) [: U j+ [; V
- e$ {0 _3 d7 @2 w8 r
附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中 5 e8 S2 a2 [ N2 j
$ D4 M: E0 f' r
1 U2 ?, P. X- }/ V, @/ b# I5 U% f
; i/ `, p7 E) K. v9 Y
9 v N9 A/ {4 n& N' c) c a
3 G) {" q4 G2 `3 j" n* i
& @& G* Y9 e/ m+ H' R
6 f- D# _ u% n$ S6 I5 e- v' ~
0 j: ~3 L+ D; z) v
( s0 l5 e. w) D* I. M8 W$ i+ V2 S2 d8 g6 J; B
+ ]. r" r3 |# n2 z
该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|