일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Sqoop
- Python
- plugin
- SPC
- Express
- SSL
- 보조정렬
- JavaScript
- table
- xPlatform
- Eclipse
- SQL
- Java
- vaadin
- IntelliJ
- NPM
- mapreduce
- window
- mybatis
- R
- GIT
- Kotlin
- 공정능력
- es6
- Spring
- tomcat
- react
- Android
- hadoop
- Today
- Total
목록전체 글 (661)
DBILITY
public class DataStore { private final String TAG = DataStore.class.getSimpleName(); private DataStore() { Log.e(TAG, "Init"); } public static DataStore getInstance() { return LazyDataStore.instance; } private static class LazyDataStore { private static final DataStore instance = new DataStore(); } }
switch에서 case R.id.식별자 하면 오류가 남. R.id가 final이 아니라 그렇다고 gradle 8.0부터 그렇게 되었다고 하니 gradle.properties에 추가 android.nonFinalResIds=false
Unable to instantiate appComponentFactory java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[],nativeLibraryDirectories=[/data/app/com.dbility.android.myapplication-zXQF53q8EDh0JWjB7uEqzA==/lib/x86, /system/lib, /system/product/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196) at java.lang.ClassLoader...
For Mobile Data Link I am afraid that you can only check TelefonyManager.getNetworkType() to determine the current Mobile Data Link type. You should then aproximate to actual speed by link type (i.e. for GPRS up to 128 kbps, for EDGE up to 236.8 kpbs, for 3G up to 2 Mbps, for HSDPA up to 7.2 Mbps). Take into consideration that this is only an aproximation. Your could be conneting using HSDPA but..

보통하는 Activity에서 하는 것처럼 필요한 Activity에서 하면 된다. toolbar Layout을 만들고 그걸 Activity에서 include class MainActivity : AppCompatActivity() { private val binding by lazy { ActivityMainBinding.inflate(layoutInflater) } private val bindingToolbar by lazy { ToolbarLayoutBinding.inflate(layoutInflater) } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) //enableEdgeToEdge()..