일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Android Studio
- 개발강의
- 안드로이드 서비스
- 안드로이드 스튜디오
- hongdroid
- IOS
- 안드로이드 튜토리얼
- 앱 만들기
- Android Java
- 앱 만드는 법
- 플러터
- 코틀린
- 안드로이드 기초
- 코딩
- 안드로이드 앱 만들기
- 개발자
- 홍드로이드
- flutter
- android tutorial
- java
- 안드로이드 네비게이션 메뉴
- 안드로이드
- android studio 앱 만드는 법
- Android
- 안드로이드 예제
- 홍드로이드 강의
- 자바
- 자바 튜토리얼
- 안드로이드 코딩 기초
- android example
- Today
- Total
목록안드로이드 스튜디오 (16)
홍드로이드의 야매코딩
안녕하세요 홍드로이드 입니다 :)) 이번 시간에는 기존에 Java에서 변수에 xml id를 연동할 때 필수적으로 적어줬던findVIewById 라는 녀석에 대해서 Kotlin Extension을 사용하여 Android Studio 에서 더이상 그 구문을 적지 않아도 되는 편의기능을 사용할 수 있게 하기 위해 이 글을 작성합니다 ! 해당 내용은 안드로이드 스튜디오 버전 4.1 기준으로 작성되었습니다 ! (2021-01-11 글 수정 안내)해당 코틀린 익스텐션 기능은 공식적으로 해결되지못한 버그나 이슈사항들이 존재하여 구글에서 더이상 지원을 하지않습니다.사실 나온지가 오래됬었는데 제 무지로 인하여, 블로그 방문자들에게 새 기능이 생긴 것 처럼 혼란을 초래하였습니다. 이점 진심으로 사과드립니다. 이 게시글에 ..
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 Colored by Color Scriptercs
123456789101112131415161718192021222324252627282930313233343536373839404142434445 Colored by Color Scriptercs 12345678910111213141516 Colored by Color Scriptercs 12345678910 Colored by Color Scriptercs
12345678910111213141516171819202122 Colored by Color Scriptercs 1234567891011121314151617181920212223 Colored by Color Scriptercs 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455package com.example.comebackexample; import android.content.Intent;import android.support.annotation.Nu..
12345678910111213141516171819202122232425262728293031323334package com.example.backbuttonexample; import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.widget.Toast; public class MainActivity extends AppCompatActivity { private long backBtnTime = 0; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS..
123456789101112131415161718192021222324252627282930apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "com.example.loadinganimationexample" minSdkVersion 15 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDe..
res폴더 - > values 폴더 -> array.xml을 만드시고 코딩해주세요 ! 12345678 홍드 귀요미 존잘 cs 12345678910111213141516171819202122 Colored by Color Scriptercs 12345678910111213141516171819202122232425262728293031323334353637package com.example.spinnerexample; import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.view.View;import android.widget.AdapterView;import android.widget.Spinner;i..
123456789101112131415161718192021222324252627282930apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "com.example.videorecordexample" minSdkVersion 15 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefault..
무료음악 샘플 골라서 다운 합니다 : https://www.youtube.com/audiolibrary/music 12345678910111213141516171819202122 Colored by Color Scriptercs -안드로이드 스튜디오 좌측 Project 디렉토리 목록에서 res 폴더 우클릭 -> new -> Android Resource Directory 클릭 -> 팝업창에서 Resource type: 을 raw로 변경 -> OK 클릭하여 raw 디렉토리 생성 -> 무료음악 샘플 파일을 raw폴더에 드래그하여 삽입 12345678910111213141516171819202122232425262728293031323334353637package com.example.serviceexampl..
123456789101112131415161718192021222324 Colored by Color Scriptercs 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960package com.example.dialogexample; import android.content.DialogInterface;import android.support.v7.app.AlertDialog;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.view.View;impor..