dev(71)
-
[AOS] HttpUrlConnection
I almost use Android SDK. Retrofit, OkHttp, etc.. many good libraries in web. but I tried to use Android SDK. because It is very simple and help to understand. language : kotlin first, create url & connection instance. serverUrl type is string. val url = URL(serverUrl) val connection = url.openConnection() as HttpURLConnection connection custom settingrrr connection.apply { doInput = true doOutp..
2024.01.18 -
[Flutter] Splash
splash like intro. we called same mean that. splash means a first app screen to user. but, If you click my post. because maybe you want to change splash logo or not show splash logo on your screen. I will offer not show splash logo to later. first splash change logo image. you should add 'flutter_native_splash' package. actually, logo change is best way into native platform. but you don't want s..
2024.01.17 -
[Flutter] sqflite SQLite Database #DB
sqflite package is possible as simple query in local device storage.path : https://pub.dev/packages/sqflite sqflite | Flutter PackageFlutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.pub.dev add packageflutter pub add sqflite importimport 'package:sqflite/sqflite.dart'; create database(db)Database db = await openDatabase("my_db.db");@overridevoid disp..
2024.01.16 -
[AOS] Android14
Android 14부터 targetSdkVersion이 23미만인 앱은 설치할 수 없다.멀웨어로 22버전을 타겟해서 23버전에서 도입된 런타임 권한 모델이 적용되지 않도록 한다.멀웨어는 악성 소프트웨어이고, 런타임 권한이란 사용자에게 특정 시스템을 사용할 수 있도록 권한을 요청하는 것이다.하지만, 해당 런타임 권한 없이 앱 자체가 특정 권한을 스스로 허용해서 사용한다면 문제가 발생할 것이다.그 점을 막기위해 Android 14부터는 보안상 23미만의 앱은 설치할 수 없도록 지시가 내려진 것 같다. 사용자가 닫을 수 없는 알림 처리 방식 변경음악 플레이어 같은 경우 백그라운드로 재생되며 재생 컨트롤러를 포그라운드 알람창 형식으로 표기하기도 한다.같은 방식으로 표기를 하되, 닫을 수 없도록 설정한 포그라운..
2024.01.16 -
[Flutter] MainAxisAlignment (Row, Column)
I always confused parameters spaceAround and spaceEvenly. so I arrange this post. ready to three container widget boxs. Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Column( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ Container( width: length, height: length, color: Colors.red, ), Container( width: length, height: length, color: Colors.yellow, ), Container( widt..
2024.01.16