본문 바로가기

전체 글549

Android - webPage 띄우기 / Developing Android App 안드로이드에서 WebPage 띄우기Developing Android App 1. 호출할 웹페이지 url 을 가져온다.2. Uri 타입으로 파싱!!3. 웹 페이지 가능한 애플리케이션 호출 12345678String url = "http://www.naver.com";Uri uri = Uri.parse(url);Intent intent = new Intent(Intent.ACTION_VIEW, uri);// 암시적 인텐트를 받을 수 있는 앱이 기기에 없을 경우, 여러분의 앱이// startActivity()를 호출하면 작동 중단되기에 인텐트를 수신할 앱이 있는지를 먼저 확인if (intnet.resolveActivity(getPackageManager()) != null) { startActivity(int.. 2017. 3. 7.
Android - Intent에 관해서 / Developing Android App / 공부내용 복기 안드로이드는 Intent 라는 메세지 객체를 통해서 Activity 간의 통신을 가능하게 한다. class 이름을 활용해서 바로 Activity 를 이동하는 대신 Intent 를 이용해서 이동하는 이유는 정보를 담아서 보낼 수 있기 때문이다.새로운 Activity 가 가질 정보를 전달받을 수 있다 2017. 3. 6.
Android - Adapter 의 역활 Android - RecyclerView 에서 Adapter 의 역활 The adapter does create ViewHolder objects and inflates item views in its onCreateViewHolder function, it also returns the number of items in the data source, and binds data from the data source to each item (even if we pass the responsibility to the ViewHolder). It doesn't cache views associated with each item (that's the job of the ViewHolder class) nor d.. 2017. 3. 4.
도전이라는 결정을 어떻게 내려야하는가? 사람들과 얘기하다가 결정에 관한 얘기를 하다보면그 사람의 결정이 위험할것 같기에, 회패해야 한다고 느낄때가 종종 있었다. 그러나 결과가 나오고, 결과가 멋진게 나올때그 사람의 선택이 대담했고 현명했던 선택으로 바뀐다. 위험회피 와 도전은 어떻게 결정되어져야 할까?차이를 결과론적로만 바라볼 수는 없다. 어떻게 생각하고 바라봐야 하는가? 위험의 산정과 도전이라는 결정은 어떻게 이루어질까? 2017. 3. 3.
Android - URL 생성 / Developing Android Apps 수업 Android - URL 생성 / Developing Android Apps 수업 Android 에서 기본 라이브러리만 사용해서 URL 생성하는 방법기본적으로 Android 는 URI.builder framework class 를 이용해서 어려움 없이 잘 짜여진 URI 생성을 돕는다. 1234567891011121314151617181920212223public static URL buildUrl(String query) { Uri builtUri = Uri.parse("https://andfun-weather.udacity.com/staticweathe") .buildUpon() .appendQueryParameter("q", query) .appendQueryParameter("mode", "json.. 2017. 3. 3.
공부 - Developing Android App Developing Android App 공부를 시작한다. 기본적으로 5주 과정이기에 3주를 목표로 시작한다.새로운 한주를 새로운 마음과 공부 과정으로 시작한다. 2017. 2. 27.