목록mobile (6)
투케이2K

[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : OBJECTIVE-C [소스 코드] // MARK: - [디바이스 세로 화면 고정 처리] -(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { printf("\n"); printf("==================================== \n"); printf("[HelloWorldAppDelegate >> supportedInterfaceOrientationsForWindow() :: 디바이스 화면 세로 모드 고정 실시] \n"); printf("==================..
[설 명] 프로그램 : Android / Java 설 명 : string, 날짜, 빌드 정보, 모바일 제어, 형 변환 등 유틸 파일 클래스 [소스 코드] package com.example.testapp; import static android.content.Context.CLIPBOARD_SERVICE; import android.app.ActivityManager; import android.app.AlertDialog; import android.app.NotificationManager; import android.content.ClipData; import android.content.ClipboardManager; import android.content.ComponentName; im..

[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [소스 코드] // MARK: - [모바일 앱 이름 정보 확인] func getMobileName() -> String { // [초기 변수 선언 실시] var appName = "" if let infomation = Bundle.main.infoDictionary { if let Name = infomation["CFBundleDisplayName"] as? String { appName = Name } } print("") print("===============================") print("[C_Util >> getMobileName() :: 모바일 앱 이름 정보 확인]") print("appName :: ..

[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [소스 코드] // MARK: - [모바일 버전 코드 확인] func getMobileCode() -> String { // [초기 변수 선언 실시] var appBuildVersion = "" if let infomation = Bundle.main.infoDictionary { if let BuildVersion = infomation["CFBundleVersion"] as? String { appBuildVersion = BuildVersion } } print("") print("===============================") print("[C_Util >> getMobileCode() :: 모바일 버전 코드 ..

[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [소스 코드] // MARK: - [모바일 번들 ID 패키지명 확인] func getMobilePackageName() -> String { // [초기 변수 선언 실시] var appBundleIdentifier = "" if let infomation = Bundle.main.infoDictionary { if let BundleIdentifier = infomation["CFBundleIdentifier"] as? String { appBundleIdentifier = BundleIdentifier } } print("") print("===============================") print("[C_Util >..

/* =========================== */ [ 개발 환경 설정 ] 개발 툴 : Edit++ 개발 언어 : javascript /* =========================== */ /* =========================== */ [소스 코드] /* =========================== */ /* =========================== */ [결과 출력] /* =========================== */ /* =========================== */ [요약 설명] /* [요약 설명] 1. window.onload : 웹브라우저 로딩 완료 상태를 확인합니다 2. navigator.platform : ..