목록전체 글 (1755)
오늘도 공부
출처 : http://blog.daum.net/haha25/5387297
안드로이드 공부하시는 분들은 자신이 만든 어플리케이션이 멋지게 작동하는걸 원하실 겁니다. 그중에하나가 에니메이션이죠. 그런데 에니메이션 하면 보통 ViewFlipper 를 많이들 생각하실겁니다. 하지만 ViewFlipper는 뷰를 컨트롤하는거지 Activity간의 에니메이션을 컨트롤하지는 않습니다. 그래서 있는것이 overridePendingTransition 입니다. 사용 예) overridePendingTransition(R.anim.push_right_in, R.anim.push_right_out); 인텐트로 넘어갈때 써주시면 됩니다. 다만 아셔야 할것이 있습니다. 이것은 안드로이드 버전과 관련이있더군요. 제가 1.5로 어플을 만드는데 처음에 이걸썻다가 오작동 혹은 오류가 뜨길래 잘못된 정보인줄 알..
http://www.anddev.org/tutorial_change_look_of_checkbox-t4553.html
File: res/layout/main.xml File: res/layout/item.xml File: res/drawable/item_selector.xml File: res/values/colors.xml #ff00 #f0f0 #f00f #ffff #f000 [출처] ListView 에서 아이템 클릭시 주황색 화면 변경하는 예제 (Jin 프로젝트) |작성자 심대
출처 : http://www.shop-wiz.com/document/android/google_map_example1 [설명] - GPS를 이용한 내위치값 받기 DDMS > Emulator Control > Location Controls > Manual(원하는 좌표값 입력후 "Send") manifest xml : 확인 이번에도 먼저 전체 소스를 보여 드리겠습니다. [설명] AndroidManifest.xml ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [설명] res/layout/main.xml ? 1 2 3 4 5 6 7 8 9 10 [설명] res/values/strings.xml ? 1 2 3 4 5 6 7 8 9 10 Hello World, Proj..
dev.paran.com/
출처 : http://cafe.naver.com/ccjmaster.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=1158& 오늘은 반복되는 배경 이미지를 만들어 보겠습니다. 간단히 말해, 이런 간단한 이미지를 가지고 패턴이 반복되는 배경을 만드는 것입니다. 생각보다 간단합니다. 보시다시피 Main Class에는 손 댈 일이 없습니다. 먼저, drawable 폴더에 xml을 하나 만들어주시구요, pattern에 사용할 이미지도 넣어주셔야겠죠? 자, 이제 background.xml을 열고 다음과 같이 작성합니다. bitmap 속성을 주셔야하는데, 이것을 대문자로 주시면 적용되지 않습니다. 마찬가지로 @drawable/pattern, 이렇게 반복시켜 줄 이미지를 선택하신 다음..
출처 : http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ Separating Lists with Headers in Android 0.9 Monday August 18, 2008 at 4:42 PM Earlier today the latest Android 0.9 SDK was released, and it’s packed full of wonderful changes. As you play around, you might see ListViews split into sections using separating headers. (Example shown on the right is the browser se..
Anyone that is in need of it .. attached here is the Motorola Atrix4G addon for the Android SDK .. also the instructions for installation and execution. http://www.mediafire.com/?73hkz09wr0l1kqe Installing and Using Motorola SDK Add-ons A Motorola SDK add-on, when added to the Android™ SDK, allows you to run and debug your applications on an emulated Motorola handset. Note that while the device ..
제작하는 한 어플리케이션에 버튼은 총 몇개나 등장할까요? 버튼의 이벤트를 등록하려면 또 똑같은 코딩을 몇번을 해야 할 지 모릅니다. 그래서 준비한 강쉪의 특별 소스. '모든 뷰를 등록하자'입니다. Android SDK는 java코딩만으로도 충분히 xml의 역할을 대신 할 수 있지만, 바로 눈으로 보이는 구조와 편리함, 연동성을 생각한다면 불가피하게 xml을 사용 할 수 밖에 없습니다. Android SDK가 1.0부터 발전을 거듭해와 현재 나온 2.2 버전까지 달라진 메소드는 없지만 사라지거나 새로 생긴것들이 많습니다. 이번 주제와도 비슷한 예를 들자면 xml의 버튼에 라고 사용하신다면 java에선 public void ClickHandler(View target){ Intent i = new Inten..
