|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了' i5 f0 z6 X9 B& h: }/ }
" J! q" X. S( i, ]* I1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;3 p0 K2 E1 r. w C2 c7 {3 _/ J
2. 通过wordpad将command-resource-handlers.json 中增加 红色部分7 i$ E0 o. F+ K' J
{0 p" e$ \2 }3 R# V) ]2 k2 I
"schemaVersion": 1,8 A; @( T- r+ } J; H% A
- M: k4 P) J+ M4 ^3 ~: P
"redirects":: t% T- V4 }2 }
[
& |& Z7 @) A- E$ t# k8 e { "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },. }! I8 e+ F# |& n7 Z: M$ Y w
{ "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },) N4 B" w+ H; @5 U: L& A& A
{ "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }3 c4 i: E, _ R/ Z5 b, B9 @9 U s' ?
],
& A/ t( C8 {( N# f8 ?& d
% L5 j, I" E6 r( T$ q "resources":5 ]" C7 U% q/ Q. ?2 o
[8 A6 [3 I9 a# @* Y" Q% _- F# b$ L4 X
{ "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },) o4 u! s P5 N% ?) c; f- L+ K
{ "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
; Q" F( Z$ L$ w& W, V; m { "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false },* l& I" D! T5 Q& N6 ` q7 q
7 L5 {6 F- }0 b9 p { "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true },' X. ~2 [1 m0 [% ^& V. a8 V
{ "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
- s: F& {: x2 O& t2 G { "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },5 E) q+ Y/ j2 u. c& ~
{ "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },+ ~ e0 j# n5 o+ ?
{ "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
$ t' W! v5 s1 H' h0 b! L6 Z { "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },8 x4 U0 ^, e2 c( w) f0 U9 P
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },0 Z4 `' A2 r F: d
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },7 m; D6 X: w# E4 S9 n/ ~
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true },+ g0 k" s; O5 ]& H- K
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
t$ O' U8 m& m2 f0 P5 B { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },3 v5 T4 T; a v* w% C9 l3 x
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
/ i3 ?- u% _: F0 M! T5 @; R { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
* o$ z' f! m/ g* L9 S { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },$ w' }: e1 v+ h4 N. @. ?, S- U" A
# `1 c3 U& X G% T- I1 |
{ "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
# A% B9 y0 F0 f" x9 ~2 C { "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },' d" h# o2 _, X: B o+ p/ d. P; x
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true }, 5 s# K& h+ ^; x7 @. q4 a' s. ]
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },- l: A/ C/ j5 S: _
{ "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },% M6 R, \. |# Z( u2 q+ `& v- Z/ a7 h3 K
{ "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },
! u! a3 b K+ P- T { "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },4 V5 ^$ T- ~2 ^# ^" \% K" o
{ "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
# v0 \. e9 g. }0 R2 v- y6 N { "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },' J. }( m+ r! K/ p' [$ o6 g( a
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },
( o# g7 B% U, F# F { "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },* a/ [( ~( ~% [, Q
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true },
) x' t3 C, ?% E! O7 p { "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
% n7 W: c& z) Y( H/ R6 ?/ i { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
6 @3 _/ d6 Y5 s# P { "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
. i0 s7 p( N2 M( X4 x/ v { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
1 s s( ?/ @% k% ], }% s% x x, F* h2 } { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },# f4 o) w+ x2 b* I d0 u8 i( f9 P
' P) ~3 j) o6 [% y6 X
{ "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },
( F( `6 d3 l; o4 ^* | { "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },9 g! B0 [1 x) s g+ t. a
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
( @4 _7 o2 y' e! {, e+ T' V. `% A& g. Z1 u* n- I: ?
, m% E+ H+ U" ~( ^7 q( K { "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false },
M$ b" i f" w4 Z/ V/ J { "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },
( P2 S- _: U6 e) M { "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false },
7 K w6 t8 k/ y6 t T4 W! c { "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false },
: o! Z9 N( p& Z# g# O { "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },( I0 ~) S) X& @ x& X
{ "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false },
( s4 P' |5 I, p- n& ~ Y { "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },* B( A O; O9 M0 a# M
" }& M- C- h% A/ m) A! g$ C# f { "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
: F( \$ I1 n1 e { "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },
" p! i6 \5 G' {: }& z) l { "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },# k# c6 X; _" U
{ "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
& D$ C# F1 w2 }' J% R. } { "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },' b+ z2 k1 Z( n, u$ M
{ "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },+ e2 |& i U! w) C
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
+ e/ `4 g% M5 {$ P: T- y+ W { "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
$ A' V: P; ?$ i { "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
I' `1 x5 P# m. `- C) {# W! y { "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },* w* t% \1 c, Q
{ "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },0 a L' s" o/ Q) `1 l6 g0 U
{ "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },
& Y9 t) P1 `. p8 F! p { "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },$ b! l% G' D7 E
{ "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },. g A8 f! H& I7 L, R
4 e; l! k; C. m9 r6 G { "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
+ G: Z V% S: v5 |& O8 e { "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- X& z8 ?4 x$ P- s7 o5 o$ i
{ "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 O4 t4 t+ C- a+ W0 @% [
{ "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },2 [. w* z& f) b
{ "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 N. y& M P1 I8 o; b3 ]
{ "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },: @. n) c3 Y( q5 v& Z( Z
{ "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },* w7 @. n) Q" W& u
{ "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },! v: v5 m# h7 J0 G/ H
{ "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 @0 s0 ] `; q
{ "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! u* Q; Q1 w2 ?$ R# Q { "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },3 B$ k8 [! @/ s6 U4 j! g m. f
{ "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
$ c1 e4 ~/ {. S0 B0 q( C+ a { "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },' |6 \( f$ }! X9 [3 g/ X/ v) M
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },8 P8 ]+ x7 V6 v) [) i" l
{ "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },+ M, w& c- E( _9 m/ {& J
{ "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },( P7 v8 m$ L1 D' g- s9 z4 l
{ "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 Z, i8 J( k% h0 K0 _
{ "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
g% E) U) }* G( P0 u! G+ B% P1 U) d T# Y4 @
{ "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
1 e! U S( R. v @& C4 c4 } { "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },: n/ a" Y7 \* K. ~" W( p
{ "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 \+ t1 P/ b( a: R! b3 F, z3 H { "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },3 h, H9 S# J. @; ^/ h5 }7 V% D
{ "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- Z& S i4 _% i8 }5 n
{ "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 |# C1 X# Y3 V5 U! X! E3 m9 @
{ "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },2 R7 q" A5 O7 @8 g3 {' q
{ "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },3 h/ N. V# R+ J
{ "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true }," @! c6 N" |' \ P g' o
{ "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 P% G( v( g5 ]+ e. H0 X+ a
( u3 Q. j& _+ _' B, E# W, G { "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
7 i; x a4 G: W! F7 l: d0 z { "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },: {: w. f' m+ l& |8 Z
{ "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },* x% t) i6 W& j0 Q+ Q8 t/ w u
' Y) ^) h: W/ j7 g( Y6 W6 t { "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },* l+ A5 c- h6 W; C6 @
{ "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true }, ~ ?. [( ^9 `9 y
{ "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },
# F E* z c* g) a% f# @7 b { "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },
% `1 ]3 i2 ^0 {0 c# i& R& d { "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },0 r2 N' O' G) f e$ R- f0 v
: X- ]4 \4 o# ?+ W1 y" k/ e2 ] { "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }
! p! T6 x5 `& ~" ]: S ],
% [8 t. `" W' S1 I+ e9 l6 y- S5 Y: t3 ^) I+ D$ \+ n9 \. C) i
"commands":0 v- X2 r2 g3 _9 |
[
' }5 {. c" I; `5 a { "url":"^mailto:", "appId":"com.palm.app.email" },
; ? y/ _: d4 M { "url":"^im:", "appId":"com.palm.app.messaging" },
4 Q/ O1 E$ N. ^, l: C { "url":"^sms:", "appId":"com.palm.app.messaging" },
2 I' \- C$ Y9 ~& Z2 h7 H/ N6 @ { "url":"^contact:", "appId":"com.palm.app.contacts" },
6 b( J6 v4 b. `& C- m { "url":"^chatWith:", "appId":"com.palm.app.messaging" },1 {8 w4 S: P, l$ I
{ "url":"^opencontact:", "appId":"com.palm.app.contacts" },
) i( m& Y' Y) n { "url":"^mojave:", "appId":"com.palm.app.mojave" },
: z6 C( g* f* u { "url":"^https?:", "appId":"com.palm.app.browser"},
; @" f- J9 y; ^$ e; e9 j { "url":"^data:", "appId":"com.palm.app.browser"},
. }0 n W& W8 }7 M1 y { "url":"^tel:", "appId":"com.palm.app.phone"},$ u$ R8 ~. e( x- [
{ "url":"^mobi:", "appId":"com.palm.app.videoplayer"},
7 l+ J1 |2 r) a$ m2 m; B4 q { "url":"^mapto:", "appId":"com.palm.app.maps"},$ {) D2 W- k, B9 d! q+ W
{ "url":"^maploc:", "appId":"com.palm.app.maps"},8 ], k7 Y. I( r9 I. @4 b9 `/ T
{ "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},
2 x4 L1 V6 k: G6 A { "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },7 d* O! `: p: m! @) O7 n' d
{ "url":"^ypc:", "appId":"com.palm.app.ypmobile" }2 O3 J# B9 O j3 j4 y+ I
]. ] N1 b6 G' Z6 F
}1 Q" l& E/ [. T' [( i* |+ H9 [# @. B
; r4 a1 g. s( D( `4 b! N! l: m2 W. L
! k& b+ Q; U1 B( [" D' \3. 保存文件,并将文件名重命名为command-resource-handlers-active.json
! m2 P2 [6 V7 r# e" W7 E$ K4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/
0 v6 S" y4 e$ @* m5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可 Y: Z6 r4 J2 E: y# @: W
6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;# y0 [( p9 i$ \( N4 Z1 _
$ K1 Z( l2 y& l( ], X附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中
u" m7 E1 i, W5 e4 o {1 z
6 y0 ^9 w' v% C* y ?/ ~
: ^2 i4 l+ E) F) d" D( F
9 j# Z* V- `" \' \& g6 l3 C' w
& j1 c" A' t% q: ]" s! Z0 ~" v! ~, V
+ l( T8 \2 X- w' s
. v) t) R% [% f' F+ ~/ ]! c* U8 c6 r% Z' O3 |* O* L
8 m/ x9 |! B6 b
9 F! Q1 w) ]5 j% Y! y" c% q" _ b, u4 ?( I5 V2 {" [/ L
该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|