반응형
반응형

Eclipse SDK 4.2

Eclipse SDK 4.2 is the new platform for building Eclipse rich client applications. This new platform makes it easier for developers to develop and assemble applications based on Eclipse.

The 4.2 release is ready for consumption by both Eclipse plug-in developers and end users.

Download FAQ

http://www.eclipse.org/org/press-release/20120627_junorelease.php



반응형
반응형

JSP에서 안드로이드 아이스크림 확인하기.



String ua    = request.getHeader("USER-AGENT");

if(ua.indexOf("Android") > -1){
    int    ver_num = 0;
    String an_d_v  = ua.substring(ua.indexOf("Android"));

    try{
        ver_num = Integer.parseInt( an_d_v.substring(an_d_v.indexOf(" ") + 1, an_d_v.indexOf(".")) );
    }catch(Exception e){
        ver_num = 4;
    }

}




  if(useragent.indexOf("android 4.0") >= 0){
        payMethodDisable = true;
    }


반응형

+ Recent posts