전체 글 썸네일형 리스트형 (Android Studio) android:layout_weight 쓸 때 같이 써줘야 하는 것 android:layout_weight을 쓰려면?? (.xml 파일) 본체에 아래를 추가해준다. 물론 android:orientation="horizontal" 도 가능! android:orientation="vertical" 더보기 flag counter 방문국가 보기 사이트 http://s09.flagcounter.com/flagcounter.cgi 사이트 및 블로그 번창하시길.. 더보기 (Android APP) Visit My App - Counting Source 더보기 (Android Studio) 웹뷰 - 새창 아니게 본 창에 열기, 자바스크립트 허용하기 출처 : http://playgroundblog.tistory.com/185 setContentView(R.layout.activity_main); WebView webview = (WebView)findViewById(R.id.webview); webview.setWebViewClient(new WebViewClient()); // 새창열기 없이 웹뷰내에서 다시열기 WebSettings webSettings = webview.getSettings(); webSettings.setJavaScriptEnabled(true); // 자바스크립트 허용 webview.loadUrl(launchUrl); 더보기 (Android Studio) 리스트뷰 리스트 뷰 출처 : http://ankyu.entersoft.kr/Lecture/android/dialog_02.asp 더보기 (Javascript) 문자열 추출 출처 : http://squll1.tistory.com/13 출처 : http://otep.tistory.com/18 var results = results.lastindexof('http://'); 이러면 results에 숫자가 들어가짐. 더보기 (Android Studio) 안드로이드 홈키버튼과 같은 효과 내기 출처 : http://theeye.pe.kr/archives/1298 설명 Intent intent = new Intent(); intent.setAction("android.intent.action.MAIN"); intent.addCategory("android.intent.category.HOME"); intent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | Intent.FLAG_ACTIVITY_FORWARD_RESULT | Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); startActivity.. 더보기 (Android Studio) 어플리케이션 버전 확인 어플리케이션 버전 확인 영감을 얻은 문장 String.valueOf(android.os.Build.VERSION.SDK_INT) --- http://surplusguy.blogspot.kr/2015/02/os-os.html android.os.Build.VERSION.SDK_INT 로 SDK 버전을 가져올수 있다 버전코드 : Build.VERSION_CODES 참조 >> 출처: https://developer.android.com/reference/android/os/Build.VERSION_CODES.html 예제)if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) { //단말기 OS버전이 젤라빈 버전 보다 작을때.....처리 코드}else{ //.. 더보기 이전 1 ··· 25 26 27 28 29 30 31 ··· 54 다음