|
由于smartoffice在3P上正常运行(除了不能调入中文输入法),且运行和浏览速度比系统自带的docviewer、pdfviewer都要快,在PPT、DOC、XLS等文档中可以进行编辑(除了不能调入中文输入法进行中文编辑),且中文显示正常。试着将smartoffice设置为文档类的默认程序。最新的smartoffice更新到1.8.5了) p* ]: W+ }6 ^
5 N% O3 ]: U/ q1. 通过WQI将手机/usr/palm/command-resource-handlers.json 文件复制到电脑中;& @9 r8 O. S# S9 M
2. 通过wordpad将command-resource-handlers.json 中增加 红色部分$ L. M C& i4 |- V4 B# q4 m
{* _4 H2 z5 q$ ~& C2 J( m- O9 i2 u
"schemaVersion": 1,
: X8 Z" t: |5 E( I* n2 _ k. Z6 C) t
* F& G1 ? q( | "redirects":+ ^0 \; m6 z& O
[( S/ z1 g: _4 P% [
{ "url":"^http://maps\\.google\\.(com|[a-z]{2}|com?\\.[a-z]{2})(/maps(/m)?)?(/)?(\\?.*)?$", "appId":"com.palm.app.maps" },
0 W8 M6 u$ X3 `& F; i* Q% V: u" e { "url":"^[^:]+://www.youtube.com/watch\\?v=", "appId":"com.palm.app.youtube" },
( g' ~* a7 v8 L& H: W" l. j [ { "url":"^http://developer.palm.com/appredirect/?", "appId":"com.palm.app.findapps" }6 y4 r# j- m2 G \, L& i; S* X4 {9 [- D
],6 C# |1 }/ u( H! b2 ], [. Z& {3 t
# R! S. y( _, z3 ?2 Z
"resources":( d% S6 z& g9 {# \6 s
[/ f# C8 `& ^1 ?1 X
{ "extn":"htm", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
{2 ~3 S5 W; _6 T3 _ { "extn":"html", "mime":"text/html", "appId":"com.palm.app.browser", "streamable":true },
@3 c0 f+ A) o6 K a5 ^( A { "extn":"vcf", "mime":"text/x-vcard", "appId":"com.palm.app.contacts", "streamable":false }, d' Z; W5 w5 e- D' C2 B4 t3 w
: ^& p! |& X! C& Y4 [. R' H! p { "extn":"pdf", "mime":"application/pdf", "appId":"com.picsel.app.smartofficepre", "streamable":true }," p& W+ H" ?/ f; P( p% z
{ "extn":"txt", "mime":"application/txt", "appId":"com.picsel.app.smartofficepre", "streamable":true },# _7 N6 R' J: n4 z+ Y* i# ?* a
{ "extn":"doc", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },! A/ b4 i! W' C: C( q" a3 \. ]7 ^# ^
{ "extn":"doc", "mime":"application/msword", "appId":"com.picsel.app.smartofficepre", "streamable":true },
) R' k, |3 ?) ?6 R9 r; i { "extn":"xls", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },
. E& @) X" T$ ^5 h. b8 Q( r/ f' G* f { "extn":"xls", "mime":"application/excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
s( y4 ~6 E: S( [4 }, R o" \0 c1 s { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
3 `) l% g; C) L { "extn":"xls", "mime":"application/x-excel", "appId":"com.picsel.app.smartofficepre", "streamable":true },$ ^9 Z/ l3 S6 `8 y0 w+ l
{ "extn":"xls", "mime":"application/x-msexcel", "appId":"com.picsel.app.smartofficepre", "streamable":true },
' x6 W+ B) d5 c* ~6 ?7 o# G { "extn":"ppt", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true },
$ U: t4 K; M+ Q2 w% C { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },- d( C3 z$ ^/ a4 U" D. \$ ]4 v8 {. V/ ~
{ "extn":"ppt", "mime":"application/powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },
: M8 M5 `- T9 T& ]& k; Q { "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },$ P4 v2 j7 m0 I3 L# b3 a- H
{ "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.picsel.app.smartofficepre", "streamable":true },! O! Q! k; M+ ~
3 R" z+ D+ U' F# b2 X9 Q { "extn":"docx", "mime":"application/doc", "appId":"com.picsel.app.smartofficepre", "streamable":true },6 a: |) T4 n! l) r! a" O0 x! |
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.picsel.app.smartofficepre", "streamable":true },7 H$ F& _0 l- W8 h0 v9 _# w A) _
{ "extn":"pptx", "mime":"application/ppt", "appId":"com.picsel.app.smartofficepre", "streamable":true }, ' `/ }8 z# F1 w# l7 d
{ "extn":"pdf", "mime":"application/pdf", "appId":"com.palm.app.pdfviewer", "streamable":true },
7 Q5 L6 b8 I4 p% H$ U- [ { "extn":"txt", "mime":"application/txt", "appId":"com.palm.app.docviewer", "streamable":true },
+ Z8 y- J$ x* B, U$ [ d { "extn":"doc", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },
' B. P3 }: v& p& W3 t { "extn":"doc", "mime":"application/msword", "appId":"com.palm.app.docviewer", "streamable":true },
2 N( R2 f$ D: C { "extn":"xls", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
4 }: E9 O6 ?+ m4 u' T { "extn":"xls", "mime":"application/excel", "appId":"com.palm.app.docviewer", "streamable":true },
( ~2 d4 H' S/ O% C { "extn":"xls", "mime":"application/vnd.ms-excel", "appId":"com.palm.app.docviewer", "streamable":true },
2 q+ N+ {0 ]7 C/ R( W1 a7 z { "extn":"xls", "mime":"application/x-excel", "appId":"com.palm.app.docviewer", "streamable":true },
4 w) T. q/ ]# W2 c$ b { "extn":"xls", "mime":"application/x-msexcel", "appId":"com.palm.app.docviewer", "streamable":true }," }, {8 F; J+ c* q) s. a6 Q+ v
{ "extn":"ppt", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
- k* R- d# q$ H& C/ T { "extn":"ppt", "mime":"application/mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
5 Y, z, P6 d4 y8 b6 ^" z { "extn":"ppt", "mime":"application/powerpoint", "appId":"com.palm.app.docviewer", "streamable":true }, V; }+ F9 R* D$ H4 n0 c+ D& }
{ "extn":"ppt", "mime":"application/vnd.ms-powerpoint", "appId":"com.palm.app.docviewer", "streamable":true },
# T6 w, _# J" z- X { "extn":"ppt", "mime":"application/x-mspowerpoint", "appId":"com.palm.app.docviewer", "streamable":true },/ _% l* u7 l1 h7 s
# K5 `4 r( T! V! ~7 [ K { "extn":"docx", "mime":"application/doc", "appId":"com.palm.app.docviewer", "streamable":true },1 \. O/ q: Z7 {" D3 z
{ "extn":"xlsx", "mime":"application/xls", "appId":"com.palm.app.docviewer", "streamable":true },
: ^8 I1 w% j E { "extn":"pptx", "mime":"application/ppt", "appId":"com.palm.app.docviewer", "streamable":true },
, h2 Y& H! r: w: u
" F: l: S, _2 P3 W. E3 A. p! g3 ?( K5 \" P3 ~& e( H
{ "extn":"pem", "mime":"application/pem", "appId":"com.palm.app.certificate", "streamable":false },- \; Y# T& e' ]! o
{ "extn":"p12", "mime":"application/p12", "appId":"com.palm.app.certificate", "streamable":false },! Z8 V1 i2 T6 Y" Q3 R2 a. {8 G
{ "extn":"pfx", "mime":"application/pfx", "appId":"com.palm.app.certificate", "streamable":false },% D' C0 R5 B: r9 s/ q
{ "extn":"der", "mime":"application/der", "appId":"com.palm.app.certificate", "streamable":false }, \, e7 g( w. P3 V( R+ J4 Q ]
{ "extn":"crt", "mime":"application/crt", "appId":"com.palm.app.certificate", "streamable":false },
' n8 a; \) R4 v. n3 d* m& ~8 B6 f { "extn":"cer", "mime":"application/cer", "appId":"com.palm.app.certificate", "streamable":false },
# b. d9 s6 s \7 o$ n { "extn":"crl", "mime":"application/crl", "appId":"com.palm.app.certificate", "streamable":false },# g1 o4 O' \$ B9 ]& t+ T, Y
2 k: T( U- J1 N. F4 A( A% }
{ "extn":"mp4", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
7 G3 n- T8 r% O F# u1 l { "extn":"mp4", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },& l0 r6 ~* K1 [0 F) O
{ "extn":"mp4", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },; L5 Q/ r' k+ s! ]; E
{ "extn":"mp4", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
3 |) R) }! D$ g p1 P/ { { "extn":"m4v", "mime":"video/mp4-generic", "appId":"com.palm.app.videoplayer", "streamable":true },
P- g7 J; k* `' Y j9 { c7 V { "extn":"m4v", "mime":"video/quicktime", "appId":"com.palm.app.videoplayer", "streamable":true },* [- r9 v( o. O# F5 r
{ "extn":"m4v", "mime":"video/mp4", "appId":"com.palm.app.videoplayer", "streamable":true },5 o' m7 u U5 I% N4 p
{ "extn":"m4v", "mime":"video/mpeg4", "appId":"com.palm.app.videoplayer", "streamable":true },
" J* j; w4 d) X; w1 d4 v { "extn":"3gp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },1 j: @* {6 J! I' k+ i' t u- O% j
{ "extn":"3gp", "mime":"video/3gpp", "appId":"com.palm.app.videoplayer", "streamable":true },
4 |; R/ v$ J4 B5 c+ P) ]* J7 r { "extn":"3gpp", "mime":"video/3gp", "appId":"com.palm.app.videoplayer", "streamable":true },
( I- ~/ v5 [) F M { "extn":"3g2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },) @) ~. q9 b1 t- V% t+ n
{ "extn":"3gp2", "mime":"video/3gpp2", "appId":"com.palm.app.videoplayer", "streamable":true },9 b; f* j/ Z% t& Y8 }1 g
{ "extn":"sdp", "mime":"application/sdp", "appId":"com.palm.app.videoplayer", "streamable":true },
n7 a: B2 e) L& u5 y
1 i/ ^3 G: a# X* ] |9 I; |% c( ] { "extn":"3gp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
% t9 C E, z! x$ F! a { "extn":"3gpp", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
' D4 _- P. r2 N1 B- P* p2 D# H { "extn":"3ga", "mime":"audio/3gpp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },2 t1 a) ]) W" X. I
{ "extn":"3gp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 }% ^* a" L; i8 l0 `0 N) W { "extn":"3gpp", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },8 e8 e8 e" ~. l0 `& y* M
{ "extn":"3ga", "mime":"audio/3ga", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
0 X% Z0 O7 C2 s3 l. N" c { "extn":"3g2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
$ s1 {7 j4 y' ]- y' L- R% a { "extn":"3gpp2", "mime":"audio/3gpp2", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
: ?7 q, `0 E" z2 [9 T' C { "extn":"amr", "mime":"audio/amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! a7 S1 k# p5 o/ m { "extn":"amr", "mime":"audio/x-amr", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },3 n7 u w4 D$ v( O
{ "extn":"mp3", "mime":"audio/mpa", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
3 i! s! ?8 X+ I7 N( b" v { "extn":"mp3", "mime":"audio/mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },% I% `1 ^7 e( H& W Z: W! j2 W
{ "extn":"mp3", "mime":"audio/x-mp3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },4 t) N+ O4 @$ r4 M- R, V7 K, X
{ "extn":"mp3", "mime":"audio/x-mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 P7 o4 p- A9 ?/ w4 ?1 p
{ "extn":"mp3", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },0 f4 l6 a! I0 \2 [
{ "extn":"mp3", "mime":"audio/mpeg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; K* M3 y% R+ [% J4 @' s# |* L { "extn":"mp3", "mime":"audio/mpg3", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
: o" ?1 N: r. |4 p { "extn":"mp3", "mime":"audio/mpg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
a2 b; q, P# [/ E9 G3 O! }; b r6 E8 Y: W- p
{ "extn":"mp4", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },) c# [$ T3 ?7 p) F+ ~* N
{ "extn":"m4a", "mime":"audio/mp4", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
8 }% a# \( f, ^$ U; L+ S4 u# s { "extn":"m4a", "mime":"audio/m4a", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" T* g; W$ `! Q1 [6 B; \ { "extn":"aac", "mime":"audio/aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },2 r8 u8 h) _# P5 E, [
{ "extn":"aac", "mime":"audio/aacp", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },. l( K8 x) t' b
{ "extn":"aac", "mime":"audio/x-aac", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
, @+ s( E) A5 j7 S+ T- @0 {5 ? { "extn":"aac", "mime":"audio/mpeg", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" {& d& _/ d. p: |, h5 e { "extn":"aac", "mime":"audio/mp4a-latm", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
5 T' T' l$ o* A1 a8 v0 Y$ E3 f { "extn":"wav", "mime":"audio/wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
e; M+ w% V1 V { "extn":"wav", "mime":"audio/x-wav", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
! j# d. s. V2 V5 W$ f1 w% z2 Q8 D
. Y, y( w& p* D; M2 w { "extn":"pls", "mime":"audio/x-scpls", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
; E! M. j1 c7 L# V: m { "extn":"m3u", "mime":"audio/mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
" L$ R0 l; t& l) l { "extn":"m3u", "mime":"audio/x-mpegurl", "appId":"com.palm.app.streamingmusicplayer", "streamable":true },
6 n! M3 Q% v& }) t2 H8 `! j1 E6 Q1 d! X6 Z; \5 M
{ "extn":"dm", "mime":"application/vnd.oma.drm.message", "appId":"com.palm.app.drm", "streamable":true },
5 n! o" p- r" `1 u, O { "extn":"dd", "mime":"application/vnd.oma.dd+xml", "appId":"com.palm.app.drm", "streamable":true },
4 x9 r# V. Q& p% f/ u { "extn":"dr", "mime":"application/vnd.oma.drm.rights+xml", "appId":"com.palm.app.drm", "streamable":true },
7 p4 X( u( x$ _! n { "extn":"drc", "mime":"application/vnd.oma.drm.rights+wbxml", "appId":"com.palm.app.drm", "streamable":true },
B3 i1 [3 E7 M4 V. l9 |2 b { "extn":"dcf", "mime":"application/vnd.oma.drm.content", "appId":"com.palm.app.drm", "streamable":true },
4 O, o$ q- M3 _7 v2 F7 g y
, U8 D: n [: y { "extn":"mcd", "mime":"application/x-pcs-mcd+xml", "appId":"com.palm.mobitv.app.sprinttv", "streamable":true }
: l3 ]' @7 z4 R4 W ], O X3 P: W7 }4 _
# e0 n7 Z9 {( C4 s# {( L! }- l; b: G
"commands":# |3 b& W0 L0 X' T; q- s
[ {( q6 S1 S2 m" ~8 ]
{ "url":"^mailto:", "appId":"com.palm.app.email" },
; N! m+ J$ o9 h! H8 _' } { "url":"^im:", "appId":"com.palm.app.messaging" },
% c( }; ^* v4 _% c; S { "url":"^sms:", "appId":"com.palm.app.messaging" },0 }" r! M1 V8 `( B4 F
{ "url":"^contact:", "appId":"com.palm.app.contacts" },# [4 S/ `- z6 k% G! n% e4 P
{ "url":"^chatWith:", "appId":"com.palm.app.messaging" },
% p" h8 a1 y1 f1 J9 O { "url":"^opencontact:", "appId":"com.palm.app.contacts" },: ~+ s1 ^( G: S5 U' D9 ?: d
{ "url":"^mojave:", "appId":"com.palm.app.mojave" },
% f7 k) B* U1 }! v: i7 o- _) ^ { "url":"^https?:", "appId":"com.palm.app.browser"},& G' ~. P& y+ g8 V) f# I3 P! R
{ "url":"^data:", "appId":"com.palm.app.browser"},
. F5 E$ F/ r+ H L H { "url":"^tel:", "appId":"com.palm.app.phone"},- n: x1 R! e5 A/ H, h/ d* h
{ "url":"^mobi:", "appId":"com.palm.app.videoplayer"},/ i7 _) F- G. x: l I. Y# j# e
{ "url":"^mapto:", "appId":"com.palm.app.maps"},
0 h8 `( C. {7 ? t { "url":"^maploc:", "appId":"com.palm.app.maps"},
' o% B/ k* h# k2 v' ^$ e- e3 a2 X { "url":"^rtsp[tu]?:", "appId":"com.palm.app.videoplayer"},
4 N1 v5 b" D8 p/ y) v$ D6 j! E { "url":"^sprinttv:", "appId":"com.palm.mobitv.app.sprinttv" },
& S$ N& \: R$ h) Y: E2 F0 z1 y& z3 m { "url":"^ypc:", "appId":"com.palm.app.ypmobile" }& @2 J1 g2 b6 Z/ @% X
]4 x2 u" L3 t, z$ |
}
2 ^+ m# t2 L& n5 p& a ?9 q* v- h# U4 e; R5 c: E! t" k$ @
: k3 E! {: g) O! S
3. 保存文件,并将文件名重命名为command-resource-handlers-active.json
! X, o1 k0 I/ W- J" Q3 N4. 将command-resource-handlers-active.json 通过WQI传送到手机 /var/usr/palm/ ! n% x* }, U- r: s( z3 F+ T
5. 重启一次手机后,再打开internalz pro在设置里在关联一下txt ipk即可 J2 S) r, N* O/ m6 B
6. 关联的文件可以直接启动smartoffice,但是需要再通过文件目录后点击相应文件,没有像docviewer、pdfviewer一样直接打开,若不喜欢可以在默认程序中更改一下即可;% a/ ~% o) A" d
4 M; ^9 o8 X1 S附件为修改好了的command-resource-handlers-active.json 可以直接传送到手机 /var/usr/palm/ 中 3 Y1 K: ?3 X) y& Z0 o
* H1 P9 {( l+ R7 ^8 K
0 b: j& |, p, H$ j# g' O- Y! ~
; x5 L& ~0 d6 i9 T- m+ p
( r3 `$ F+ l9 h! ~9 T _: \# W. F& P6 N& g0 m) E
* a& u) e2 ]0 [1 N) u
9 J/ y7 u( e: k/ ?# c
$ P( q# u2 H: \( q2 e
" F* t) C# Q; o Z) s! [# C
( Z' P3 ?2 w9 L7 |7 T0 ?3 b: N( k- j. A+ L$ S. H2 Z9 T, T. U' ^; L
该贴已经同步到 martim的微博 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
×
评分
-
查看全部评分
|