목록전체 글 (1730)
오늘도 공부
Android... 멈추지 않는 변화 [Intro] SDK 1.5 R1 버전이 발표된지 꽤 오래전 일입니다만, 무슨 바람이 들었는지 몰라도 재빨리 바뀐 부분을 캐치했어야 하는데 그러지 못했습니다. 이제서야 부랴부랴 Android Development Tool도 뭔가 바뀌어 버린것을 알았고, SDK들도 뭔가 바뀌어 버린 것을 알았습니다. 이전에 만들어 두었던 프로젝트들도 1.5버전에 맞추어서 실행 하려던 찰나... 아차! 이게 뭡니까... AbsoluteLayout is deprecated 아... 이렇게 허망하게 없애 버리다니... 없애는게 이해가 안가는것은 아닙니다. 디바이스마다 화면이 다르니 절대 좌표로 박으면 호환성 유지가 안되는건... 뭐 충분히 생각 할 수 있는 부분입니다. 그냥 이번에 1.5버..
출처 : http://stackoverflow.com/questions/3693234/custom-imageview-with-drop-shadow Custom ImageView with drop shadow up vote3down votefavorite 6 Okay, I've been reading and searching around, and am now banging my head against the wall trying to figure this out. Here's what I have so far: package com.pockdroid.sandbox; import android.content.Context; import android.graphics.Canvas; import android...
http://stackoverflow.com/questions/3748568/how-can-i-launch-androids-email-activity-with-an-attachment-attached-in-the-emai http://stackoverflow.com/questions/2264622/android-multiple-email-attachment-using-intent-question http://blog.blackmoonit.com/2010/02/filebrowser-send-receive-intents.html public static void email(Context context, String emailTo, String emailCC, String subject, String emai..
출처 : http://sdw8001.tistory.com/5 리소스에서 bitmap을 읽어오고 화면에 출력한 후 touch를 이용해서 drag하는 예제 package com.jjihun.bitmaptest; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Rect; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.View;..
C2DM과 Notification 사용시 막히는 부분이 있어서 이렇게 질문 드립니다. 01.public class C2dm_BroadcastReceiver extends BroadcastReceiver { // -------- 1번 02. 03.NotificationManager mNotiManager; 04.public static String registration_id = null; 05.static String c2dm_name = ""; 06.static String c2dm_msg = ""; 07. 08. 09.public void onReceive(Context context, Intent intent) { 10. 11.mNotiManager = (NotificationManager)getS..
출처 : http://www.ibm.com/developerworks/opensource/library/x-android/index.html Working with XML on Android Build Java applications for mobile devices Michael Galpin, Software architect, eBay Michael Galpin is an architect at eBay. He is a frequent contributor to developerWorks and has also written for TheServerSide.com and the Java Developer's Journal, as well as his own blog. He has been progra..
출처 : http://www.cyworld.com/prizm0911/3284619 아래 xml파일을 res/values 에 생성. 1.-------------------------------------------------------------------------------------------- color.xml #959ca4 #646d79 #959ca4 #646d79 #686e77 #40474f #00000000 2.-------------------------------------------------------------------------------------------- 아래 xml파일을 res 에 해당 drawable 에 생성. 여기서는 위 1 번에서 설정된 색을 가져와서 셋팅하게됩니다...
SimpleCursorAdapter와 spinner 연결시 getSelectedItem() android by 왕새우 2010/11/26 18:00 daeha.egloos.com/1139323 덧글수 : 0 출처 : http://daeha.egloos.com/1139323 ★ 현상 SimpleCursorAdapter와 spinner 연결해서 사용할 경우 Spinner.getSelectedItem()을 하면 Cursor가 넘어온다. 정확하게 말하면 SQLiteCursor... Cursor에 들어있는 값을 가져오고 싶은데 어떻게 해야하나요? ★ 해결 ((SQLiteCursor)spinner.getSelectedItem()).getString(1) 존나 촌스럽고 더티하다 -_-;; 하지만 일단되니 뭐... 좀..
안드로이드 차트Chart (Graph)관련(/www.androidpub.com) 안드로이드 2010/05/01 14:51 http://blog.naver.com/chullin/130085283285 상용 aiCharts http://www.artfulbits.com/Android/aiCharts.aspx 상용 차트입니다. 갤러리 - http://www.artfulbits.com/Android/gallery/galleryCharts.aspx 우크라이나 회사 같습니다. 미국에서도 영업합니다. 온라인 결재 299달러 시작 오픈소스 achartengine http://code.google.com/p/achartengine/ 현재도 계속 개발중입니다. 종류 line chart area chart scatter c..
@Override public void update(Observable observable, Object data) { // database changed runOnUiThread(new Runnable() { @Override public void run() { stopManagingCursor(cursor); dbAdapter.close(); dbAdapter.open(); cursor = getAccounts(); startManagingCursor(cursor); adapter.changeCursor(cursor); } }); }