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
{ | |
窓開け・窓閉めインジケーター (※レーダースクリーン専用) | |
v 0.1.0 | |
Makoto NARA (Mc.N) | |
} | |
vars: | |
int base_color(0), | |
string base_str(""), | |
double gap_winp(0), |
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
{ | |
貸借、非貸借表示プログラム(レーダースクリーン専用) | |
v 0.1.0 : 17.04.21 | |
Makoto NARA (Mc.N) | |
} | |
vars: | |
fvalue(0), | |
errcode(0), | |
string base_str("error"), |
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
Print(Close); // 花王 | |
Print(Close of Data(2)); // 日経平均 |
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
// sample.pas (EasyLanguage) | |
// | |
using elsystem.collections; | |
using elsystem; | |
once begin | |
Clearprintlog; | |
end; | |
Plot1("Test"); |
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
ActivityManager am = (ActivityManager) getSystemService(ACTIVITY_SERVICE); | |
List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(5); |
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
PackageManager pm = getPackageManager(); | |
List<ApplicationInfo> installedapps = pm.getInstalledApplications(PackageManager.GET_UNINSTALLED_PACKAGES | PackageManager.GET_DISABLED_COMPONENTS); |
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
ActivityManager am = (ActivityManager) getSystemService(ACTIVITY_SERVICE); | |
List<RunningAppProcessInfo> runningapps = am.getRunningAppProcesses(); |
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
// SherlockFragmentActivityになってるけどActivityでも動作するよ | |
// MainActivityはHoneycombGalleryのまんま流用 | |
public class MainActivity extends SherlockFragmentActivity implements | |
TitlesFragment.OnItemSelectedListener { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
if (savedInstanceState == null) { | |
//追加箇所:RecreateActivityから呼び出された時の処理をしている |
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
// そうそ、AndroidManifest.xmlに追加するのを忘れないでね。忘れがちだよねえw | |
public class RecreateActivity extends Activity { | |
private final static String TAG_RECRIATE_NAME = "recreate_callback_class_name"; | |
public static Intent recreateIntent(Context ctx, String classname, Bundle outState) { | |
Intent intent = new Intent(ctx, RecreateActivity.class); | |
outState.putString(TAG_RECRIATE_NAME, classname); | |
intent.putExtras(outState); |
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
XOOM (Android 4.0.3) | |
path : /mnt/sdcard, desc. : Internal Storage, Removable? : false, Emulated? : true | |
path : /mnt/external1, desc. : SD Card, Removable? : true, Emulated? : false | |
Galaxy Nexus (Android 4.0.2) | |
path : /mnt/sdcard, desc. : 内部ストレージ, Removable? : false, Emulated? : true | |
Acer ICONIA TAB A500 (Android 3.2.1) | |
path : /mnt/sdcard, desc. : 内部ストレージ, Removable? : false, Emulated? : true | |
path : /mnt/external_sd, desc. : SDカード, Removable? : true, Emulated? : false |
NewerOlder