Category: Develop

  • WebView File Upload Over Kitkat

    Android over kitkat doesn’t work WebChromeClient openFileChoose Input type file click event call android method that start file select (ex : gallery) Get Selected file path Upload file to server return file path that uploaded server Submit Form with File Upload Sucess message (ex : server uploaded path) Call Android Method openFileChoose JavascriptInterface JavascriptInterface.java Receive […]

  • Setup PPTP Server on CentOS

    Setup PPTP VPN Server on CentOS7 with Firewalld Setup pptp, pptpd VPN IP config vi /etc/pptpd.conf Add VPN User vi /etc/ppp/chap-secrets Add DNS Server and disable mppe-128 vi /etc/ppp/options.pptpd Service pptpd restart Setup forwarding Firewalld configuration Add Service Reference How To Setup Your Own VPN With PPTP How To Install PPTP VPN On Centos 7 […]

  • get Url base Url + ContextPath

    ${pageContext.request.scheme} : http ${pageContext.request.serverName} : localhost ${pageContext.request.serverPort} : 8080 ${pageContext.request.contextPath : contextPath

  • Reflect invoke getMethods toString

    Using java reflect invoke getMethods toString

  • jQuery Selector find equal something

    Using jQuery each find something Using jQuery selector attribute find something

  • CSS Web font

    css apply web font @font-face apply Google Web font

  • Version Control Ignore

    How to set property vcs ignore IntelliJ project right click Subvesion Set Property Choose svn:ignore Add ignore list Eclipse Project right click Team Set property Choose svn:ignore Add ignore list folder/file right click add ignore

  • Using javascript userAgent conditional css & javascript

    IE 10 버전 이상에서 부터는 IE에서 종전에 지원해주던 conditional comment를 지원하지 않는다. 그렇기 때문에 이에 대한 해결을 script를 통해서 해결을 해야한다. javascript에서 userAgent를 통해서 이 부분을 해결을 할 수 있다. UserAgent 자바스크립트에서 사용자의 브라우저 정보 등을 확인 할 수 있는 속성이다. 자세한 정보는 w3schools에서 확인이 가능하다. Navigator userAgent Property

  • Checkbox Custom Image

    How to change checkbox default image only chrome broswer

  • Android System Application Install And Uninstall

    How to android system app install and uninstall system app remove adb shell mount adb remount adb shell rm /system/app/[apk name] adb uninstall [package name] system app install adb shell mount adb remount adb push [local setup apk path]