목록설정 (28)
투케이2K

[개발 환경 설정] 개발 툴 : AndroidStudio 개발 언어 : java [원 인] 1. 안드로이드 build.gradle 의존성 설정 문제 [해결 방법] 1. build.gradle 파일에서 의존성 설정 실시 implementation 'androidx.annotation:annotation:1.1.0' androidTestImplementation 'androidx.annotation:annotation:1.1.0' [참고 사이트] https://stackoverflow.com/questions/56784213/cannot-find-a-version-of-androidx-annotationannotation-that-satisfies-the-ver Cannot find a v..
[설 명] 프로그램 : Ios / Swift 설 명 : 인텐트 (settings) , 애플리케이션 , 메일 , 문자 , 전화 , 링크 설정창 이동 클래스 [소스 코드] import Foundation import UIKit import SafariServices // MARK: [extension 정의 실시 : 뷰 컨트롤러] extension UIViewController { // MARK: - [클래스 설명] /* // ----------------------------------------- 1. 모바일 설정, 애플리케이션 설정 인텐트 이동 클래스 2. 인텐트 (settings) , 애플리케이션 , 메일 , 문자 , 전화 , 링크 설정창 이동 클래스 // ---------------------..
[설 명] 프로그램 : Android / Java 설 명 : 인텐트 (settings) , 애플리케이션 , 메일 , 문자 , 전화 , 링크 설정창 이동 클래스 [소스 코드] package com.example.testapp; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.provider.Settings; import android.util.Log; import androidx.core.app.NotificationManagerCompat; public class C_Intent { /** * TODO [클래스 설명] *..

[개발 환경 설정] 개발 툴 : AndroidStudio 개발 언어 : java [소스 코드] // [AndroidManifest.xml 파일] // TODO [QueryAllPackagesPermission 앱 설정 창 이동] public static void checkQueryAllPackages(Context mContext){ if ((Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) && !isAccessGranted(mContext)){ Log.i("---","---"); Log.e("//===========//","================================================"); Log.i("","\n"+"[C_Permissi..

[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [소스 코드] // MARK: - [애플리케이션 설정창 이동 실시 : 권한 거부 시] func goAppSetting() { if let url = URL(string: UIApplication.openSettingsURLString) { print("") print("===============================") print("[A_Main >> goAppSetting() : 앱 설정 화면 이동 수행]") print("===============================") print("") UIApplication.shared.open(url, options: [:], completionHandler: nil)..

[개발 환경 설정] 개발 툴 : AndroidStudio 개발 언어 : java [소스 코드] package kr.co.two2k.manager; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.PaintDrawable; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.Window; public class P_AlertDialog extends Activity { //TODO [메인 액티비..

/* =========================== */ [ 개발 환경 설정 ] 개발 툴 : Edit++ 개발 언어 : html, css, js, jquery /* =========================== */ /* =========================== */ [소스 코드] /* =========================== */ /* =========================== */ [결과 출력] [사진 표시] [폴더 구조] /* =========================== */ /* =========================== */ [요약 설명] /* [요소 설명] 1. font-family : 폰트 표시 형태 스타일 지정 2. ..

/* =========================== */ [ 개발 환경 설정 ] 개발 툴 : AndroidStudio 개발 언어 : kotlin /* =========================== */ /* =========================== */ [소스 코드] try{ /** ==== [기본 설정 창 이동하기] ==== */ val intent = Intent(Settings.ACTION_SETTINGS) intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) startActivity(intent) overridePendingTransition(0, 0) } catch(e : Exception){ e.printStackTrace() } /..