본문 바로가기
[android] minSdk 를 올려 market update 하면 무슨 일이 발생하나요? [android] minSdk 를 올려 market update 하면 무슨 일이 발생하나요? -기존에 min version 을 충족시켰던 사용자들이 앱을 삭제 후 재설치하려고 하면 재설치를 할 수 없다. -기존 min version 을 충족시키지 못하는 사용자들은 업데이트를 받지 못한다. -결론적으로 minSdk 를 올리는 순간, 현재 설치된 앱은 그대로 유지되지만, 추후 install or reinstall 은 불가능하다 Android, market update, min version, minsdk, [android] minSdk 를 올려 market update 하면 무슨 일이 발생하나요?, 삭제, 업데이트, 재설치 2017. 7. 30.
[android] minSdkVersion vs. targetSdkVersion [android] minSdkVersion vs. targetSdkVersion http://developer.android.com/guide/topics/manifest/uses-sdk-element.html -minSdkVersion 은 해당 앱을 쓰기 위해 필요한 최소한의 API Level 을 명시한다.minSdkVersion 이 맞지 않으면 android 가 install 자체를 허용하지 않는다. 이 값은 설정되지 않으면 1 로 기본 설정된다. -targetSdkVersion 은 앱이 타겟팅하고 있는 API Level 을 말한다.targetSdkVersion 을 명시한다는 것은 minSdkVersion 이상에서 지원하는 어떤 기능을 사용하고자 위함이다.새로운 기능이 critical 하다면 minS.. 2017. 7. 29.
[android] ObjectAnimator 이야기 [android] ObjectAnimator 이야기 http://developer.android.com/reference/android/animation/ObjectAnimator.htmlhttp://developer.android.com/reference/android/animation/ValueAnimator.html -API Level 11 부터 사용 가능하다. -ValueAnimator 의 subclass 로 target object 의 property 에 대한 animation 을 할 수 있다.생성자는 target object 와 target property 이름을 받아들인다.target property 에 assign 되는 것들은 내부적으로 get/set function 이 있어야 한다. -O.. 2017. 7. 22.
[android] JSON lib 비교 [android] JSON lib 비교 http://www.developer.com/lang/jscript/top-7-open-source-json-binding-providers-available-today.htmlhttps://dzone.com/articles/be-lazy-productive-android -실험 그래프는 위의 링크를 참조하길..여기서는 결과만 정리!! -JSON 관련 유명한 Library 종류는..JacksonGoogle-gsonJSON-lib ( 기본 )Flexjsonjson-iogensonJSONiJ -약 300KB 정도 용량을 read(deserialize)/write(serialize) 했을 때는Flexjson 과 Gson 이 가장 빠른 편이었다. -100MB 이상의 고용량.. 2017. 7. 21.
[android] 원형 progress view 그리기 [android] 원형 progress view 그리기 http://frogermcs.github.io/InstaMaterial-concept-part-9-photo-publishing/ -public class SendingProgressView extends View { public static final int STATE_NOT_STARTED = 0; public static final int STATE_PROGRESS_STARTED = 1; public static final int STATE_DONE_STARTED = 2; public static final int STATE_FINISHED = 3; private static final int PROGRESS_STROKE_SIZE = 10; p.. 2017. 7. 15.
[android] Circular Reveal 만들기 [android] Circular Reveal 만들기 http://frogermcs.github.io/InstaMaterial-concept-part-6-user-profile/ -Circular reveal 을 만드는 방법은 여러가지가 있다. -ViewAnimationUtils.createCircularReveal() 은 Render thread 통해 animation 되기 때문에 Lollipop 이전 단말에서는 사용할 수 없는 방법이다.하지만 Lollipop 이라면 가장 간단한 방법이다.[android] CircularRevealEffect Basic Simple Example -https://github.com/ozodrukh/CircularReveal 위의 링크는 Ginger 이상에서 사용할 수 .. 2017. 7. 14.
[android] Circular Bitmap 만들기 ( 동그란 프로필 사진 ) [android] Circular Bitmap 만들기 ( 동그란 프로필 사진 ) http://frogermcs.github.io/InstaMaterial-concept-part-6-user-profile/ -public class CircleTransformation implements Transformation { private static final int STROKE_WIDTH = 6; @Override public Bitmap transform(Bitmap source) { int size = Math.min(source.getWidth(), source.getHeight()); int x = (source.getWidth() - size) / 2; int y = (source.getHeight(.. 2017. 7. 13.
[Kotlin Tutorial] Kotlin 소개 - Kotlin : what and why [Kotlin Tutorial] Kotlin 소개 - Kotlin : what and why 참조 : Kotlin in Action -Kotlin 은 Java platform 을 targeting 한 새로운 프로그래밍 언어.Java 코드와 함께 쓰일 수 있다.Android 개발 뿐만 아니라 Server-side 개발에도 쓰일 수 있다. -Java 의 iib, framework 와 함께 쓰일 수 있고, Java 와 비교해 Performance 도 거의 동일하다. 1.1. A Taste of Kotlin -http://try.kotl.in 을 통해 코드 실습을 할 수 있다. -data class Person(val name: String, val age: Int? = null) fun main(args: A.. 2017. 7. 12.
[android] 특정 위치에 popup window 띄우기 [android] 특정 위치에 popup window 띄우기 http://frogermcs.github.io/InstaMaterial-concept-part-4-feed-context-menu/ -꼭 popup window 를 띄우지 않아도, LinearLayout 등을 통해서도 popup window 형태를 충분히 띄울 수 있다. -메뉴를 표시하는 LinearLayout 를 하나 만든다. -menu 를 표시하는 action 이 들어오면, 메뉴 view 를 만들고, ViewTreeObserver 에 addOnPreDrawListener 를 등록한다. -listener callback 에서는 먼저 pre draw listener 를 해지해주고, menu 의 위치를 잡아준다. -위치를 잡는것은, 기준점이 되.. 2017. 7. 12.
반응형