일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- C#
- javascript
- decompiler
- 자바
- jsp
- Apache Lucene
- 이클립스
- 안드로이드
- Eclipse
- MSsql
- asp.net
- 웹뷰
- 컬럼명
- STS
- MANTIS
- html
- Android
- Web Service
- MS-SQL
- TextBox
- Bootstrap
- SpringSource Tool Suite
- WebView
- 웹 서비스
- varags
- 자바스크립트
- Redirect
- Maven
- scrollView
- Java
- 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..