This file contains hidden or 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
taskkill /F /IM TmProxy.exe | |
rem 名前は"表示名"を指定 | |
sc config "TmProxy" start= disabled | |
pause |
This file contains hidden or 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
private void checkInstalledApplication( String fileter ){ | |
ArrayAdapter<String> adapter = new ArrayAdapter<String>( this, android.R.layout.simple_list_item_1 ); | |
//ArrayAdapter<ImageView> images = new ArrayAdapter<ImageView>( this, android.R.layout.simple_list_item_1 ); | |
PackageManager pm = getPackageManager(); | |
int flag = PackageManager.GET_INTENT_FILTERS | PackageManager.GET_RECEIVERS | PackageManager.GET_PERMISSIONS; | |
List<PackageInfo> list = pm.getInstalledPackages( flag ); | |
for( Iterator<PackageInfo> iterator = list.iterator(); iterator.hasNext(); ){ | |
PackageInfo info = iterator.next(); | |
if( fileter != null ){ |
NewerOlder