|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了
7 ?( ^- P3 b6 f7 j* d% E
9 X: v% j0 o( X1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;
- T- j1 o: n8 ]: U6 l$ ]2. 通过wordpad将command-resource-handlers.json 中增加 红色部分
$ q( B5 X" k6 X) G g5 [- S4 V{. m! B# J" P0 k" s# q6 B" e$ I
"schemaVersion": 1,: f+ K/ S( o% G& m2 R. O X- h2 y
% G% r8 I4 |- v "redirects":+ O1 h- w1 @) Q5 y! P9 B
[
2 Z' d) N6 n* \0 K @, u { "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },; V: t% N) l2 Z$ E8 v" K" C m0 Z
{ "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },3 D# @+ o" \ k& t
{ "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }
2 w: K& S. e0 p/ L( \ h ],
+ H5 z. A# v6 \
1 y z9 r5 S2 I. B9 v "resources":
, E; W6 T" |' s9 Y4 w- X! L# D8 J& G [
+ x2 d2 l$ M1 y4 w( ^; T: a { "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
0 R: ^' g& R; c& Z- w { "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
6 ?! \# A3 I9 i. q3 R0 ` { "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false },
' a d( i/ @8 @$ S5 w( }7 ^! J 2 K% c! y g- V/ K0 i/ R- K
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true },/ {- x l: M1 Q0 G- v
{ "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },9 g* x4 w1 S: [# h
{ "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
; _" Q; H. U) z2 J { "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },; {" ~! b' Q6 C/ r' g" C" i' c
{ "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
3 h2 Y k9 l! W; N0 D { "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },; w$ [$ z& |# q( j
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },) e" u3 x1 w' U5 h X1 C
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },& d- t& r( n* x
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true },- u# l5 m+ R0 m7 V& P: u- u
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },& ~3 i' w1 d0 q/ K2 p# Q w
{ "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },/ j9 F& g/ V- r9 E
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
5 A9 V6 O" t7 T { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },& ^* n, D9 x* S; R$ h$ ^4 q1 P
{ "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },4 \* T( o3 N' g8 [& R1 a
, w9 h) j6 i1 q6 {8 t' L { "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },+ w$ t: m- ^! |1 C
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },4 }, z: C# E7 | M/ g/ k! X% T
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
; s: C% A9 x' r { "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },
3 u% u, `6 B/ H { "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },
* S# ~' y: Q4 q6 i { "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },! B, r* o q+ `( X& W( m
{ "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },
, p& G2 z X8 x { "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
( I: H) v8 N1 ], _. M2 B { "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },
. ]( Z9 i5 J! F6 l# x3 e! Z- q { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },
9 n: z7 [2 l+ g { "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },* }* ^9 r7 C6 i
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true },, J) {6 ]. O' w# }* _9 |
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true }, O# m6 u5 E! }, g0 }+ J; \. B8 [
{ "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },4 U+ N1 Y, Q) Y4 Y3 f, i6 t! |: b, U
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },+ `" l# r6 b, D. b6 X9 g2 h
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },' E) B( D8 {+ m ^; N5 k
{ "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },) q- J& V4 L% t( J7 `# U
9 D! B- P* I. Z, V2 u) u b; e
{ "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },
+ H8 g6 e# } Y: h; S2 S2 x { "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
1 U @. h$ h+ G# A { "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },6 g. Q4 B1 D3 w
5 }0 _0 v% S% w0 O7 Y
% l' s( U' r F" l5 K* P { "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false },
* W" C+ |! T2 Q/ `3 b4 q { "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },
' |) H1 z0 s \# k& i; N5 j: D% v6 [8 Y { "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false },
, ]0 ^: I3 v( O { "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false },* q) ~% }9 j6 I4 B$ p4 ^
{ "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },
/ N2 I1 n* S" i5 P' W$ a* v* ^ { "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false }, s9 Q) s {) y: u, a: N- F- R
{ "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },
- t. l: L* U- i" s3 J* s, t; o6 W% y% t3 D# T
{ "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },5 {: |( o. X* w0 @# A
{ "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },9 j+ }& v8 T( X* r+ B L, f4 ]
{ "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },+ O$ ~1 m0 T5 v- Y9 q( }- V
{ "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },0 |% u1 [% s' c5 U4 A. h$ o) n
{ "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
2 t1 x8 p$ q; S% a { "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },9 A) ?, C$ v2 q5 `
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
& Q' D3 G! y: Y" j9 W& f { "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
2 M+ e" k! d, @* o* c { "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },$ {+ s! t5 w2 a6 C: o
{ "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },
8 Y$ w# Y# o- S2 M( t" z, {% c { "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },) a) e3 P1 s% s! h& ^# N/ J* Y$ n
{ "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },
! W! _6 |3 P2 X, m2 q2 k$ `0 e& y { "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },# X4 Z* V r6 s2 \
{ "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },5 {. s. R, x, _# w9 z! t
, ]# E. r! |) ` H: s+ Q { "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
0 s* r# i* y0 n; { p: e( J { "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
( F P6 S3 V( O( O, r+ y { "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },. |4 k4 B, Y/ N z
{ "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },% Z4 M# E6 \+ o8 [
{ "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 x# X- K4 P, _" G8 i
{ "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },+ I5 p# q( X7 _. f+ [( H H1 G' z
{ "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
* y2 Z3 K; L" O/ S1 L3 w { "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 T- P' u$ a. p) _4 D
{ "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; G3 G' @8 g# N { "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
- S9 r% G) v6 N" v6 U% U { "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
0 Y1 E. m; } [5 p8 `2 q# Z6 ~1 _ { "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; i8 s" |1 R" i' J" Q& j0 ?# s3 N/ d+ ` { "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },. v5 @. }0 P3 n# K9 Z2 f
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 `! y7 d' |* `$ p5 J/ I7 K
{ "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; v/ p& {" t% i9 E' } { "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
& ?: e3 M: |1 k0 g8 u% T) w { "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
) m2 ]+ [( h3 M! ^ { "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },+ F2 j: E. e! N: U: p8 T; G
" [8 T3 G2 R* A7 N$ e
{ "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- v& \* n( c' P. u
{ "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
1 b# U2 k2 T3 `" Z ?- ^% R$ a { "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
' s$ _4 W" N6 [/ c2 W { "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },$ ]2 y" X% L9 B$ y
{ "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 D% }6 i, S$ Q9 l( f/ W
{ "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
+ ?: t! [: A4 `: \' _5 X6 j! Q { "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
0 _1 v) e9 @6 n3 c& R { "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
) d, z8 ^0 ^9 T* L { "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },9 t: E4 V; p" i0 \
{ "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },/ }& v5 U# {0 D: L4 [
+ N( ^3 ^8 n( r* p
{ "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
1 Z( i9 `* p$ f6 q { "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" u9 l; _2 F% L* v/ H! m8 C! f { "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },2 J' }7 b' ^; [1 p1 [0 V
& {) K: B. T% O
{ "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },
* [- J7 q! D) g { "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true },
: ^( K2 I. H7 Z3 l# Q- m4 @ { "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },1 d2 T+ V: V% ]% y/ T
{ "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },8 F7 E: U: n6 t8 Y
{ "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },
: S6 R. N8 c9 m" F/ [( p ! V* O7 m3 h9 P# u3 E7 C/ R; A
{ "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }
" w m: I v3 r ],- u" x# t( D% y3 g' _
; o- I/ L: y, C& `; g "commands":
% n+ _8 {3 k- B! j' e) |. p [* D7 ^! t7 G L9 C5 @
{ "url":"^mailto:", "appId":"com.palm.app.email" },6 s7 P- \# ]! T8 L1 {% H
{ "url":"^im:", "appId":"com.palm.app.messaging" },3 G8 }' @1 f- t. Y) Y
{ "url":"^sms:", "appId":"com.palm.app.messaging" },
/ o; q) H3 S$ J) _ { "url":"^contact:", "appId":"com.palm.app.contacts" },( ]+ p$ E5 y# {
{ "url":"^chatWith:", "appId":"com.palm.app.messaging" },
" W, e6 Q, M; T8 V% {4 Q/ \ { "url":"^opencontact:", "appId":"com.palm.app.contacts" },
& S6 X7 z+ R( i { "url":"^mojave:", "appId":"com.palm.app.mojave" },
+ j- o% R0 A2 Y7 Q8 J" V% n" M { "url":"^https?:", "appId":"com.palm.app.browser"},
& G$ f+ ?( c% A; V- e* z { "url":"^data:", "appId":"com.palm.app.browser"},
4 A7 P8 ^8 t1 K D, P { "url":"^tel:", "appId":"com.palm.app.phone"},
& r0 }) j# E# M. s1 e+ r { "url":"^mobi:", "appId":"com.palm.app.videoplayer"},
" \* A; _8 T" j; V% F2 b% I { "url":"^mapto:", "appId":"com.palm.app.maps"},# K9 B& G/ k& X6 N$ I* T7 C
{ "url":"^maploc:", "appId":"com.palm.app.maps"},( _+ K" l8 t s! ~
{ "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},
) S2 |$ ~& D5 c- e { "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },' W# X. E+ Q; u; \/ K
{ "url":"^ypc:", "appId":"com.palm.app.ypmobile" }
7 G0 b1 h8 s8 w% P% u ]% ~( \* b% J. q
}
; f' z. @$ |1 |; r# C
7 f$ [; B( N' e1 Q6 a; C0 E& P6 _! I0 ?" {, d0 A
3. 保存文件,并将文件名重命名为command-resource-handlers-active.json : P$ S; I. @. P) O0 z# E( z
4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/
5 e5 Q7 w( E6 M# ]$ C1 Q$ h$ u, ^5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可
. ~5 Y0 j* L4 J, S8 _* _6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;
) l9 Y3 Z! l) z* M: p0 H) ~. C, Y, T7 @' Z$ w6 Y! u4 u+ T) H5 g
附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中
' ?9 y1 s) _5 t
* u; i/ N2 u1 c) u- Q7 C6 s2 H! z e+ A+ U
' D5 w* f* V4 C
) a5 Q' `+ a' _" a3 n' C% e7 ?4 W
" Z2 a) @1 M& ~6 ` P
# }* t& ?& @9 G4 ?6 M( ^8 s
" [3 ~3 J; Q. Z% c+ b5 m4 i: Y7 q- N9 Q/ ~! y, Z6 A5 \+ |
6 P8 C, B1 K3 W; r* b
% B; C) G: H( S5 `
, Z0 g% @% u; {% S! B 该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|