본문 바로가기
반응형

Development80

History and Dashboards 1. 모르고 지나가기 쉬운 안드로이드 역사!- http://en.wikipedia.org/wiki/Android_version_history 2. 안드로이드 관련 현재 시장 분포도.- http://developer.android.com/about/dashboards/index.html 2013. 5. 13.
android background에 있는 app, foreground로 올리기 이 방법에 대해 말하기 전에 기본적으로 android activity와 task에 대해 간단한 이해를 하고 있어야 한다.android에서 activity란 app을 구성하고 있는 가장 기본적인 화면으로 텍스트, 이미지, 버튼 등으로 구성되며 한화면을 차지한다.한개의 app은 여러개의 activity로 구성될수 있는데 activity들을 여러개 실행하게 되면 stack 형식으로 관리하게 되는데 이것을 task라 부른다.(또는 Activity stack)그리고 제일위에 있어 화면에 보일수 있는 Activity를 topActivity라 부른다.간단히 그림으로 보면 다음과 같다.이제 본론으로 들어가면 (원하는 app의 package 명을 알고 있어야 한다.)우선 실행되고 있는 app 정보들을 불러오는것이 필요하.. 2013. 5. 7.
What is the defference between Integer.parseInt and Integer.valueOf parseIntpublic static int parseInt(String s) throws NumberFormatExceptionParses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value. The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments.. 2013. 5. 1.
안드로이드 아이콘 count badge를 달아보자! 삼섬 런처에서만 된다는 소리가 있어 사용시 확인이 필요하다~! int badgeCount = 0; Intent intent = new Intent(“android.intent.action.BADGE_COUNT_UPDATE”); intent.putExtra(“badge_count”, badgeCount); // 메인 메뉴에 나타나는 어플의 패키지 명 intent.putExtra(“badge_count_package_name”, getComponentName().getPackageName()); // 메인메뉴에 나타나는 어플의 클래스 명 intent.putExtra(“badge_count_class_name”, getComponentName().getClassName()); sendBroadcast(inte.. 2013. 4. 3.
반응형