Scrapbook/개발 및 프로그래밍(84)
-
네트워크에서 XML 파일 가져와 파싱하기
기상청 데이터 파싱 예 XmlPullParserFactory, XmlPullParser public class PullParserActivity extends ListActivity { ImageView conditionImage; TextView regionTextView; TextView conditionTextView; ArrayList weather = new ArrayList(); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); t..
2011.01.13 -
서버에서 이미지 불러오기
http://drkein.tistory.com/169 안드로이드에서 서버의 이미지 파일을 불러와 이미지 뷰에 붙이기 할 때.. 서버에서 이미지 불러서 비트맵 만드는 방법. /* * 느리긴 한데 안정적인 동작.. */ // public static Bitmap getRemoteImage(URL url){ // System.out.println("IMAGE LOAD ----------------------------------> 1 " + url.toString()); // Bitmap bm = null; // HttpGet httpRequest = null; // try { // httpRequest = new HttpGet(url.toURI()); // } catch (URISyntaxException ..
2011.01.13 -
Spinner 사용하기
http://blog.naver.com/kyuhgmi/40119869063 android Spinner 사용하기 this.cuisine = (Spinner) findViewById(R.id.cuisine); this.grabReviews = (Button) findViewById(R.id.get_reviews_button); ArrayAdapter cuisines = new ArrayAdapter(this,R.layout.spinner_view,getResources().getStringArray(R.array.cuisines)); cuisines.setDropDownViewResource(R.layout.spinner_view_dropdown); this.cuisine.setAdapter(cuisine..
2011.01.12 -
[Eclipse] Outline View 아이콘의 의미
Outline view The Outline view displays an outline of a structured C/C++ file that is currently open in the editor area, by listing the structural elements. Outline view toolbar icons The table below lists the icons displayed in the Outline view toolbar. Icon Description Hide Fields Hide Static Members Hide Non-Public Members Sort items alphabetically Outline view icons The table below lists the ..
2011.01.07 -
안드로이드 inflate LayoutInflater 에 관한 고찰.
http://stbaeya.com/tc/233
2011.01.06 -
기본갤러리(앨범)을 통해 사진의 EXIF Metadata 확인
http://spinell.net/20114677374 참고 사이트 public class ExifInterfaceextends Object java.lang.Object ↳ android.media.ExifInterface Class Overview This is a class for reading and writing Exif tags in a JPEG file.
2011.01.05