|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了
3 { u+ h3 }3 S- A6 ^5 Y/ o) r1 F9 v! ]0 A7 |
1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;( q& r0 Q9 H. E4 V, X- Q3 P' p
2. 通过wordpad将command-resource-handlers.json 中增加 红色部分1 M7 Y# b0 b' q2 R) N& A: G- ^8 W
{
3 h3 Y9 D$ A* D" h "schemaVersion": 1,
, M& y+ d$ W8 N8 b- M8 ]9 `; n3 t, q/ j4 d2 n
"redirects":
/ e6 D: u# l; }, V ` [
! v$ t: H/ u0 \1 c" r8 r& x$ L, b { "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },$ B: [2 b# G }9 N7 n# [5 g
{ "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },
+ z! t% `" Q- K7 m |( A { "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }" {0 Z/ ^+ Q: {$ {" { o
],
1 @& r: \. T, S- H+ r& x 6 m5 j! U( J0 j$ }+ I
"resources":% N8 ?) S0 n4 |0 C3 ~4 \) {1 I1 p
[5 i5 `0 R J" A
{ "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
' q5 ~% N* Z6 u* V; M- a { "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },/ E4 }9 [0 }( t. N( O/ k
{ "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false },
: [ V2 g* G9 T4 V2 R; T/ c
% l& ^" _1 B4 s { "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true },
. W7 _$ q' t; H9 s2 ]8 a; ~( B { "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
4 ], y' J2 ] {; t5 C { "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true }," M" t8 [! |5 P% {
{ "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },
& S. g2 [. r. x/ F0 { { "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
$ Y# e% F# v3 o* m' _ { "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
) P8 b7 d6 I8 m5 E8 N. A2 Q2 O- P { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },; v$ Q4 b2 o7 L3 G2 Q- q. G
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },/ q, f7 v% L: \1 o
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
7 h3 e* c5 ^' `# V4 G! g( m { "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },# M; t% K4 R2 [
{ "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true }," p) K. C; q6 r" Y& G
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true }," |; K! ~2 p, [. \- X
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
9 h' G" B, s% M { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },( L! ?" s0 X$ ~, a# o, \
& p4 Q+ J4 B7 Z6 W: k4 s, W1 F
{ "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },
: n! ]( t3 i& i7 p; i { "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
. T3 E2 ?3 ~" }& C$ r) S9 c6 a { "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
4 e; O/ O% H/ O' n$ X { "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },
. t9 I/ d3 {" ]. d# X4 D# ` { "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },8 [) J- B" s- T& X. z
{ "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },: v7 {+ |4 }) }- n1 W/ N' A
{ "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },6 c# m$ D% _0 h$ k% @/ h, a6 s
{ "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },8 _6 l7 ?! l- p3 f2 ~
{ "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },! F8 B4 P- b9 r& C
{ "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },1 C( _' U$ C" \" G6 H( j1 f2 C
{ "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },
" i$ C4 N+ y7 d* D. w3 N { "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true },
* C; k9 m+ W1 p1 Y, R; ^ { "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },6 X' p' M4 k% c
{ "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },: E( X/ v p+ n% p3 n) G8 a: |
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
- i% }1 Z# P8 U8 \" i { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
# R$ P3 \; p/ z# n! z; w* S) T& C { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
5 Z; H2 s1 H3 V" C; M" ~1 g* j. N, b, ~+ G! ~
{ "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },6 s5 A' G) ~" v; t L: a
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },3 h; v* {2 E5 o, f( x0 O
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },: ], j4 ~ t8 b) ~+ {
4 P( [ Z' E9 r; q5 V6 v6 r+ P+ ^. s% c$ Y7 k
{ "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false }, X+ k+ T: _9 [ a9 L
{ "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },7 o7 O3 R- W+ ?( ]( F& b
{ "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false }, R, A# \: N# T$ T" L$ k7 W7 ?/ a" L
{ "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false },
- a$ R% B/ ~ j { "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },; t: }0 {+ }# B* a
{ "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false },
6 w; v8 ~, g+ \( X- w9 d8 w0 o { "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },7 U7 b" D R1 g- R7 Y
d+ ^: H+ V) f3 S6 X { "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },8 j) i( f1 G- @& S
{ "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },, I" f, A" D: H7 S
{ "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
3 R) O( q U# r: @6 k- m { "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
7 r" S9 U ~. x/ E! d* O& Z+ L' N { "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
0 A! U, \, d4 S0 s5 {0 G+ v+ i { "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },4 S! {0 X* t: y
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },
# h- X) V( I: s( U Q- H1 v { "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },. ]% Z" C: A) j( N- u1 g9 g4 C
{ "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
2 T0 F( o+ A& @; W& _: U { "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },
" X( I8 o; S; [( Z+ f: m+ ` { "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
+ r! V x: l' Z* I { "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },
9 l y. w- G: O4 A' s, E { "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },
. U7 S! k4 P, Y: @5 _ { "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },1 n! K# @( X4 v) f+ L% u8 @) c! Y
2 N! ]$ m/ ^ h" S: B( T' N6 T
{ "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
7 J/ d: v0 ]8 W' ^ n8 q+ ~. q { "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },. s( o. N4 F2 d& d* u. r
{ "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },- _6 a- A' u5 q( M
{ "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
: h& H% G+ w F$ v { "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
6 |" @0 z6 X' C) N { "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
, x3 C0 n% K' X: m' x p { "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
9 c$ ]4 s. Z# f5 E$ u3 s7 c3 B { "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },8 x$ \" K: a. ?% o& F4 {6 p; b
{ "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
$ B: L1 O' A% h* C { "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
9 u2 W6 s6 g0 S { "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 R J3 t% J# w8 f N h8 A { "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
$ [ ]" o, x. N6 u# C { "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 ]; h8 v. t0 R
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" S& |/ X( S: B& U0 ^) P8 c { "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },7 \' L! h, ~7 m6 h" H" {/ ^
{ "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },+ x4 F: o; I2 k: v
{ "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
/ j4 w9 l! x5 l { "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
D6 _# v3 }# f* ~
& f9 b8 d0 _, a1 G4 }# ] { "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
% J4 E1 `; L( n% y- n" k { "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 `2 [* h5 c8 Q% G1 Y; x1 S
{ "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
. j. V% B) j z; R/ _% D { "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! `4 r) x( f8 L! m2 R { "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
) b9 \1 O8 g9 {9 @ { "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },5 ~8 M' M# J3 l; n# A1 }
{ "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
+ i( o$ \9 L3 Z { "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 N. J1 s; c! ~# }/ X9 j1 n8 ]
{ "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; \& }; [0 X- z$ N8 I+ Q { "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },1 v j! L4 Q8 e
4 `9 C" d5 l6 m
{ "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
4 Z1 p$ u6 M' A { "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
$ w8 W: d7 D E( x4 h7 W- s& Z { "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" d' d. k: W$ J% K
; J/ r& W9 x7 l { "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },
5 ~3 O$ k) p) q1 x { "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true },; c% G/ A- D: [7 y
{ "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },
2 d3 y: j8 i* i; _$ N& H { "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },: z2 T+ u: f4 }- G
{ "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },1 K" J: X0 |) T
3 @" }! C8 s) D. N; S" { { "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }
* B5 l) q. s# X! `! [ ],. Y# x0 v9 f: R1 r* i2 ^# ]1 a
/ |; v- c& V K# I+ S' q: M8 t3 @
"commands":
. u: k0 w/ v/ D: U7 v [
! G+ y- r7 m n `$ U$ T7 E6 r" V { "url":"^mailto:", "appId":"com.palm.app.email" },4 s2 [0 D0 ]4 V% @
{ "url":"^im:", "appId":"com.palm.app.messaging" }, Y: l! _5 O) `
{ "url":"^sms:", "appId":"com.palm.app.messaging" },: l0 {: j3 q* S% \/ s* \
{ "url":"^contact:", "appId":"com.palm.app.contacts" },
0 U. X. J- a) D; d2 ] { "url":"^chatWith:", "appId":"com.palm.app.messaging" },, j! L$ D+ D8 J) a6 }+ j
{ "url":"^opencontact:", "appId":"com.palm.app.contacts" },/ S) E3 v/ M0 H5 _
{ "url":"^mojave:", "appId":"com.palm.app.mojave" },
5 }6 T, s, S% r( j- J { "url":"^https?:", "appId":"com.palm.app.browser"},
$ {! t! A4 C$ U: L! ^+ @ { "url":"^data:", "appId":"com.palm.app.browser"},) H9 h/ O; S& e+ r3 V1 M
{ "url":"^tel:", "appId":"com.palm.app.phone"},
$ Z! F" O: Q5 I# h; N( N* Z { "url":"^mobi:", "appId":"com.palm.app.videoplayer"},
$ x5 H7 ^! f3 W3 Y { "url":"^mapto:", "appId":"com.palm.app.maps"},
# x" ^$ V5 f3 t7 j6 D$ R0 { { "url":"^maploc:", "appId":"com.palm.app.maps"},; {0 q' r3 _0 C u' W& g" y+ k z
{ "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},6 ?" c% ?1 e8 b% G2 w
{ "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },( [! I, Z" f7 f& R; |# l
{ "url":"^ypc:", "appId":"com.palm.app.ypmobile" }1 [$ |7 G3 L; T4 i1 J% e
]: I0 D( o, A' {8 p/ y+ u; H
}
: \, C0 \) O ^) i
4 i0 r' q8 `) a0 i1 u4 R. A) E) ~# Z3 y+ R1 i# D
3. 保存文件,并将文件名重命名为command-resource-handlers-active.json
! S4 Z# y. q/ t) H, B5 G4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/ 3 d2 a" R2 E9 }
5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可! R1 k9 J+ g+ j- S, a. B9 T4 Y9 U! h
6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;% R) q% A0 B& A; O, A
* J6 ~( O7 r, d6 t/ _
附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中 0 n( \7 D: f8 b. Z0 L* E% d
* b- H# P9 R! R/ x, E' V* R% N/ `; n% N
4 w8 Z9 [! E5 d3 n- `, R$ W5 M1 W
. w: Y; j* x/ f/ J1 D& g6 t" K" m1 R3 n* \
3 A3 N, g5 G0 D$ w/ t _$ G6 W
5 C( ~- |# h" ]3 v ?4 b1 D& i& w6 l& Z8 V
k3 }9 Y9 Y! `( J1 B3 b4 r a$ L# l* f! M" I' C
; T& {# L! ?+ r" V' I. @* a5 r 该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|