|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了
& B* F, ]8 {" }
: w. V+ a& o8 o1 s* `0 d1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;
% f8 ~$ k) Q7 f/ z2. 通过wordpad将command-resource-handlers.json 中增加 红色部分; H0 ^* o5 D& Y. Y! B
{
; H4 R: n- F! u; ]9 N* t. b; r "schemaVersion": 1,
1 _1 r9 c; c. e( K6 @ @) l- e) T
1 S+ @$ D6 w/ Y' Y2 N" ]: s/ R5 [ "redirects":/ P z/ G; }) x
[
; I' l4 u& C: m- D4 d B { "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },
) B% Y7 k7 E9 k+ x. h) m$ Y { "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },
3 z. `, `6 Q. N# O { "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }
1 y5 H6 a9 G6 ^$ B ],7 d5 _! [% _8 ]3 v- ~8 \' }
& N' O4 ? d' n) C8 p
"resources":
* ~+ c7 Q+ l% ~9 P7 c [
?1 }7 \* x( Z { "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
3 r% i/ s0 R) U4 F+ j# n: F { "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },5 M i# ^& I' f
{ "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false },8 i: G$ q) h9 b' i3 K0 H) Y
! v9 z2 r+ K- q0 c: U2 L
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true },
! X) N% N9 }/ b { "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },! K7 O. w) V# c1 e/ N( o( G
{ "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
/ A3 A$ U9 g# @ { "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },5 u2 C- g& r9 s' _7 c7 ?* D! ^' N
{ "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },' A; {. ^, F& k M' v. R
{ "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },1 m0 y) c) N7 e2 S
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
' u+ w: z) {8 T { "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true }, C3 w' ]6 i6 d3 l& X7 [/ v& M! b) l
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true }," K% P8 |1 z0 Q( h! A- x; |
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
8 e t2 x+ M9 w9 n { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },* | E6 ~8 d. T6 D
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },; m# \2 Z6 j7 }0 b% A* a/ I9 l. P
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },; H6 e3 q1 O# S% D) o4 ~6 A# Q
{ "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
5 V, K3 E( V( x$ v1 R
5 @* J: |6 Y% y, X { "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
* ~, M- F0 d7 s { "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
" Q! o7 B& ?' `; P& Q" L { "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true }, + o! P& v2 G# q: `8 r' h
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },! @$ l( D$ L/ C$ d$ }) ~! I
{ "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },, p2 `! ` v: ~, V& S
{ "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },
5 q$ E$ y9 ~. M; @ { "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },6 b3 u4 B0 f( I X
{ "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
! D- b( m3 V) h" Z* L, j) {4 p { "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },
1 }9 ?+ L! H$ I' d$ O/ f4 g! i* L { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },1 q6 t9 n9 y' c) [0 g' _
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },2 k' S8 c6 y8 _+ s
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true },
3 v* I1 {! b2 o { "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
8 ~6 U/ X) n: `3 d; ~4 [) D$ r8 f { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },% O" _ [+ A- z, e0 Y* P
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true }," a7 i5 ~+ s% r& Z' K. _
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
2 u5 E7 X2 Q3 Y# ? { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
0 l$ V1 ^% f2 r& E7 W! A0 t$ e2 \1 a, D
{ "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },9 C) _5 |: l( E4 ~% l
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
c! H; a8 [9 n" w3 | { "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
5 C; Q0 |( W l2 r/ H1 ?2 G# ^# [ ? }. a+ V
c1 V+ h d$ ?+ R5 j9 d { "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false },
$ L% S8 i, j7 k4 T e# K) s { "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },
: s5 Q) _3 J+ ?( L { "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false },
2 e, z! q) K: C& S { "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false },: G# J* r5 F: `* K2 @
{ "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },. y/ G5 V9 W2 t5 U& Z7 }) ~
{ "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false },8 \ h3 `1 N9 y! g- Z
{ "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },/ X+ L: ^& S1 o4 I* A
/ Y" U0 [: N5 }( _0 l# n; l8 {2 | { "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
8 Y3 V0 \$ f( R8 ~6 E7 x# E* Y { "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true }, r* w: O5 |& V- l
{ "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
: T$ ]+ K! r4 V( O6 u { "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true }, @; z7 K* ?: r& O
{ "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },) I; H& |/ j: f( Y% w W T! ]0 Y; A! I" O
{ "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },- t0 K+ L% D* k$ P# f
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },3 `. S" I9 x' I' P
{ "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
2 O( t" ]- X4 ] { "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },0 Y% _" T! w5 v: o, _' W; d
{ "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },: Q7 ^, n/ Z6 S! F6 L
{ "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },# @1 k9 B V& d. s# k. U( b$ C) T
{ "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },. N3 Q8 M; [. A$ ^ r
{ "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },
5 J, f4 v/ }! U9 a& b+ ? { "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },
2 H5 S0 l( _, L G- s* W4 ?
+ n/ |+ _' H/ s1 H { "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },! ?& r |8 u! G' s6 j2 a+ a
{ "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },$ Y" o2 z% K+ L% v4 i4 r
{ "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! X7 E, C7 J, X( o9 o { "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
' b0 Z, x& |$ E { "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },1 ?( V' |' S: x5 s: o
{ "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },! N6 g! V$ W/ I |, G) u/ B! F
{ "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 d }8 Z1 e2 V9 Q. z; d
{ "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
' o8 ]9 g- t. f# ^ { "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },4 f1 k- G8 M' v& H7 T) N
{ "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- V7 |- M; Y! l) W4 b1 r# t0 L$ K) K
{ "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
f2 b0 ~8 T( |6 v( m. z, k, @% x/ D# g { "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },4 ~9 j) g( p: C7 Y. i+ @) ^
{ "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },! }0 i2 d& A, v! u$ Y
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 {+ D2 m/ J. x4 g
{ "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },# }6 m+ Y/ z& q A! J3 X1 q
{ "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 u4 c6 \: w3 }$ Y
{ "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true }, i ?' q% y0 ]6 z) E
{ "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
3 Q3 T# v) n6 x. H5 X8 \: U% b" [% r
2 f4 I8 Y5 J' l { "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- J7 @2 h7 x! w2 ~' q0 s8 m8 z
{ "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true }," P2 m, I0 K4 y ~. \2 D4 l# I
{ "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! G2 z3 x9 O' {# g7 N2 p; v { "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
- n7 o" i, V. f8 f { "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },) T8 Z( A5 h$ f- K+ q& R
{ "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },8 S- e% }- n; x- t7 M% J% ^
{ "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 t) N0 K6 l4 W! [' e/ Y8 p { "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },9 I' W: g! h4 h. m
{ "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 C' h2 n! H! G# V: q* m { "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
& J8 }$ o% ^( _1 c; y" q) A4 Y1 W' C! S6 I
{ "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },1 \% L- B2 |9 |/ D* [
{ "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
~6 F8 ~5 A5 O6 Z2 c4 X% V" { { "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
0 Z8 B- _- H+ v2 q1 b. p5 B
' s9 z5 h5 F: p0 Q% I: x { "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },
" b$ Y* N3 I r7 g6 {1 Q0 ~/ B { "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true },. U" }* [. [ l+ f# e. E
{ "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },
' P& D; O2 K3 ^8 s3 g { "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },
& X' I$ z7 d) H* B6 P$ w! W { "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },
3 ~2 a9 f' M. r& r9 J
0 ^, f3 ]# w0 X+ |$ k { "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }3 {: r+ T% `/ L& c. S% D! R% `
],
! N7 i. n a+ e4 `# @; a v* e, i- p. o( F F' k6 E7 X- Q9 M. a
"commands":
) T0 N! h% n7 U; V/ j [
% K( Z( H3 o; y, i2 J$ s( W% _ { "url":"^mailto:", "appId":"com.palm.app.email" },
0 [. f6 J1 G6 S$ F. _* k9 d) M { "url":"^im:", "appId":"com.palm.app.messaging" },
/ i/ N0 _2 H \ { "url":"^sms:", "appId":"com.palm.app.messaging" },1 r& b# ]3 c/ `# O- f. n6 b
{ "url":"^contact:", "appId":"com.palm.app.contacts" },
' Z: N6 n5 u8 k' D7 h& L { "url":"^chatWith:", "appId":"com.palm.app.messaging" },
5 j" ~" O) E* K$ {8 M8 c { "url":"^opencontact:", "appId":"com.palm.app.contacts" },5 j2 x: o. F# C
{ "url":"^mojave:", "appId":"com.palm.app.mojave" },. n! H. w! i$ Z9 c% ~' z. _; J2 f
{ "url":"^https?:", "appId":"com.palm.app.browser"},
3 {6 N& J0 ?* Y. X8 \ { "url":"^data:", "appId":"com.palm.app.browser"},
$ {) J/ f! F4 X$ C { "url":"^tel:", "appId":"com.palm.app.phone"},
1 W% p$ t' V, D4 B" ?; i { "url":"^mobi:", "appId":"com.palm.app.videoplayer"},
5 c" v9 c4 o& A+ m4 S( M { "url":"^mapto:", "appId":"com.palm.app.maps"},6 N5 p$ v5 P$ L9 I& m9 R
{ "url":"^maploc:", "appId":"com.palm.app.maps"}, C {6 m4 S8 z
{ "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},! l9 T- `' Y9 _4 T
{ "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },
9 S6 c0 ~9 n) ?. D4 S, i' I { "url":"^ypc:", "appId":"com.palm.app.ypmobile" }( a8 H. N; E$ S8 ?
]' @( a4 G4 I$ \& F
}& }! h5 A- F. M( ?
- d# \# t! b% S9 j; s
8 C% H4 n. Y% I3. 保存文件,并将文件名重命名为command-resource-handlers-active.json
, o9 g; C1 L$ ^; b/ ]) [/ E5 I4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/ 9 x& h* R' T2 i% J: Q. E
5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可
4 S; `# {. l% ^. g/ T6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;2 Y9 g+ C- U1 v/ r3 Y6 J4 W( ~
/ O. i3 I, c# H; w# C附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中
( b5 P4 Q4 c9 z- [; E% i
, \: I0 l# V* V+ X: Y5 }+ |$ @ q: k0 e+ i. V
2 O9 ~4 U. C& Q
- f+ P7 D E# ]2 }9 s5 D4 N- x4 E2 q" b; Z. P7 h
8 m& N1 I) J8 H, @, t D _- @+ W( K/ |9 I8 A0 e
. F) k! n0 q! ]
. b8 M1 G% X0 H9 |/ k0 P1 w
( {. ?( g3 X2 j7 \
, e* k# O# R& n+ b 该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|