본문 바로가기

Mobile

[Mobile] 유용한 사이트 ※ 이미지 배경 제거 https://www.remove.bg/ko/ 이미지에서 배경 제거 – remove.bg 이미지 배경 제거: 클릭 한 번 없이, 5초만에, 100% 자동, 무료. www.remove.bg ※ Decompiling http://www.javadecompilers.com/result?currentfile=resources/res Decompiling Java and Android applications www.javadecompilers.com ※ App icon 자동 변환 https://appicon.co/ App Icon Generator appicon.co ※ Android Notification icon 생성 http://romannurik.github.io/AndroidAsse..
[Android] Android WebView 디버깅 1. 테스트를 진행할 단말기의 디버깅 모드를 활성화 한후 PC 에 연결 https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=0&ie=utf8&query=android+%EB%94%94%EB%B2%84%EA%B9%85+%EB%AA%A8%EB%93%9C android 디버깅 모드 : 네이버 통합검색 'android 디버깅 모드'의 네이버 통합검색 결과입니다. search.naver.com 2. 아래와 같이 웹뷰의 디버깅 모드를 활성화 mWebView.setWebContentsDebuggingEnabled(true); 3. Chrome 에서 chrome://inspect/#devices 링크로 접속 https://search.naver.co..
[Android] 카카오 로그인 시 에러 Android 에서 카카오 로그인 연동 시 하기와 같이 에러 발생하면서 로그인이 불가능한 상태가 발생한다. 2021-09-23 11:00:36.327 4851-4851/? E/AndroidRuntime: FATAL EXCEPTION: main Process: kr.co.test, PID: 4851 java.lang.RuntimeException: Unable to create application kr.co.test.utils.GlobalApplication: java.lang.NullPointerException: Argument 'cacheName' cannot be null at android.app.ActivityThread.handleBindApplication(ActivityThread.jav..
[ Android ] a webview method was called on thread 'javabridge' 에러가 발생했을 때 안드로이드 Webview에서 Javascript를 호출할 때 하기와 같이 ll WebView methods must be called on the same thread.라는 메시지가 뜰 때 있습니다. W/WebView: java.lang.Throwable: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 2) {b815192} called on Looper (JavaBridge, tid 1239) {8687233}, FYI main Looper is Looper (main, tid 2) {b815192..
[Android] 로컬 웹뷰 ajax cross origin 에러 Android 로컬 웹뷰(file:///android_asset/index.html)에서 내부 파일을 ajax로 불러올 때 cross origin 이슈가 발생 ex) test.json 파일을 로드 $.ajax({ url : "test.json", success : function (data) { console.log(data); } }); 하기와 같이 에러 발생 Access to XMLHttpRequest at 'file:///android_asset/test.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrom..
[Android] WebView에서 JavaScript 스레드 오류 A WebView method was called on thread 'javabridge'. All WebView methods must be called on the same thread.라는 메시지가 뜨면서 오류 발생 WebVeiw에서는 비 UI 스레드에서 호출하기 떄문에 발생 mWebView.post(new Runnable(){ @Override public void run(){ //자바스크립트 호출 } }); 이런식으로 호출하려던 함수를 감싸주면 문제 해결됨 - mWebView는 선언한 WebView 변수
[iOS] The app delegate must implement the window property if it wants to use a main storyboard file. 오류 관련 The app delegate must implement the window property if it wants to use a main storyboard file.오류의 경우 swift AppDelegate Class 에 하기 값 추가가 필요합니다.var window: UIWindow? Objective-C AppDelegate.h file 에 하기 값 추가가 필요합니다.@property (strong, nonatomic) UIWindow *window;
[Android] Android 에서 기본으로 제공하는 이미지 - 사용 방법android.R.drawable.xxx - 실제 이미지 경로 ※ AndroidC:\Users\your-user\AppData\Local\Android\sdk\platforms\android-XX\data\res ※ iOS/Users/$USER/Library/Android/sdk/platforms/android-XX/data/res