일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- MSSQL
- window
- mapreduce
- R
- GIT
- Eclipse
- Android
- Sqoop
- SSL
- plugin
- NPM
- table
- Python
- Express
- tomcat
- hadoop
- 공정능력
- Spring
- 보조정렬
- xPlatform
- SQL
- SPC
- JavaScript
- vaadin
- mybatis
- Java
- react
- IntelliJ
- es6
- Kotlin
- Today
- Total
목록android/java (11)
DBILITY
res/xml/path.xml AndroidManifest.xml...... //출처를 알 수 없는 앱 설치 권한if (!getPackageManager().canRequestPackageInstalls()) { Intent intent = new Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES); intent.setData(Uri.parse(String.format("package:%s", getPackageName()))); if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); }}//build.gradlebu..
ProgressBar progressBar = new ProgressBar(this);progressBar.getIndeterminateDrawable().mutate().setTintList(ColorStateList.valueOf(Color.RED));Dialog progressDialog = new Dialog(this);progressDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));progressDialog.setContentView(progressBar);progressDialog.setCanceledOnTouchOutside(false);progressDialog.setOnCancelListener(n..
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { WindowMetrics windowMetrics = getWindowManager().getCurrentWindowMetrics(); Log.e(TAG, windowMetrics.getBounds().width() + " : " + windowMetrics.getBounds().height());} else { Display display = getWindowManager().getDefaultDisplay(); DisplayMetrics displayMetrics = new DisplayMetrics(); display.getRealMetrics(displayMetrics); ..
퍼미션은 없어도 되는 것 같은데SharedPreferences sharedPreferences = getSharedPreferences("FIRST_LAUNCH", Context.MODE_PRIVATE);if (sharedPreferences.getBoolean("FIRST_LAUNCH", true)) { sharedPreferences.edit().putBoolean("FIRST_LAUNCH", false).commit(); if (ShortcutManagerCompat.isRequestPinShortcutSupported(this)) { ShortcutInfoCompat shortcutInfoCompat = new ShortcutInfoCompat.Builder(this, "#..
switch에서 case R.id.식별자 하면 오류가 남. R.id가 final이 아니라 그렇다고 gradle 8.0부터 그렇게 되었다고 하니 gradle.properties에 추가 android.nonFinalResIds=false