| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
- type_traits
 - RAII
 - WebView
 - haskell
 - ranges
 - Observer
 - sprintf
 - design pattern
 - SHA1
 - AES
 - c++
 - web
 - CustomTab
 - Android
 - Functional
 - template
 - program
 - traits
 - Clojure
 - ChromeTab
 - Chrono
 - Reflect
 - kotlin
 - coroutines
 - sha256
 - go
 - stringprintf
 - Scala
 - SHA512
 - async
 
- Today
 
- Total
 
프로그래밍 검색 블로그
간단한 웹 브라우징 기능에 대해서는 WebView 대신 Chrome Tab 기능도 사용할 수 있어 소개 한다 최신 안드로이드 폰에서는 크롬이 강제적으로 설치되어 있어서 무난하게 사용할 수 있을것이다 support 라이브러리에 맞는 버젼으로 build.gradle에 추가 1implementation 'com.android.support:customtabs:28.0.0'cs 여러가지 방법으로 CustomTab을 사용이 가능하지만 몇가지 이벤트를 전달받을 수 있도록 ServiceConnection 부분으로 사용한다 123456789 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); s..
1234567891011121314151617import urllib.requestimport json""" 나오는 응답 {'success': True, 'message': '', 'result': {'Bid': 4025.00092321, 'Ask': 4026.60175655, 'Last': 4024.00915298}} Bid : 살 때, Ask : 팔 때, Last : 최근 거래 가격"""coin_address = "https://bittrex.com/api/v1.1/public/getticker?market=USDT-BTC" req = urllib.request.urlopen(coin_address)res = req.readline() j = json.loads(res)print(j["result"]..