2017의 게시물 표시

김어준 뉴스공장 MB 돈 찾기 계모임

이미지
김어준 뉴스공장 MB 돈 찾기 계모임 "플랜다스의 계" = Plan + DAS + 계 안홍구 전 대구국세청장 다스주매입 국민운동 벌이고 있습니다. 헐~ 다스 한주가 백 40만원 쪼개고 쪼개서 시민이 참여하는 계모임 "플랜다스의 계" 참여해주십시오~ http://showmethemoney.or.kr/ 저는 이렇게도 참여 했습니다. 앱에다 다스는 누구겁니까 넣었습니 다. https://play.google.com/store/apps/details?id=gotopark.buster.lottogen

적폐청산 로또 발생기

이미지
https://youtu.be/eDgiQweNoVk https://play.google.com/store/apps/details?id=gotopark.mdct.lotto Godot 2.14 로 만든 로또 발생기

libgdx android with desktop with run app

이미지
어플리 케이션으로 등록 하는 방법 이경우 asset 경로가 desktop 과 안드로이드 경로의 상태적 위치 차이로 에러 난다. 안드로이드 스튜디오 데스크탑 런처 설정 아래는 그래들 에서 desktop:run 으로 실행 하면 상대적 경로를 그래들에서 해결해 주는듯 하다. 아래 것을 추천 한다.

godot goople play store 릴리즈 키 관련 내용

이미지
godot goople play store 릴리즈 키 관련 내용 release : your debug.keystore and keystore.jks release User : key aliase release : keystore passowrd

[Solved] Error:Execution failed for task Unable to merge dex .에러 대처법

안드로이드 스튜디오 에서 다음과 같은 에러 발생시 안드로이드 스튜디오에서는 알수 없는 에러가 발생 할때가 많다. 그래서 여기 하나 소개 한다. [대처법] Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 그레들에 다음 라인을 추가 하면 에러가 해결된다. your gradle add this line android { defaultConfig { multiDexEnabled true } } finally Solved 해결

intent

이미지

atomic game engine linux build

이미지
git clone --recursive https://github.com/AtomicGameEngine/AtomicGameEngine sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update sudo apt-get install build-essential cmake nodejs libgtk-3-dev libasound2-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev sudo apt-get install referenceassemblies-pcl mono-devel mono-complete monodevelop .bashrc export ANDROID_NDK=/home/users/Android/Sdk/ndk-bundle/ export EMSCRIPTEN=/home/users/Android/emsdk-portable/ export EMSCRIPTEN_ROOT_PATH=/home/users/Android/emsdk-portable/ export EMSDK=/home/users/Android/emsdk-portable export EM_CONFIG=/home/users/.emscripten ./Build_AtomicEditor.sh --with-android --with-web --opengl mono ubuntu 16.04 http://www.mono-project.com/download/ sudo apt-key adv --keyserv...

libgdx 최초 실행시 다음 과 같은 에러 발생시

이미지
libgdx  최초 실행시 다음 과 같은 에러 발생시 Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: badlogic.jpg Run -> Edit Configurations On the left hand side choose: Application -> DesktopLauncher In the "Configuration"-Tab, undert "Working directory" choose your android/assets path working directory 의 경로를 asset 폴더로 지정

자바 코틀린 변환

IntelliJ + Android studio  일단 kotlin 을 사용할 수 있는 project 가 필요하다.( 쿠...sal: [컴][자바][안드로이드] 안드로이드에서 코틀린 사용하기 ) 그 다음 여기에서 .java file 을 하나 열어놓자. 그리고 java code 를 .java 로 먼저 붙여넣기 하고 난 후 다시 이 녀석을 copy 해서 kotlin file(.kt ) 로 붙여넣기를 하자. 그러면 IDE 에서 이 code 를 kotlin 으로 변환할 것인가를 물어본다. 참고로 이야기 하자면 외부에서 단순히 복사한 java code 는 java 로 인식하지 못하는 듯 하다. 그래서 kotlin 으로 변환할까요? 등의 질문을 하지 않는다.

우분투 16.04 자바 버젼 변경 9 --> 8로 변경

설치된 자바 확인 update-java-alternatives --list :/usr/lib/jvm$ update-java-alternatives --list java-1.8.0-openjdk-amd64       1081       /usr/lib/jvm/java-1.8.0-openjdk-amd64 java-1.9.0-openjdk-amd64       1091       /usr/lib/jvm/java-1.9.0-openjdk-amd64 자바 8로 선택 java-1.8.0-openjdk-amd64 아래 명령 실행 하지만 에러 그러면 그다음 아래 명령 실행 뭔가 버그에 의한 에러 같다. sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 update-alternatives: 오류: no alternatives for mozilla-javaplugin.so 위와 같은 에러 발생시 아래 멸령 실행 sudo update-java-alternatives --jre-headless --jre --set java-1.8.0-openjdk-amd64

부동산 계산기 앱소개

이미지
부동산 계산기 앱소개 https://play.google.com/store/apps/details?id=buster.com.landprice 평 ㎡ - 임대 공인중개사 수수료 계산 - 매매 공인중개사 수수료 계산  - 눈에 잘들어 오는 디자인  - 쉬운 인터페이스 - 계산된 수수료에 대해 문자메세지 , kakao talk 메세지 공유 기능  이용해 주셔서 감사합니다. 정말 편리 합니다. 광고도 없어 쾌적 하고요 감사합니다. 다시 아래 링크 https://play.google.com/store/apps/details?id=buster.com.landprice

인크 스케이프 익스퍼트 명령

인크 스케이프 익스퍼트 명령 터미널 창에서 명령줄로  현재 편집중인 파일 익스퍼트 하기 inkscape 512x512_file_name.svg --export-png=test.png -w512 -h512 inkscape 512x512_file_name2.svg --export-png=test.png -w512 -h512 현재 디렉토리에 파일이 떨어지므로 바로 확인 가능하다. 자가 확인용

AVD 에뮬레이터에 구글 플레이 설치 하기

이미지
지니모션(genymotion) 구글 플레이 설치 및 다운로드하여 실행하기 AVD 에뮬레이터에 구글 플레이 설치 하기 Download this files 아래 파일은 인터넷 검색해서 받으세요 Genymotion_ARM_Translation_v1.1.zip http://opengapps.org/ pico 다운로드 open_gapps-x86-4.4-pico-20171024.zip 받은 파일 두개 를 

java 숫자를 한글로 변환 해주는 메소드

