일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- html
- JavaScript
- 안드로이드
- jQuery
- Program type already present
- Android Apk 이름
- MySQL
- android error
- java error
- Java
- Exception
- Firebase
- R프로그래밍
- error
- release unsigned
- release Apk
- android fragment
- spring
- tomcat
- CSS사용법
- Eclipse
- Android Apk
- fragment
- css
- FLUTTER
- apache gzip
- Kotlin
- Android
- Android Apk 이름 변경
- DataTable
- Today
- Total
목록App/Android (59)
selfstarter
AnimatedVectorDrawableVector Animation은 vector 기반이라 이미지를 확대해도 깨지지 않는다총 3개의 파일을 추가한다. 애니메이션을 정의하는 objectAnimator, 애니메이션이 멈추었을 때 보이는 vector image인 vector, 그 둘을 이어주는 animated-vector, 3가지 파일을 정의해야한다objectAnimator 정의res/animator/test_ani.xml Vector Animation을 정의valueFrom, valueTo에는 Vector Script가 사용됨y축은 위에서 부터 아래로 0부터 커진다10, 60은 x, y좌표소문자도 된다고 적혀 있지만 테스트 시 소문자를 사용하면 도형이 보이지 않음M : moveTo, 커서를 이동시키는 명..
Android Error NotFoundException String resource ID Error NotFoundException: String resource ID #0xdac Cause setText할 때 넣는 인자가 String이 아니다 Solution modify Code holder.textView2.setText(itemListData.getMoney()); to holder.textView2.setText(Integer.toString(itemListData.getMoney()));
Kotlin Summary Kotlin Tutorial Benefit of Kotlin 1) Google I/O 2017에서 android의 공식언어로 지정되었고, Google에서 Kotlin 사용을 권장하고 있다(최근 android 예제에아예 JAVA 언어로 된 예제가 없는 경우도 있다) 2) Java에서 Asynctask가 없어졌고, kotlin에서 Coroutine을 사용하여 더 쉽고 간결하게 작업할 수 있다 3) 변수가 NullSafty한지 아닌지를 사용자가 지정하여 예외를 미연에 방지할 수 있다 4) Java와 Kotlin언어 호환 가능 function Unit은 return value가 없음을 의미한다. Unit을 생략해도 된다 $연산자를 통해 따옴표 안에 메시지를 출력할 수 있다. 또 ret..
Android adb command adb devices : 연결되어있는 디바이스 목록 보기 adb -s 1e6ad0(디바이스id) shell am broadcast -a com.test.broadcast.ACTION_RESULT -a --es re hello broadcast로 해당 app에 intent 전달하는 adb 명령어 --ez는 boolean, String은 --es(아래 참고) adb -s 0a1ab9d4f21e6ad0 shell am broadcast -a com.kscc.taxi.appmeter.ACTION_RESULT_OF_EXECUTE --es res finishMain [-e|--es ...] [--esn ...] [--ez ...] [--ei ...] [--el ...] [--ef..
Android apk install cmd 창 열기 Android apk 파일이 있는 폴더로 이동 adb devices 명령어 쳐서 연결되어있는 device id 확인 adb -s 0wer45erw234(device id) install -t app-debug.apk 성공 시 cmd에 success 표시 Performing Streamed Install Success
Setting String format in Android strings.xml에서 string 추가 StringFormatteExample %d번째 입니다 %s 버튼 입니다 %d %%입니다 %d$달러 입니다 MainActivity에서 format에 대한 값 지정 후 출력 Resources res = getResources(); String test_format_num = String.format(res.getString(R.string.test_format_num), 144); String test_format_string = String.format(res.getString(R.string.test_format_string), "확인"); String test_format_percent = Strin..
Internal error in Firestore (0.6.6-dev) 이미지를 firestorage에 올릴 때 해당 에러가 발생하면서 앱이 강제 종료 되었다 stack over flow나 여러곳을 찾았지만 원인을 알 수 없었다 해당 프로젝트는 instagram 클론 프로젝트 인강을 따라하고 있는 중이었다. 그래서 gradle에서 포함한 라이브러리를 강의와 똑같이 만들었다 com.google.code.gson:gson:2.8.6 com.google.http-client:google-http-client:1.34.0 com.google.http-client:google-http-client-android:1.34.0 com.google.http-client:google-http-client-gson:1.3..
Animation simple example in Android Android Animation 예제(애니메이션 방식) 00~03.png file drop into drawable folder Add animation-list file in drawable folder write animation image list option android:oneshot="true" : if finished animation, it would stop add Code in activity_main.xml add Code in MainActivityImageView testImage = (ImageView)findViewById(R.id.testAnimation); AnimationDrawable animationDra..