All posts
플래시 UI 제작을 위한 API 완전 정리
M35Touch 의 플래시 UI에서 사용할 수 있는 명령어는 다음과 같습니다.
/*****각 기능 실행*****/
//dmb 실행
ext_fscommand2("PLATFORM", "executeApp", "dmb");
//동영상 플레이어 실행
ext_fscommand2("PLATFORM", "executeApp", "movie");
//뮤직플레이어(mp3) 실행
ext_fscommand2("PLATFORM", "executeApp", "music");
//라디오 실행
ext_fscommand2("PLATFORM", "executeApp", "radio");
//게임 브라우져 실행
ext_fscommand2("PLATFORM", "executeApp", "game");
//사전 실행
ext_fscommand2("PLATFORM", "executeApp", "dic");
//포토뷰어 실행
ext_fscommand2("PLATFORM", "executeApp", "photo");
//보이스레코더 실행
ext_fscommand2("PLATFORM", "executeApp", "voicerec");
//텍스트 뷰어 실행
ext_fscommand2("PLATFORM", "executeApp", "text");
//setting 메뉴 실행
ext_fscommand2("PLATFORM", "executeApp", "setting");
/*****M35T 기기 상태 체크*****/
//배터리 상태수준을 가져와 battery 변수에 저장
ext_fscommand2("PLATFORM","getBatteryLevel", "battery");
//LCD상태가 잠겨 있는지 여부를 가져온 후 lcdlocked 변수에 저장, lcdlocked = 0 잠기지 않은 상태, lcdlocked = 1 잠긴상태
ext_fscommand2("PLATFORM","isLCDLocked","lcdlocked");
//micro SD 카드의 상태를 가져와 sdcard 변수에 저장, sdcard = 0 없음, sdcard = 1 있음
ext_fscommand2("PLATFORM","isExistSDCard","sdcard");
/*****swf 파일 로드*****/
//메인 UI 상태에서 다른 swf을 호출하고 메인 UI는 메모리에서 삭제.
ext_fscommand2("PLATFORM", "excuteFlash", "C:\\Config\\test.swf");
//다른 swf 가 불러와 있는 상태에서 메인 UI로 돌아간다
ext_fscommand2("PLATFORM", "runMainMenu");


Discussion
2 Comments