본문 바로가기
[android] tv 앱 기본설정 [android] tv 앱 기본설정 - Intent-Filter 의 category 가 android.intent.category.LEANBACK_LAUNCHER 로 설정되어야 TV에서 아이콘이 나오게 된다. - style 의 경우 @style/Theme.Leanback 을 사용하거나 이것을 상속한 녀석을 사용해야 한다. @style/theme.leanback, Android, android.iintent.category.LEANBACK_LAUNCHER, basic setting, Category, intent-filter, setting, style, Theme, theme.leanback, tv app, tv 아이콘, tv 앱, [android] tv 앱 기본설정, 기본 설정, 안드로이드, 테마 2015. 12. 4.
Android StrictMode Android StrictMode 출처http://code.tutsplus.com/tutorials/android-best-practices-strictmode--mobile-7581http://developer.android.com/reference/android/os/StrictMode.html - android strict mode 는 2가지 category 가 있다. 하나는 thread policy 이고 다른 하는 VM policy 이다. - Thread policy 는 다음과 같은 것들을 monitoring 한다. disk read disk write network access custom slow code - VM policy 는 다음과 같은 것들을 monitoring 한다. Leaked ac.. 2015. 6. 26.
Objective-C 고급 ( Advanced Objective-C ) Objective-C 고급 ( Advanced Objective-C ) 출처 : http://www.tutorialspoint.com/objective_c/objective_c_classes_objects.htm > - class 는 @interface 와 @implementation 의 두 파트로 나뉘어 정의된다. - 대부분이 objects 를 상속한다. - objects 는 메세지를 받기 때문에 receiver 로 불리기도 한다. - Properties 는 다른 class 에서의 access 를 접근하도록 도와준다. - ex) @interface Box:NSObject { double length; double breadth; } @property(nonatomic, readwrite) double .. 2015. 6. 18.
[Android] activity-alias 태그를 사용하는 좋은 예. [Android] activity-alias 태그를 사용하는 좋은 예. 런처는 기본적으로 intent-filter 의 category 가 android.intent.category.LAUNCHER 로 등록된 녀석의 Activity Name 을 shortcut 과 mapping 시켜서 바탕화면에 바로가기 아이콘을 생성한다.( 기본적인 것으로 모든 런처 구현이 그렇다는 것은 아니다. ) 그래서 만약에 업데이트를 하면서 category LAUNCHER 로 지정했던 녀석의 이름이 바뀌게 되면,런처 구현에 따라 다르지만 보통 바로가기가 삭제되거나 혹은 아이콘은 존재하지만 "존재하지 않는 앱입니다." 와 같은 메세지를 보이며 연결이 제대로 되지 않는다. 그냥 기존의 바탕화면 아이콘을 제거하거나, 모든 프로그램에서 .. 2014. 6. 6.
[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.
[android] Intent Filter 를 이용하여 link 처리하기. 안드로이드, Intent Filter 를 이용하여 link 처리하기. 간혹가다 보면, 일반 url 을 클릭했을 뿐인데 Google Map Activity 가 뜨는 것을 본 적이 있을 것이다. 분명 link 를 클릭했다면 브라우저가 떠야 하는데 말이다. 사실 브라우저가 해당 link 를 처리하는 것보다는 Map App 에서 처리하는 것이 훨씬 효율적이라는 것은 모두가 공감할 것이다. 그럼 특정 상황 & link 에 대해서 앱이 이를 처리하게 하려면 어떻게 해야할까? 답은 제목에서도 알 수 있듯이 intent filter 를 이용하여 처리할 수 있다. 위와 같이 BROWSABLE 로 category 를 두어 link 를 가로챌 수 있도록 해주고, data 에 scheme, host, pathPrefix 등을.. 2013. 9. 19.
Cable, CAT ( category, 카테고리 ) 이야기. Cable, CAT( category, 카테고리 ) 이야기. utf, ftp, stp 가 뭔지 궁금하면 여기를 클릭. 케이블들은 구성방식에 따른 성능에 따라 CAT ( Category, 카테고리 ) 로 나눈다. CAT1전화에 사용되는 UTP 형태의 케이블. 음성의 경우 품질이 우수하지만, 통신에는 좋지 않다. 따라서 저속통신만 가능하다. ( 이전의 모뎀 ) CAT24Mbps 의 데이터 전송 가능. CAT310Mbps 의 데이터 전송 가능. 현재 대부분의 전화선이 CAT3 이다. CAT416Mbps 의 데이터 전송 가능. CAT5100Mbps 의 데이터 전송 가능. ADSL 부터 지금까지 사용되는 대부분의 랜선(랜 케이블)이 이 CAT5 형태이다. 총 8가닥의 선 중 4가닥은 데이터 전송용으로, 나머지 4.. 2013. 8. 13.
반응형