관리 메뉴

목록mobile/Cordova (20)

이사작전.com IT Blog

[Cordova] 폰갭, 다국어 처리 방안 제안 - 2, 프론트페이지

http://doctorson0309.tistory.com/177※위 포스팅과 이어저 작성되는 포스팅입니다.아래와 같은 소스를 이용하면Cordova, index.html에서 다국어 처리를 할 수 있도록lang값을 받을 수 있습니다. Editorial by..</p> </a> <div class="detail_info"> <a href="/category/mobile/Cordova" class="link_cate">mobile/Cordova</a> <span class="txt_bar"></span> <span class="txt_date">2017.10.17 18:52</span> </div> </div> <div class="list_content"> <a href="/177?category=687522" class="thumbnail_post"><img src="//i1.daumcdn.net/thumb/C150x150/?fname=https://t1.daumcdn.net/cfile/tistory/995E1A3359E5CD692A"></a> <a href="/177?category=687522" class="link_post"> <strong class="tit_post ">[Cordova] 폰갭 다국어 처리 방안 제안, 하이브리드 앱</strong> <p class="txt_post">1. onCreate에서 다국어 페이지로 분기 처리하는 방법 public class MainActivity extends CordovaActivity{ @Override public void onCreate(Bundle savedInstanceState){ Locale systemLocale = getApplicationContext().getResources().getConfiguration().locale; String strDisplayCountry = systemLocale.getDisplayCountry(); // 대한민국 String strCountry = systemLocale.getCountry(); // KR String strLanguage = systemLocale.getLanguag..</p> </a> <div class="detail_info"> <a href="/category/mobile/Cordova" class="link_cate">mobile/Cordova</a> <span class="txt_bar"></span> <span class="txt_date">2017.10.17 16:41</span> </div> </div> <div class="list_content"> <a href="/155?category=687522" class="link_post"> <strong class="tit_post ">[하이브리드 앱] Cordova, 안드로이드 스튜디오에 import하는 방법</strong> <p class="txt_post">새 프로젝트 만들기이 시점에서 새 프로젝트를 만들 플랫폼 CLI 도구는 명령줄 인터페이스 또는 안 드 로이드 관련 셸 도구 집합 설명 사이 선택할 수 있습니다. 소스 코드 디렉토리 내 여기 CLI 접근이 이다: $ cordova create hello com.example.hello HelloWorld $ cd hello $ cordova platform add android $ cordova prepare # or "cordova build" 다음은 유닉스와 윈도우에 대 한 해당 하위 셸 도구 접근이입니다. $ /path/to/cordova-android/bin/create /path/to/new/hello com.example.hello HelloWorld C:\path\to\cordova-andro..</p> </a> <div class="detail_info"> <a href="/category/mobile/Cordova" class="link_cate">mobile/Cordova</a> <span class="txt_bar"></span> <span class="txt_date">2017.09.11 14:54</span> </div> </div> <div class="list_content"> <a href="/154?category=687522" class="thumbnail_post"><img src="//i1.daumcdn.net/thumb/C150x150/?fname=https://t1.daumcdn.net/cfile/tistory/9968033359B5E8DF22"></a> <a href="/154?category=687522" class="link_post"> <strong class="tit_post ">[Hybrid App] 버전이 높아진, Cordova 제대로 설치하기, 2017년</strong> <p class="txt_post">installation of a higher version of Cordova installed1. Node js install(Cordova command-line runs on Node.js and is available on NPM.)URL : https://nodejs.org/en/2. type npm install -g cordova.(Open a command prompt or Terminal, and type npm install -g cordova)$ npm install -g cordovawhat is UUID?universally unique identifier, UUIDDid you face an error?Refer to the link below.Reference : https:/..</p> </a> <div class="detail_info"> <a href="/category/mobile/Cordova" class="link_cate">mobile/Cordova</a> <span class="txt_bar"></span> <span class="txt_date">2017.09.11 11:14</span> </div> </div> <div class="list_content"> <a href="/102?category=687522" class="thumbnail_post"><img src="//i1.daumcdn.net/thumb/C150x150/?fname=https://t1.daumcdn.net/cfile/tistory/27079D3B58DBB4CC0F"></a> <a href="/102?category=687522" class="link_post"> <strong class="tit_post ">[해결방법] The type javax.mail.Authenticator cannot be resolved</strong> <p class="txt_post">The type javax.mail.Authenticator cannot be resolved 해결하는 방법파일 다운로드 받아서 java Build Path에 포함시켜주세요~문제가 해결되지 않거나, 궁금한 점이 있으면 댓글 남겨주세요 ^ ^감사합니다~출처 : https://java.net/projects/javamail/pages/Home#Download_JavaMail_Releasehttp://stackoverflow.com/questions/12795614/the-import-javax-mail-cannot-be-resolved</p> </a> <div class="detail_info"> <a href="/category/mobile/Cordova" class="link_cate">mobile/Cordova</a> <span class="txt_bar"></span> <span class="txt_date">2017.03.29 22:23</span> </div> </div> <div class="area_paging"> <span class="inner_paging"> <a class="btn_prev no-more-prev"><span class="ico_skin ico_prev"></span>Prev</a> <a class="link_page"><span class="selected">1</span></a> <a href='/category/mobile/Cordova?page=2' class="link_page"><span >2</span></a> <a href='/category/mobile/Cordova?page=2' class="btn_next ">Next<span class="ico_skin ico_next"></span></a> </span> </div> </div> </div> </div> <hr class="hide"> <div id="dkFoot" role="contentinfo" class="area_foot"> <small class="info_copyright"> Blog is powered by <a href="http://www.kakaocorp.com" class="emph_t" target="_blank">kakao</a> / Designed by <a href="http://www.tistory.com" class="emph_t" target="_blank">Tistory</a> </small> </div> </div> <script src="https://tistory4.daumcdn.net/tistory/1691039/skin/images/script.js"></script> <script src="//search1.daumcdn.net/search/statics/common/js/g/search_dragselection.min.js"></script> <script> lightbox.option({ "fadeDuration": 200, "resizeDuration": 200, "wrapAround": false, "albumLabel": "%1 / %2", "fitImagesInViewport":true , "stopEvent": false }) </script><script src="https://t1.daumcdn.net/tistory_admin/assets/blog/debfc911495ac31f8814482ba1ffd8f0be745a9d/blogs/plugins/RainbowLink/rainbow.js?_version_=debfc911495ac31f8814482ba1ffd8f0be745a9d" type="text/javascript"></script> <script type="text/javascript"> var _tiq = 'undefined' !== typeof _tiq ? _tiq : []; _tiq.push(['__setConfig', {enableScroll:true, enableClick:true, enableButton:true}]); _tiq.push(["__setParam", "svcdomain", "user.tistory.com"]); (function(d) { var se = d.createElement('script'); se.type = 'text/javascript'; se.async = true; se.src = location.protocol + '//m2.daumcdn.net/tiara/js/td.min.js'; var s = d.getElementsByTagName('head')[0]; s.appendChild(se); })(document); _tiq.push(['__setParam', 'param_ex', JSON.stringify({"userId":"1262006","blogId":"1691039","role":"guest","filterTarget":false})]); _tiq.push(['__trackPageview']); var addEvent = function (evt, fn) { window.addEventListener ? window.addEventListener(evt, fn, false) : window.attachEvent('on' + evt, fn); }; var removeEvent = function(evt, fn) { window.removeEventListener ? window.removeEventListener(evt, fn, false) : window.detachEvent('on' + evt, fn);}; var ua = navigator.userAgent.toLowerCase(); var isIOS = /iP[ao]d|iPhone/i.test(ua); var contentExStat = function() { _tiq.push(['__content', 't_content_ex', { 'data_type':'usage' }]); removeEvent(isIOS ? 'pagehide' : 'beforeunload', contentExStat); }; addEvent(isIOS ? 'pagehide' : 'beforeunload', contentExStat); </script> <script type="text/javascript">window.roosevelt_params_queue = window.roosevelt_params_queue || []; window.roosevelt_params_queue.push({channel_id: "dk", channel_label: 'tistory'});</script> <script type="text/javascript" src="//t1.daumcdn.net/midas/rt/dk_bt/roosevelt_dk_bt.js" async></script><script type="text/javascript">if(window.console!=undefined){setTimeout(console.log.bind(console,"%cTISTORY","font:8em Arial;color:#EC6521;font-weight:bold"),0);setTimeout(console.log.bind(console,"%c 나를 표현하는 블로그","font:2em sans-serif;color:#333;"),0);}</script><iframe style="position:absolute;width:1px;height:1px;left:-100px;top:-100px" src="//doctorson0309.tistory.com/api" id="editEntry"></iframe> <div class="#menubar menu_toolbar "> <h2 class="screen_out">티스토리툴바</h2> <div class='btn_tool btn_tool_type1' id='menubar_wrapper'></div><div class="btn_tool"> <button class="btn_menu_toolbar btn_subscription #subscribe" data-blog-id="1691039" data-url="https://doctorson0309.tistory.com" data-device="web_pc"> <strong class="txt_tool_id">이사작전.com IT Blog</strong> <em class="txt_state">구독하기</em> <span class="img_common_tistory ico_check_type1"></span> </button> </div> </div><script type="text/javascript" src="https://t1.daumcdn.net/tistory_admin/assets/blog/debfc911495ac31f8814482ba1ffd8f0be745a9d/blogs/script/menubar.min.js?_version_=debfc911495ac31f8814482ba1ffd8f0be745a9d"></script> <div class="layer_tooltip"> <div class="inner_layer_tooltip"> <p class="desc_g"></p> </div> </div><div id="tistoryEtcLayer" class="layer_post"></div><div id="tistorySnsLayer" class="layer_post"></div></body> </html>