Android Studio NDK 설정 NDK 다운받기 http://developer.android.com/ndk/index.html 위 페이지로 이동하면 NDK 사용방법과 Document, Download를 제공한다. NDK 다운로드 페이지 : http://developer.android.com/ndk/downloads/index.html OS 환경에 맞게 다운받아 NDK를 사용할 위치에 압축을 푼다. 다운로드 페이지에서 OS별로 압축 푸는 방법까지 설명되어 있다. Android Stuido NDK 설정 - javah 먼저 jni에서 사용할 헤더파일을 만들때 필요한 javah 설정을 한다. File - Settings - Tools - External Tools ※ Tool settings Progra..
[Android] 버튼 효과 커스텀 하기 android button view custom Selector 속성 위 옵션은 ture/false형태로 작성 될 것이고 button에서는 주로 pressed 옵션으로 효과만 사용하여 만들 것이다. 참고 : Color State List Resource android:state_pressedBoolean. "true" if this item should be used when the object is pressed (such as when a button is touched/clicked); "false" if this item should be used in the default, non-pressed state.android:state_focusedBoolea..
[Android] ProGuard 코드 난독화 / 최적화 설정 ᆞProGuard란 출처 : http://proguard.sourceforge.net/ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it prever..
안드로이드 CheckBox 커스텀 하기 / 리스너 등록하기 커스텀 체크박스 이미지 만들기 Custom CheckBox 커스텀할 체크박스 이미지를 res/drawable 폴더에 check_press.png와 check_nor.png를 넣어 둔다. 그리고 아래와 같이 res/drawable/custom_check_box.xml 파일을 생성한다. CheckBox에 Custom된 이미지 적용하기 레이아웃에 CheckBox를 작성할 때 android_button="@null"을 지정해줘야 커스텀된 이미지가 체크박스의 크기에 맞게 들어간다.그리고 커스텀된 이미지를 android:background="@drawable/custom_check_box.xml"과 같이 지정해 준다.아래와 같이 CheckBox를 넣어주면 ..
BroadCast Receiver란 안드로이드 4대 컴포넌트 중에 하나이다. 말 그대로 방송 수신자이며 시스템이나 앱 등에서 이벤트 발생시 방송을 해주는 개념이다. 이렇게 방송된 이벤트는 각 앱에서 필요한 방송 이벤트를 받아들이고 이벤트에 대한 처리를 리시버를 통해 할 수 있게 해준다. SendBroadCast 방송 보내기 SendBroadcast라는 Context에 포함된 함수를 이용하여 인텐트를 전달한다. Intent에 putExtra를 통해 Integer, boolean, String 등 여러 단일 타입 또는 배열의 혈태로 전달 할 수 있다. Intent sendIntent = new Intent("com.dwfox.myapplication.SEND_BROAD_CAST"); sendIntent.pu..
- Total
- Today
- Yesterday
- Android Studio
- Android
- 안드로이드 스튜디오
- Picasso
- 일식
- 후쿠오카
- 라멘
- 일본
- 설치
- MongoDB
- 하카타
- 에러
- Python
- 생성
- 예제
- 직화
- 리뷰
- 안드로이드
- jar
- 인스턴트
- Custom
- java
- 라면
- 돈돈
- library
- 편의점
- Android Stuido
- 컵라면
- 맛집
- GS25
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |