價格:免費
更新日期:2017-04-15
檔案大小:439k
目前版本:0.3
版本需求:Android 2.3 以上版本
官方網站:mailto:thedifftool@gmail.com
DiffDroid is a Add-On for DiffTool (https://play.google.com/store/apps/details?id=com.difftool), which extends it's functionality.
DiffDroid functions in detail:
- this APP allows DiffTool to open the files and documents in an editor of your choice.
- by using that APP, you can start DiffTool from any File Explorer (simply select DiffDroid when you open a file from your Explorer; then press "Select the Second File" to add file B: in the same way).
- this APP offers Java®* intents to integrate DiffTool into any other Java®* App (more about see below).
Coming soon:
- DiffDroid will give DiffDroid access to Google Drive™**
- DiffDroid will give DiffTool access to files on your local network.
For software developers:
By using this APP, you can use the following code to integrate DiffTool into your Apps.
// Compare 2 text files
Intent intent = getPackageManager().getLaunchIntentForPackage("com.difftool.diffdroid");
intent.putExtra("compare", "text");
intent.putExtra("fileA", PATH+FILENAME);
intent.putExtra("fileB", PATH+FILENAME);
startActivity(intent);
// Compare 2 binary files
Intent intent = getPackageManager().getLaunchIntentForPackage("com.difftool.diffdroid");
intent.putExtra("compare", "binary");
intent.putExtra("fileA", PATH+FILENAME);
intent.putExtra("fileB", PATH+FILENAME);
startActivity(intent);
// Compare 2 folders
Intent intent = getPackageManager().getLaunchIntentForPackage("com.difftool.diffdroid");
intent.putExtra("compare", "folder");
intent.putExtra("folderA", PATHNAME);
intent.putExtra("folderB", PATHNAME);
startActivity(intent);
// Store folder state
Intent intent = getPackageManager().getLaunchIntentForPackage("com.difftool.diffdroid");
intent.putExtra("compare", "store");
intent.putExtra("folder", PATHNAME);
startActivity(intent);
// View a stored DIFF file
Intent intent = getPackageManager().getLaunchIntentForPackage("com.difftool.diffdroid");
intent.putExtra("compare", "view");
intent.putExtra("file", PATH+FILENAME);
startActivity(intent);
= NO WARRANTY =
THE PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY, YOUR DEVICE, YOUR DATA AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
* Java ® is a registered trademark of Sun Microsystems, Inc.
** Google Drive™ and Android™ are trademarks of Google, Inc.