본문 바로가기

반응형

프로그래밍

(23)
구글 날씨의 대안책~!!! 구글 날씨가 막히고 나서..... 국내 및 해외 날씨까지 지원하는 api가 없어 찾던 중 http://openweathermap.org/ 아래 사이트 확인..... http://openweathermap.org/API 라이센스 관련We are open for partnershipAbout OpenWeatherMapOpenWeatherMap is startup that offers free current weather data, forecasts and history data to the developers of web-services and mobile applications. As a data source it uses official meteorological broadcast services, ra..
EditText 포커스 뒤쪽으로 위치하기 EditText 에서 setText()를 하면 포커스가 제일 앞에 오게 된다.... 제일 뒤로 가게 하자.... et_message.setText(mPost_screen_name); //커서위치 제일 마지막으로 이동 Editable etext = et_message.getText(); Selection.setSelection(etext, etext.length());
Location of the Android SDK has not been setup in the preferences android sdk를 업데이트 하고 eclipse를 실행해 보니 아래와 같은 에러가....... 이것 또 무슨 조화인가????? Location of the Android SDK has not been setup in the preferences eclipse [Window] - [Preferences] 경로를 보니....... adb를 찾을 수 없단다......쩝...... Eclipse의 [Help]-[Check for Updates] 를 해주고 나니..... 정상적으로 구동되어 진다......
Can't create handler inside thread that has not called Looper.prepare() UI 쓰레드가 아닌 일반 쓰레드에서 UI 작업처리를 위해 new Handler() 를 통해 Handler를 사용할 경우 아래와 같은 에러가 발생합니다. java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() http://stackoverflow.com/questions/6369287/accessing-ui-thread-handler-from-a-service I believe this snippet of code constructs a Handler associated with the main (UI) thread:Handler handler = new Handler(Looper.g..
이미지의 Orientation를 체크해서 이미지 회전하기 출처 : http://snowbora.com/428안드로이드에서 단말기 내부의 사진을 ImageView 등에 출력할 때, 이미지가 가로 방향인지 세로 방향인지 체크해서 적절하게 회전시켜서 보여주는 함수입니다.이미지의 Orientation 정보를 얻는 함수입니다.view sourceprint?01.public synchronized static int GetExifOrientation(String filepath)02.{03.int degree = 0;04.ExifInterface exif = null;05. 06.try07.{08.exif = new ExifInterface(filepath);09.}10.catch (IOException e)11.{12.Log.e(TAG, "cannot read exif..
안드로이드 SMS Content URI - 삼성 갤럭시 시리즈 - content://com.sec.mms.provider/message갤럭시 A - content://com.btb.sec.mms.provider/message - LG content://com.lge.messageprovider/msg - Default content://sms SourceUri smsUri = Uri.parse("content://sms");ContentResolver cr = getContentResolver();Cursor cursor = cr.query(allMessage, null, null, null, null); AndroidManifest.xml 상세내용content:// sms 전체 content:// sms/all 전체 content:// sm..
xml 특수문자 치환 string.xml 특수문자는 entity number 또는 entity name으로 변환하여 작성한다. Character Entity Number Entity Name Description " " " quotation mark ' ' ' (does not work in IE) apostrophe & & & ampersand > > greater-than
안드로이드 게임엔진 Open Source Android Apps for Developers: jMonkeyEngine (Java Based 3D Game Engine) Ten Open Source Android (2D or 3D) Game Engine for Android Developers Open Source Android Apps for Developers: YoghurtGum (Android Game Engine) Open Source Android Apps for Developers: Android-2D-Engine (Android Game) Open Source Android Apps for Developers: Catcake (Android Game Engine) Open Source Android Apps f..

반응형