This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
/* | |
儲存格式: | |
1=原始檔名 | |
2=日期-時間 | |
3=日期-計數器 | |
*/ | |
sSaveFormat := "2" | |
sSaveDir := "z:\pic" ;; 儲存資料夾 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
/* | |
儲存格式: | |
1=原始檔名 | |
2=日期-時間 | |
3=日期-計數器 | |
*/ | |
sSaveFormat := "2" | |
sSaveDir := "z:\pic" ;; 儲存資料夾 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(Intent.ACTION_VIEW); | |
ComponentName cn = new ComponentName("com.tencent.mm", "com.tencent.mm.plugin.base.stub.WXCustomSchemeEntryActivity"); | |
intent.setData(Uri.parse("weixin://dl/moments")); | |
intent.setFlags(Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP); | |
intent.setComponent(cn); | |
startActivity(intent); |