Development/Android(705)
-
SharedPreferences객체
SharedPreferences객체 어플리케이션에 연관된 간단한 데이터(String, int, boolean 등)을 파일시스템에 저장하고 가져올 수 있습니다. SharedPreferences객체는 key, value 쌍으로 파일생성하며 키를 통해 데이터를 가져올 수 있습니다. 환경설정시 많이 활용됩니다. 프리퍼런스에 데이터 쓰기 단계 1SharedPreferences객체 호출getSharedPreferences()2프리퍼런스에 데이터를 쓰기editor = sharedPreferences.edit(); editor.putXXXXXX();3데이터 저장(데이터 실제 저장)editor.commit();putXXXXXX(putString, putInt, putBoolean등)을 통해 데이터를 저장한후 반드시 co..
-
Android Studio - sample.json 파일 생성하기
Android Studio - sample.json 파일 생성"assets" 폴더 선택 >> 마우스 우클릭 >> [New] > [File] 선택 "File name:" 항목에 파일 이름 입력 >> [OK] 파일 생성 완료
-
SQLite의 내장 함수(Built-in Function)
SQLite의 내장 함수(Built-in Function)
-
assets 폴도, assets 폴더 생성 방법
\assets\assets폴더의 모든 정보를 AssetManager 객체를 생성하여 처리할 수 있습니다.Project뷰에서 assets 폴더를 생성한 후 확인하시기 바랍니다. assets 폴더 생성 방법 1Project뷰로 변경 >> [app] > [src] > [main] 으로 이동[main] 폴더 선택 >> 마우스 우클릭 >> [New] >> [Directory] "Enter new directory name"에 "assets" 입력 >> [OK] assets 폴더 생성 완료 assets 폴더 생성 방법 2[app] 선택 >> 마우스 우클릭 >> [New] > [Folder] > [Assets Folder]\ [Finish]
-
Android Drawable Importer Plugin - 해상도별 아이콘 생성해주는 안드로이드스튜디오 플로그인
Android Drawable Importer Plugin· 해상도별 아이콘 생성해주는 안드로이드스튜디오 플로그인 입니다.· 런쳐 아이콘 생성은 [res] 선택후 마우스 우클릭 >> [new] >> [image asset] > >이미지패쓰 설정합니다. https://github.com/winterDroid/android-drawable-importer-intellij-plugin
-
Error - This support library should not use a different version (23) than the compileSdkVersion (26)
오류메시지 해결 전 dependencies{ implementationfileTree(include:['*.jar'],dir:'libs') implementation'com.android.support:appcompat-v7:26.1.0' implementation'com.android.support.constraint:constraint-layout:1.0.2' testImplementation'junit:junit:4.12' androidTestImplementation'com.android.support.test:runner:1.0.1' androidTestImplementation'com.android.support.test.espresso:espresso-core:3.0.1' implementa..