목록알쓸전컴 (343)
알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
상당히 고전했던 부분 으로 이력을 남깁니다. 안드로이드 스튜디오로 migration 할때 debug 폴더와 main 폴더의 AndroidManifest.xml 을 package="com.example.forutonafront" 을 이것으로 정했다고 할때에 이후에도 그래도 써야 한다. build.gradle 에서 applicationId 를 co.kr.forutonafront 식으로 해도 migration 할때 설정을 그대로 유지 해야 한다 만약에 바꿔 주면 App이 실행이 안되는 불상사가 생긴다.
androidx Migration (https://flutter.dev/docs/development/androidx-migration) 후 Flutter 를 사용하다가 flutter build apk --release 사용시에 아래와 같은 오류까 떳다. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':firebase_core:verifyReleaseResources'. > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed ..
소스 github : https://github.com/felangel/flutter_text_view_plugin 원 게시글 https://medium.com/flutter-community/flutter-platformview-how-to-create-flutter-widgets-from-native-views-366e378115b6 Flutter PlatformView: How to create Widgets from Native Views Flutter just recently got a new widget called PlatformView which allows developers to embed Android Views in the flutter widget hierarchy… medium...
vue js 에서 Rotuer 부분을 import Vue from "vue"; import Router from "vue-router"; import Home from "./views/Home.vue"; import About from "./views/About.vue"; Vue.use(Router); export default new Router({ mode: "history", base: process.env.BASE_URL, routes: [ { path: "/", name: "home", component: Home }, { path: "/about", name: "about", component: About } ] }); 위와 같이 작성 하면 아래와 같이 About.vue 에 관련된 코드가 ap..
FuterBuilder는 initState 에서 초기화 메소드가 있는것이 아니고 Widget build 단계에서 초기화 코드를 사용할수 있는 Builder 입니다. https://www.youtube.com/watch?v=ek8ZPdWj4Qo Flutter 공식 Youtube 에 나온 설명이 제일 직관 적이네요! 하지만 사용중에 버튼 click 이벤트 함수 에서 화면 갱신이 필요해서 setstate 메소드를 실행 하면 다시 builer 가 돌면서 FuterBuilder 의 future 부분(초기화) 을 실행 합니다. 그리고 다시 Widget 을 builder 의 Widget 을 그리고 이부분은 상당히 골치 거리 입니다. 왜냐하면 별것도 아닌것에 화면 갱신이 필요할때마다 초기화 코드를 실행하니까 말이죠. ..
vuex + typescript 사용 하기 vuex 를 typescript 로 사용하기 위한 라이브러리는 https://github.com/championswimmer/vuex-module-decorators championswimmer/vuex-module-decorators TypeScript/ES7 Decorators to create Vuex modules declaratively - championswimmer/vuex-module-decorators github.com 위에 오픈 소스 프로 젝트를 사용 하였습니다. vuex-module-decorators 설치는 간단히 npm install -D vuex-module-decorators 로 하면 됩니다. 자료로 작성하는 이유는 github 소개..
분산 처리 시스템에 관련되어서 궁금증을 가지게 되었던중 youtube에 생각 보다 Hadoop 의 심도 있는 한국 강의는 있지 않아서 찾게 되던중 이해하기 쉽고 심도 있는 강의가 있어 제 블로그에 기록을 남김닙니다. http://www.kocw.net/home/search/kemView.do?kemId=1174002 빅데이터분산컴퓨팅 본 과목은 빅데이터를 처리하는 시스템에 대한 공부를 한다. 인공지능 기법을 이용한 빅데이터 지식표현 방식, 빅데이터 추론 방식과 최근에 전세계적으로 각광을 받고 있는 Spark 시스템 패러다임에서 빅데이터 처리를 위한 기본적인 기계학습 이론을 학습한다. *부교재: http://ampcamp.berkeley.edu/ *참고교재: http://web.stanford.edu/cl..
TabBarView 에서 tab index 변경시 initState 안하기 위와 같이 Tab 에서 index을 움직이고 다시 원래 Index 로 돌아 오면 해당 Widget 객체가 해제 되어 다시 처음 부터 initState 부터 다시 시작 한다. 하지만 텝을 움직여도 이전 위젯상태가 남아 있으면 할때가 있다. 그때는 AutomaticKeepAliveClientMixin 을 with 로 추가 한다음 @override // TODO: implement wantKeepAlive bool get wantKeepAlive => true; 해당 함수를 override 하여 위와 같이 true 로 바꿔 주면 된다. 위와 같이 추가 하고 override 한다. 참고 자료 : https://medium.com/@die..
Spring 을 BackEnd 로 사용 하며 DB의 데이터를 가지고 올때 JSON 의 형태로 리스트로 받을때 필요하여 분석 하였습니다. 일단 기본참고 자료는 Flutter 공식 문서 입니다. https://flutter.dev/docs/development/data-and-backend/json JSON and serialization It is hard to think of a mobile app that doesn't need to communicate with aweb server or easily store structured data at some point. When makingnetwork-connected apps, the chances are that it needs to consume ..
퍼옴 : https://jsonobject.tistory.com/225 Spring Boot, MyBatis 연동으로 MySQL 데이터베이스 질의하기 먼저 읽어볼만한 글 IntelliJ IDEA에서 Spring Boot 프로젝트 생성하기 Spring Boot 프로젝트에서 Profile 적용하기 Windows 운영체제에서 MySQL 5.7.x 설치하기 데이터베이스 연결 및 질의를 위한 의존성 정보 추.. jsonobject.tistory.com 해당 자료가 직관적으로 이해하기 쉬어서 퍼옵니다.