일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 웹뷰
- STS
- Apache Lucene
- 이클립스
- html
- scrollView
- javascript
- Bootstrap
- 자바
- Maven
- Eclipse
- 안드로이드
- asp.net
- MS-SQL
- varags
- Android
- MANTIS
- Web Service
- SpringSource Tool Suite
- 웹 서비스
- decompiler
- 컬럼명
- MSsql
- TextBox
- WebView
- C#
- Redirect
- 자바스크립트
- Java
- jsp
- Today
- Total
목록분류 전체보기 (286)
bboks.net™
아파치의 RandomStringUtils 사용 import org.apache.commons.lang.RandomStringUtils; public class RandomStringUtilsTest { int length = 10; String randomString = RandomStringUtils.random(length, true, true); System.out.println(randomString); } Maven Repositoryhttp://mvnrepository.com/artifact/org.apache.commons/commons-lang3/3.3.2 org.apache.commons commons-lang3 3.3.2 [출처] 자바 (Java)에서 랜덤 (Random) 문자열 (St..
웹뷰에 들어가는 html의 css에 다음 element 추가-webkit-user-select: none; [출처] webview no selection/copy&paste
boolean isNetworkConnectionAvailable() { ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo info = cm.getActiveNetworkInfo(); if (info == null) return false; State network = info.getState(); return (network == NetworkInfo.State.CONNECTED || network == NetworkInfo.State.CONNECTING); } [출처] How to check the network availability?
1. 플립 메소드public static final int FLIP_VERTICAL = 1; public static final int FLIP_HORIZONTAL = 2; private Bitmap flipImage(Bitmap src, int type) { // create new matrix for transformation Matrix matrix = new Matrix(); // if vertical if (type == FLIP_VERTICAL) { // y = y * -1 matrix.preScale(1.0f, -1.0f); } // if horizonal else if (type == FLIP_HORIZONTAL) { // x = x * -1 matrix.preScale(-1.0f, 1.0..