본문 바로가기

초급개발자

(6)
DUNS번호 발급 절차 천천히 따라하세요! D-U-N-S 넘버 발행DUNS 번호란 무엇인가요?DUNS 번호(D-U-N-S Number)는 **Dun & Bradstreet(D&B)**에서 발급하는 9자리 고유 식별 번호로, 전 세계적으로 사용되는 기업 인증 시스템입니다.전세계의 사업자번호를 하나로 새롭게 발급한다 라고 생각해주세요. 이젠, Apple 및 Google 개발자 계정을 등록할 때 이제 D-U-N-S Number를 필수 발급받아야 합니다.  DUNS 번호 발급 방법 무료 발급: D&B의 공식 웹사이트를 통해 직접 신청할 수 있으며, 일반적으로 30일 이내에 발급됩니다. 이 방법은 비용 부담이 없지만, 처리 기간이 비교적 길 수 있습니다.유료 발급: 국내 대행사를 통해 신청하면 빠른 시일 내에 발급받을 수 있습니다. 예를 들어, 나이스디앤..
[Android] Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent 안드로이드 SDK를 31로 잡고 작업을 할경우 Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent 위와 같은 에러메세지가 나온다. -> 변경전 pIntent = PendingIntent.getActivity(this, 1 /* Request code */, targetIntent, PendingIntent.FLAG_UPDATE_CURRENT ); -> 변경후 pIntent = PendingIntent.getActivity(this, 1 /* Request code */, targetIntent, PendingIntent.FL..
[Android] 외부 어플리케이션 실행하기 외부 어플리케이션 실행하기 관련 포스팅 1. 나의 핸드폰에 있는 어플리케이션 리스트를 가지고 와서 패키지명을 비교하여 어플리케이션 설치 유무를 판단한다. public boolean getPackageListCheck() { boolean isExist = false; PackageManager pkgMgr = getPackageManager(); List mApps; Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); mApps = pkgMgr.queryIntentActivities(mainIntent, 0); try { for (int i = 0; i < mApp..
[Android]현재화면 캡처하기 함수 * 현재 보고있는 해당 Activity 의 화면을 캡처할 경우 아래와 같은 함수를 사용하면된다. public File ScreenShotActivity(View view){ view.setDrawingCacheEnabled(true); Bitmap screenBitmap = view.getDrawingCache(); String filename = "screenshot"+"현재시간milliseonds"+".png"; File file = new File(Environment.getExternalStorageDirectory()+"폴더명", filename); FileOutputStream os = null; try{ os = new FileOutputStream(file); screenBitmap.com..
[Android]Must be called from main thread of fragment host |에러 java.lang.IllegalStateException: Must be called from main thread of process 안드로이드 에러 이번내용은 위와 같다. FATAL EXCEPTION: Thread-11 java.lang.IllegalStateException: Must be called from main thread of process at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1392) at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:431) at and..
[Android] AlarmManger 알람 여러개 등록, 알람 다수 등록하기 ※ Android 작업시 알람 등록에 대해 문제를 겪는 경우가 있다. 1. AlarmManger 알람이 울리지 않는경우 해결방법 AlarmManager am = (AlarmManager) getSystemService(ALARM_SERVICE); if (Build.VERSION.SDK_INT = Build.VERSION_CODES.KITKAT) { //API 19 이상 API 23미만 am.setExact(AlarmManager.RTC_WAKEUP, curTime, sender); } else { //API 19미만 am.set(AlarmManager.RTC_WAKEUP, curTime, sender); } } else { //API 23 이상 am.setExactAndAllowWhileIdle(Alar..