본문 바로가기
[android] ConstraintLayout Tutorial [android] ConstraintLayout Tutorial https://developer.android.com/training/constraint-layout/index.html -ConstraintLayout 은 RelativeLayout 과 매우 비슷하게 Flat 한 view hierarchy 를 만들 수 있으면서도. 조금 더 유연하게 사용할 수 있다.그리고 Android Studio Layout Editor 를 통해 쉽게 설정할 수도 있어 편리하다. ( 이것을 key 로 미는 듯 ) -여기서 궁금한 거 하나 더!!Flat view hierarchy 는 알겠는데 그만큼 성능도 좋을까?결론은 성능도 좋다. ( 다른 layout 에 비해 약 10% 이상 빠르다 )https://medium.com/.. 2018. 3. 3.
[android] Bundled Notification Tutorial -Bundled Notification 은 Android Wear 의 Stacking Notification 과 비슷한 맥락이다.Notification 이 하나의 Title 밑에 List 형태로 붙어서 나온다.그리고 이 녀석을 클릭하면, Notification 이 확장되서 개개별 Notification 으로 나뉘어 나온다. -Bundled Notification 은 Nougat 부터 사용 가능하다.Nougat 이전 버전에서는 아래와 같이 나온다. -Bundled Notification 의 핵심은 “Group” 이라는 녀석과 “GroupSummary” 이란 녀석이다.private Notification buildNotification(Message message, String groupKey){ retur.. 2018. 3. 2.
[android] Messaging Style Notification Tutorial https://blog.stylingandroid.com/nougat-messaging-style-notifications/ -Bundled Notification 이란 녀석은 Notification 들을 각각 만들고, Notification framework 를 사용하여 grouping 을 하는 개념이라면,Messaging Style Notification 은 Notification 하나에 여러 Message 를 담는 것을 의미한다. -Messaging Style Notification 은 Nougat 부터 사용 가능하다. -NotificationCompay.MessagingStyle messagingStyle = buildMessageList(messages);Notification notificat.. 2018. 3. 1.
[android] Direct Reply Tutorial https://blog.stylingandroid.com/nougat-direct-reply/ -Direct Reply 는 Notification 으로부터 App Launch 없이 바로 답장을 보내는 기능이다.Message App 에 한정되지 않고 모든 앱이 사용 가능하다. -Direct Reply 는 Android N Nougat 버전에 한해 사용 가능하다. -Direct Reply 의 키는, Notification 을 만들 때 remoteInput 을 추가하는 것이다.// notification 생성private static final String REPLY_KEY = “reply”;private static final String REPLY_LABEL = “Input reply”; // Action.. 2018. 2. 28.
[android] App Shortcuts Tutorial [android] App Shortcuts Tutorial https://catinean.com/2016/10/20/exploring-android-nougat-7-1-app-shortcuts/ - -Android N ( Nougat ) 7.1 버전부터 사용 가능. -Shortcut 이 설정된 앱은 롱 프레스를 하면 위의 스샷처럼 바로가기 옵션이 나온다. -간단한 정리 특정 동작을 진입과 동시에 할 수 있다는 것이 키 포인트 static 과 dynamic shortcut 2가지 종류가 있다. static 은 xml 에 정의하여 앱 안에 내용이 정의되어 있다. ( 수정하려면 앱 수정 및 재배포를 해야 한다. ) dynamic 은 Runtime 에 바꿀 수 있다. shortcut 으로 앱을 열 때 activ.. 2018. 2. 25.
[ios/reference] Core Animation [ios/reference] Core Animation https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004514-CH1-SW1 -Core Animation 은 iOS, OS X 모두에 속하는 animation 에 대한 infra structure 이다. -몇 가지 설정만 해주면, 알아서 animation 을 만들어 수행한다.animation 에 대한 수행은 안쪽에서 알아서 hardware 가속 등을 사용해 rendering 한다. -Core Animation 은 UIKit/ AppKit 아래.. 2017. 11. 19.
[Server구축/Tutorial] 권한 설정 [Server구축/Tutorial] 권한 설정 http://egloos.zum.com/slog2/v/3546476http://thinkpro.tistory.com/16-chmod 파일, 디렉토리 권한 수정 # chmod 755 file # chmod o+rw file // others 에 rw 권한 부여 # chmod -R 755 directory // 해당 directory 내 모든 파일과 디렉토리의 권한 수정 -umask 파일이 만들어질 때 허가권 기본값 # umask 022 // chmod 755 와 같다. 777 에서 빼는 개념 -chown 파일 소유자, 소유 그룹 수정 # chown userName file # chown userName:groupName file # chown -cR userN.. 2017. 6. 4.
[Server구축/Tutorial] MySQL 설치 [Server구축/Tutorial] MySQL 설치 http://jongkwang.com/?p=941 -yum install mysql 을 수행하면 낮은 버전이 설치된다.따라서 아래 사이트에서 자신에 맞는 rpm 을 구해야 한다. http://dev.mysql.com/downloads/repo cf) RPM 은 Redhat Package Manager -$wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm$ yum localinstall http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm$ yum update$ yum install mysql-community-se.. 2017. 6. 3.
[Server구축/Tutorial] 계정 생성 [Server구축/Tutorial] 계정 생성 http://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EA%B3%84%EC%A0%95_%EC%83%9D%EC%84%B1_useraddhttp://www.hobbyhobby.net/2012/02/linux.html-계정이 있는지 확인 # cat /etc/passwd | grep 계정명 -계정 + 홈 생성 # useradd 계정명 /etc/passwd 파일에 사용자 정보 설정/etc/group 파일에 그룹정보 설정/home/사용자명/ 위치에 홈 디렉토리 생성/var/spool/mail/ 디렉토리에 사용자명의 메일 파일 생성 -비밀번호 설정 # passwd 계정명 # echo 'CustomPassword' | passwd.. 2017. 5. 28.
반응형