java 숫자를 한글로 변환 해주는 메소드 그런데 이것은 약간 문제가 있네요 몇백억 넘어가면 억만 으로 표시하는데 이것을 수정해야 할듯 합니다. public String convertHangul(String money){ String[] han1 = {"","일","이","삼","사","오","육","칠","팔","구"}; String[] han2 = {"","십","백","천"}; String[] han3 = {"","만","억","조","경"}; StringBuffer result = new StringBuffer(); int len = money.length(); for(int i=len-1; i>=0; i--){ result.append(han1[Integer.parseInt(money.substring(len-i-1, len-i))]); if(Integer.parseInt(money.substring(len-i-1, len-i)) > 0) result.append(han2[i%4]); if(i%4 == 0) result.append(han3[i/4]); } return result.toString(); } =========================================================== 숫자를 한글로 변환        public static long hangulToNum(String input){              long result = 0;              long tm...

안드로이드 화면 회전 및 로딩 흰색 화면 방지

로딩시 화면 흰색 제거 와 화면 회전시 센서에의한 회전 과 내용 refresh 방지 AndroidManifest.xml android:configChanges="orientation|screenSize" android:screenOrientation="sensor"> styles.xml  //로딩시 화면 흰색 제거 @null true

what the fuck steam

what the fuck steam Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! [2017-10-14 04:21:50] Startup - updater built Oct 11 2017 10:57:45 SteamUpdateUI: An X Error occurred X Error of failed request:  BadWindow (invalid Window parameter) Major opcode of failed request:  155 (NV-GLX) Minor opcode of failed request:  4 Resource id in failed request:  0x1400002 Serial number of failed request:  45 xerror_handler: X failed, continuing Looks like steam didn't shutdown cleanly, scheduling immediate update check [2017-10-14 04:21:50] Checking for update on startup [2017-10-14 04:21:50] Checking for available updates... [2017-10-14 04:21:50] Download skipped: /client/steam_client_ubuntu12 version 1507769972, installed version 1507769972 [2017-10-14 04:21:50] Nothing to do [2017-10-14 04:21:50] Verifying installation... [2017-10-14 04:21:50] Performing checksum verification of executable files [2017-10-14 04:...

안드로이드 공유 기능

안드로이드 공유(sms, sns) 기능 Intent msg = new Intent(Intent.ACTION_SEND); msg.addCategory(Intent.CATEGORY_DEFAULT); msg.putExtra(Intent.EXTRA_SUBJECT, "주제"); msg.putExtra(Intent.EXTRA_TEXT, "내용"); msg.putExtra(Intent.EXTRA_TITLE, "제목"); msg.setType("text/plain");    startActivity(Intent.createChooser(msg, "공유"));

천단위 컴마 붙이기

edt1 = (EditText) findViewById(R.id. editText ); edt1 .addTextChangedListener( new CustomTextWatcher ( edt1 )); 클래스 생성 ======================================================= import android.text.Editable; import android.text.Selection; import android.text.TextWatcher; import android.widget.EditText; import java.text.DecimalFormat; /**  * Created by buster on 17. 10. 13.  * 천단위 컴마 붙이기  *  */ public class CustomTextWatcher implements TextWatcher {     @SuppressWarnings("unused")     private EditText mEditText;     String strAmount = ""; // 임시 저장값 (콤마)     public CustomTextWatcher(EditText e) {         mEditText = e;     }     @Override     public void afterTextChanged(Editable s) {         // TODO Auto-generated method stub     }     @Override     public void beforeTextChanged(CharSeque...

자바 데이터형

종류       설명              저장 공간    값의 범위 (최소값~최대값) ====================================================================================== boolean    논리값            1 bit        true / false -------------------------------------------------------------------------------------- byte       부호 있는 정수    8 bits       -128 ~ 127 -------------------------------------------------------------------------------------- char       유니코드 문자     16 bits      \u0000 ~ \uFFFF -------------------------------------------------------------------------------------- short      부호 있는 정수    16 bits      -32768 ~ 32767 -------------------------------------------------------------------------------------- int        부호 있는 정수...

자바 메쏘드 분리 및 인수 전달

    android :background= "#333333"   android :textColor= "#99ff00" android : gravity = "center_vertical"       double input1 = Double. valueOf ( edt1 .getText().toString());   m2result= calc. M2Result ( input1 );       public static double M2Result( double input1) {     return input1 ;     }

안드로이드 스튜디오 화면 고정

첫번째 방법 엑티비티 소스에 골라서 추가 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);  //강제 가로 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);  //강제 세로 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); //센서대로 두번째 방법 androidmanifest.xml 수정 방법 android:screenOrientation="portrait" android:screenOrientation="landscape"

사인한 키스토어(keystore) 확인하기

사인한 키스토어(keystore) 확인하기 안드로이드 어플리케이션은 .keystore 파일을 이용해 내 앱을 사인(signing)할 수 있다. 앱이나 키스토어(keystore)가 한두개라면 모르겠지만, 각 앱마다 다른 키스토어를 만들었다거나 테스트용, 릴리즈용 등으로 여러개의 앱을 가지고 있다보면 사인이 되긴 된건지, 어떤 키로 사인이 된건지 헷갈린다. (CI 환경을 만들어서 차곡차곡 정리해두면 헷갈리 없겠지만) 사인이 된 앱을 가지고 있고, 이 앱이 어떤 키스토어로 사인이 되었는지 확인하고 싶다면 어떻게 해야할까? 결론부터 이야기하면, 앱과 키스토어의 Certificate fingerprint를 비교하면 된다. 먼저 키스토어에서 fingerprint를 확인해보자. Default 1 2 > keytool - list - keystore my - keystore . keystore Enter keystore password : 키스토어의 비밀번호를 입력하면 다음과 같이 키스토어에 포함된 alias 들의 정보가 출력된다. in my-keystore.keystore Default 1 2 3 4 5 6 7 Keystore type : JKS Keystore provider : SUN Your keystore contains 1 entry my - service , 2016. 10. 19 , PrivateKeyEntry , Certificate fingerprint ( SHA1 ) : 3C : B6 : 68 : E2 : 8A : EC : 9F : 16 : 7E : 2C : 20 : AA : B2 : 71 : 12 : 1B : 98 : F2 : 1E : D9 출력된 데이터에서 Certificate fin...