본문 바로가기
[Android] 제대로 된 REST API 를 구축해보자. [Android] 제대로 된 REST API 를 구축해보자. reference : http://mytechaddiction.blogspot.kr/2014/02/rest-interaction-in-android.html?utm_source=Android+Weekly&utm_campaign=4254f212fb-Android_Weekly_91&utm_medium=email&utm_term=0_4eb677ad19-4254f212fb-337262377 Anti-Patterns 1. UI Thread 에서 API Call. 2. Activity 나 Fragment 등에서 Thread 를 만들어 요청 3. 결과를 Memory 에만 저장하여 사용. Decouple the UI from the http call. Act.. 2014. 3. 18.
Mini Device Lab - 여러가지 스마트 단말에서의 반응형 웹을 쉽게 확인하자 Mini Device Lab - 여러가지 스마트 단말에서의 반응형 웹을 쉽게 확인하자 여러가지 스마트( 모바일) 단말에서 반응형 웹 ( responsive web )이 어떻게 보이는지 확인하기에 좋다.앱과 구글 서버를 이용하여 구현한 것으로 보이는데,단말에 mini device lab 의 앱을 깔아서 단말을 등록하면, 구글 서버에서 어떤 메세지를 보내서 등록된 단말에서 특정 페이지를 띄울 수 있다. 일일이 refresh 를 눌러주지 않고, PC 에서 명령만 보내면 모든 단말에서 해당 페이지가 보여진다. 반응형 웹을 만들면서 테스트하기 좋은 환경이라 보여진다. Design, mini device lab, mobile device, PC, refresh, responsive web, test, [androi.. 2013. 11. 11.
[android] Browser 의 링크를 통해 내 앱 실행시키기 android, Browser 의 링크를 통해 내 앱 실행시키기 Declare Intent-filter on Manifest The activity which wants to be started has to have action name "android.intent.action.VIEW".Additionally, it has two basic category; they are android.intent.category.DEFAULT and android.intent.category.BROWSABLE.To link the url to the activity, intent-filter has to have data and it declares one or some of followings : scheme, .. 2013. 11. 6.
[Spring] Spring Framework 의 개요 #3 Spring Framework 의 개요 #3 Spring의 IoC Spring Bean ( 그냥 Bean 이라고도 부름 )Spring Container 가 생성과 관계설정, 사용 등을 제어하는 IoC가 적용된 object. Bean Factory 확장한 Application Context별도의 정보를 참고하여 Bean의 생성, 관계 설정 등의 제어작업을 총괄코드에 상세내용이 들어가는 것이 아니라 설정정보를 가진 별개의 파일(xml)을가져와 활용하는 범용 IoC 엔진 Annotation Config Application Context @ConfigurationFactory class 에 붙는 annotation @BeanObject 만들어 return 하는 method. 예제코드ApplicationCont.. 2013. 6. 27.
반응형