該怎麼在 Android 上執行 diff 指令? - Linux
By Charlotte
at 2009-10-22T16:24
at 2009-10-22T16:24
Table of Contents
Android 上的程式是用 Java 寫的
我寫了個程式, 可以輸入一個 mht 檔, 產生五個不能程度的 mht 檔
ex :
Layer 1 : plain text (html,css,javascript,xml..)
Layer 2 : Layer 1 + image (gif,jpeg,png,bmp,x-icon..)
Layer 3 : Layer 2 + application (pdf,flash..)
Layer 4 : Layer 3 + video
Layer 5 : Layer 4 + other
現在想要將 layer1 跟 layer2 做 diff,
layer2 跟 layer3 做 diff...以此類推...
最後希望的結果就是, 可以讓手機B (接收方) 收到 layer1 的資料就可以顯示出 plain
text 的網頁, 再收到 layer 1 跟 layer 2 diff 結果的封包, 就可以顯示出 Layer 1
+ image 的網頁...
問題就是...我該如何在程式中呼叫 linux 的 diff 指令去做這些事呢?
我已經有了 root 的權限, 應該可以去做這些事吧?
--
Tags:
Linux
All Comments
By Necoo
at 2009-10-25T08:57
at 2009-10-25T08:57
Related Posts
在pcmanx底下 gcin不能切換輸入法
By Gilbert
at 2009-10-22T13:32
at 2009-10-22T13:32
桌面用ubuntu,Server用CentOS?
By Hedy
at 2009-10-22T12:01
at 2009-10-22T12:01
MS Office和OpenOffice做出來的文件質感
By Andrew
at 2009-10-22T08:36
at 2009-10-22T08:36
自製usplash theme
By Hardy
at 2009-10-22T08:05
at 2009-10-22T08:05
下載linux ftp檔案的問題
By Leila
at 2009-10-21T23:44
at 2009-10-21T23:44