기본 콘텐츠로 건너뛰기

mac svn this client is too old to work with working copy

executng ant task svn  < target name = "svnversion" >     < exec executable = "svnversion" outputproperty = "svnversion" />     < echo message = "SVN Version: ${svnversion}" /> </ target > ------------------------------------------------------------------------ svnversion :      [ exec ] Result: 1      [ echo ] SVN Version: svn: E155021: This client is too old to work with the working copy at      [ echo ] '/Users/hongsangbeom/Documents/workspace-kjb/OrchestraFrameworkAndroid_kjb' (format 31).      [ echo ] You need to get a newer Subversion client. For more details, see      [ echo ]   http://subversion.apache.org/faq.html#working-copy-format-change os: osx svn client too old, i should update svn client. svn --version -------------------------------- svn, version 1.7.19 (r1643991) t...

allow ajax header in Android webview and ios uiwebview

my application is hybrid app. both android and ios works. local contents is loaded in apps. and add additional headers ajax server call. In my work around , server modification not allowed. local-content ajax add header. (ref http://stackoverflow.com/questions/3258645/pass-request-headers-in-a-jquery-ajax-get-call ) $ . ajax ({ url : "/test" , headers : { "X-Test-Header" : "test-value" } }); Android webview setting ( ref : http://stackoverflow.com/questions/8648616/webview-javascript-cross-domain-from-a-local-html-file ) Initialize your WebView: WebView _webView = ( WebView ) this . findViewById ( R . id . id_of_your_webview_in_layout ); get WebView settings: WebSettings settings = _webView . getSettings (); set following settings: settings . setJavaScriptEnabled ( true ); settings . setAllowFileAccessFromFileURLs ( true ); //Maybe you don't need this rule settings . setAllowUniversalAccessFromFileUR...

install eclipse jslint plugin

1.install adt plugin Download the ADT Plugin To add the ADT plugin to Eclipse: Start Eclipse, then select  Help  >  Install New Software . Click  Add , in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the  Name  and the following URL for the  Location : https : //dl-ssl.google.com/android/eclipse/ Note:  The Android Developer Tools update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS. Click  OK . In the Available Software dialog, select the checkbox next to Developer Tools and click  Next . In the next window, you'll see a list of the tools to be downloaded. Click  Next . Read and accept the license agreements, then click  Finish . If you get a security warning saying that the authenticity or validity of the software can't be established, click  OK . When the installation completes, restart Eclipse. 2. Phone...

지니모션 강좌 1강 - 지니모션 소개

지니모션이란? 지니모션은 virtual box에서 만들어진 vm을 실행시켜주는 로더의 개념이다. 즉 virtualbox 로 만들어진 안드로이드 가상 머신을 실행시켜주는 로더인 샘이다. 위 화면이 실행화면입니다. VirtualBox 에서 보면 지니모션 vm이 보입니다. 안드로이드를 virtualbox 에 올릴려면 하드웨어 구성부터 리눅스 설치 안드로이드 설치등의 과정을 거쳐야 하는데, 지니모션은   제조사부터 화면 사이즈까지 설정이된 완성본 vm 다운로드를 제공합니다. 안드로이드 개발시 다양한 단말을 하나씩 구동시켜 보면서 화면 사이즈를 봐야 하는데 이런면에서 지니모션의 활용도는 높다고 볼 수 있습니다.

android widget image guide

4X2 사이즈 입니다.  한 셀   MDPI  32  x  32  px HDPI 48 x 48 px XHDPI 64 x 64 px 1. 4X1 위 한줄   MDPI  32*4   x  32  px HDPI 48*4 x 48 px XHDPI 64*4 x 64 px 2. 1X1 개별 아이콘    MDPI  32  x  32  px HDPI 48 x 48 px XHDPI 64 x 64 px drawable-mdpi 32X32 drawable-hdpi 48X48 drawable-xhdpi 64X64

android webview onPageFinished javascript life cycle

*고려 사항 현재 프로젝트는 onResume후에 webview가 실행된 후 webview에 javascript를 호출 해야 하는 상황이다. 인텐트로 갈때 => 1. 처음이면 onPageFinished 에서 호출   1.1 홈스크린 아이콘에서 실행      onCreate -> onStart -> onResume   1.2 다른앱이나 위젯에서 intent 바로 실행 2. 백그라운드 실행 상태일때 다시 앱전환 되면 중지 되었다 갈때 onPause -> onStop -> onRestart -> onResume onPause -> onResume onResume에서 처리 해야 함 고찰 결과 onPageFinished ================================ if ( mIsFirst == true ){         doSomething();         mIsFirst = false ; } @Override     protected void onResume() {         super .onResume();         Log.i( TAG , "onResume" );         if ( mIsFirst == false ){               doSomething();         }              } * reference http://stackoverflow.com/ques...