일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Unity
- public
- APP
- digitalRead
- SERIAL
- parameter
- Overloading
- mfc
- stream
- Pointer
- inheritance
- aduino
- preprocessing
- Barcode
- java
- sensor
- flutter
- memory
- Contour
- file access
- wpf
- c++
- Encapusulation
- length
- Android
- compare
- UNO
- Read
- Class
- atmega328
- Today
- Total
목록HTTP (3)
폴크(FOLC)

# 외부 명령 및 데이터를 수신한 경우 / 데이터 전달하는 경우 # InAppWebView 와 연동 처리 > 생성자에 OnCreateWindow 함수와 연결 > 옵션으로 새창을 OPEN 할 수 있도록 설정 # 소스 코드 Future onCreateNewWindow(InAppWebViewController controller, CreateWindowAction createWindowAction) async { var uri = createWindowAction.request.url; final String text = uri.toString(); final List contents = [ "http", "https", "file", "chrome", "data", "javascript", "about" ]..

# 크롤링(Crawling) / 스크레이핑(Scraping) 은 웹에 노출된 데이터를 가져와서 특정한 규칙 또는 위치의 데이터를 추출한다. # 전용 소프트웨어를 크롤러(crawler)라고 한다. # 스파이더(spider), 봇(bot)과 같은 지능형 검색엔진들도 크롤링 기법을 많이 이용한다. # 미리 입력된 방식에 따라 끊임없이 새로운 웹 페이지를 찾고 찾은 결과를 이용해 새로운 정보에 색인을 추가 1. Http Client 를 생성한다. 2. Http - Url 접속한다. 3. Http 페이지의 응답을 기다린다. 4. Http 응답이 완료되면 Json 형태의 data 를 parsing 한다.

# first work > Weather, Air Condition, Camera 1. Weather # 무료 사이트 이용 - http://api.openweathermap.org import 'package:http/http.dart' as http; String url_weather = 'http://api.openweathermap.org/data/2.5/weather?lat=$dPosX&lon=$dPosY&appid=$apiKey&units=metric'; http.Response response = await http.get(url_weather); if (response.statusCode == res_ok) return jsonDecode(response.body); 2. Air Condit..