Author: 떠돌이개발자

Android

Binary XML file line #2: invalid drawable tag oneshot

Fatal Exception: java.lang.RuntimeException Unable to start activity ComponentInfo{com.ment/com.ment.StatusActivity}: android.view.InflateException: Binary XML file line #57: Error inflating class android.widget.ImageViewandroid.app.ActivityThread.performLaunchActivity (ActivityThread.java:2118)android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2143)android.app.ActivityThread.access$700 (ActivityThread.java:140)android.app.ActivityThread$H.handleMessage (ActivityThread.java:1237)android.os.Handler.dispatchMessage (Handler.java:99)android.os.Looper.loop (Looper.java:174)android.app.ActivityThread.main (ActivityThread.java:4952)java.lang.reflect.Method.invokeNative...
Java

[SPRING+JSP] 파일 업로드 샘플 예제 코드

스프링 환경에서 파일 업로드 기능을 구현하는 예제코드이다. [fileUploader.jsp] <%@ page contentType="text/html;charset=UTF-8" %> <%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="./lib/external/common/jquery-3.1.1.min.js"></script> <script> jQuery(document).ready(function() {...
Android

안드로이드 Format string XXX is not a valid format string so it should not be passed to String.format 오류 처리 방법

Caused by java.util.UnknownFormatConversionException Conversion: java.util.Formatter$FormatSpecifierParser.unknownFormatConversionException (Formatter.java:2306) java.util.Formatter$FormatSpecifierParser.advance (Formatter.java:2300) java.util.Formatter$FormatSpecifierParser.parseConversionType (Formatter.java:2379) java.util.Formatter$FormatSpecifierParser.parseArgumentIndexAndFlags (Formatter.java:2350) java.util.Formatter$FormatSpecifierParser.parseFormatToken (Formatter.java:2283) java.util.Formatter.doFormat (Formatter.java:1071) java.util.Formatter.format (Formatter.java:1042) java.util.Formatter.format (Formatter.java:1011) java.lang.String.format (String.java:1999) java.lang.String.format (String.java:1973) ddolcatmaster.mypowermanagement.TTSActivity$2.onProgressChanged...
error: Content is protected !!