분류 전체보기(864)
-
iOS8에서 UIAlertView deprecated 되었음
그동안 잘써왔던 UIAlertView가 iOS에서 deprecated 되었다.UIAlertController와 UIAlertAction을 이용하여 구현하도록 변경되었으니 참고하자. //Step 1: Create a UIAlertController UIAlertController *myAlertController = [UIAlertController alertControllerWithTitle:@"MyTitle" message: @"MyMessage" preferredStyle:UIAlertControllerStyleAlert ]; //Step 2: Create a UIAlertAction that can be added to the alert UIAlertAction* ok = [UIAlertAction..
2016.04.18 -
ESP8266 펌웨어 업데이트 성공기
처음에 구입해온 ESP8266 모듈을 아두이노와 연동하여 사용하려면 먼저 펌웨어 업데이트가 필요하다고 해서, 아두이노와 ESP8266 모듈만으로 펌웨어 업데이트를 시도했다. 충분히 가능한 방법이 있는 것 같아서 수도 없이 시도해보았지만, 결국 실패.관련 레퍼런스를 계속 살펴보다보니, ESP8266은 아두이노 자체의 3.3v 출력만으로는 정상 동작이 안된다고 해서 3.3v/5v를 선택하여 출력해주는 power module을 "동신전자"에서 따로 구입해서 ESP8266의 VCC와 CH_PD에 연결해주고 다시 펌웨어 업데이트를 시도했지만, 역시나 실패.아두이노를 통해서 전원 공급을 하지는 않지만, 아두이노의 Rx와 Tx에 연결하여 시리얼 통신으로 펌웨어 업데이트를 하려고 했는데 이 방법도 문제가 있는지 몰라서..
2016.04.16 -
Remote Notification (Silent Push Notification) 관련 레퍼런스
Multitasking in iOS 7 : Background Fetch, Remote Notification, Background Transfer Servicehttp://meetkei.com/?p=2557 iOS Silent Push notifications http://hayageek.com/ios-silent-push-notifications/ *** Silent Push notification (Remote Notification) 구현방법http://grandbig.github.io/blog/2014/02/22/silentremotenotification/http://blog.naver.com/PostView.nhn?blogId=newyorkinms&logNo=220526394264http:/..
2016.04.15 -
iOS 비콘 연동 관련 레퍼런스 모음
NORDIC 공식 홈페이지에는 iOS, Android를 지원하는 훌륭한 예제 소스를 제공한다. 아주 멋진 기업이다~! https://www.nordicsemi.com/Products/Nordic-mobile-Appshttps://github.com/NordicSemiconductor/IOS-nRF-Beaconshttps://github.com/NordicSemiconductor/IOS-DFU-Libraryhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox --> 결정적인 샘플 소스!!!! (강추) CLBeaconRegion과 CLLocationManager를 이용하여 비콘 감지를 하는 예제 --> 다 좋은데, 감지가 안되는 비콘이 있음http://digita..
2016.04.15 -
안드로이드 앱 프로세스 강제 종료
완벽하게 종료되지는 않지만 (백그라운드에 남아있음, 대신 실행시 onCreate를 호출하기 때문에 큰 문제는 없어 보임) 그나마 참고할만한 레퍼런스를 찾았다. https://blog.asamaru.net/2015/12/15/android-app-finish
2016.04.09 -
Mac에서 ESP8266 펌웨어 업데이트하기
ESP8266 펌웨어 업데이트는 필수인듯하다 sudo easy_install pip sudo pip install pyserial sudo ./esptool.py --port /dev/tty.usbmodem14111 write_flash 0x00000 v0.9.2.2ATFirmware.bin * 아두이노 우노만으로 ESP8266 펌웨어 업데이트가 안된다!?http://paeton.tistory.com/entry/%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8-UNO%EB%A7%8C%EC%9C%BC%EB%A1%9C-ESP8266-%ED%8E%8C%EC%9B%A8%EC%96%B4-%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8-%ED%95%98%EA%B3%A0-WIFI-%..
2016.04.07