아크몬드

블로고스피어에서 아크몬드(Archmond) 라는 닉네임으로 활동중입니다. 마이크로소프트의 새로운 기술에 열광합니다.

Android Studio: How to display image with ImageView

그림 넣기 먼저 탐색기에서 그림 파일을 복사. res\drawable 폴더에 붙여 넣기. 붙여 넣어질 폴더 확인하고, OK 파일명 확인 후 OK 팔레트에서 Images -> ImageView 선택, 화면으로 드래그한다. Drawable 폴더의 그림 파일을 선택.(Image credit: mjyoon1452) 우측의 layout_width, layout_height 를 dp 단위로 입력 가능. DP, 혹은 DIP는 Density Independent Pixel로, 밀도에 독립된 픽셀이라는 뜻. 여러 크기의 화면 크기를 지원하기 때문에 픽셀 대신 …

더 읽기 »

Android Studio: HelloDroid(Basic Layout, Buttons)

개발 환경 설치, 에뮬레이터 실행, 실제 기기 실행까지 마쳤다면, 이제 이것저것 만들어볼 차례. 새 프로젝트를 만들자. 이번에도 API 16 선택. Empty Activity Finish Android 프로젝트 탐색기 소개… 쓰다 보면 자연스레 익혀지겠죠. Turn On Autoconnect 상태로 만듦. 기존 Hello World(TextView)에서 글자를 입력하여 text의 우측 …을 클릭(Pick a Resource) Add new resources -> New string Value… Resource name과 Resource value를 적절히 입력. …

더 읽기 »

Android Studio: Run Apps on a Hardware Device

에뮬레이터에서 실행했으니 이번에는 실제 기기에서 동작시켜보자! 장치에서 개발자 옵션을 활성화(휴대전화 정보에서 빌드 번호를 연타!)하고, USB 디버깅 켜기. 시작 단추에서 단축 메뉴를 열어 ‘장치 관리자’ 범용 직렬 버스 장치 -> Nexus 5 드라이버 업데이트 컴퓨터에서 드라이버 소프트웨어 검색 Android SDK 폴더 위치\extras\google\usb_driver 선택 Google, Inc. 소프트웨어 신뢰 닫기 이렇게 업데이트 된다. 모바일 디바이스에서 USB 디버깅을 허용 Android Studio에서 Run ‘app’ 실제 …

더 읽기 »

Android Studio: Start a new project, Emulator Setup

Android Studio 설치에 이어, 이번에는 최초로 프로젝트를 생성해보자. Start a new Android Studio project Help me choose 4.1 Jelly Bean 선택 Empty Activity Finish 프로젝트를 생성하는 데 제법 시간이 걸린다. 오… 드디어 나타난 에디터. 현재 실행 중인 Android Studio는 3.0.1이다. Nexus 5(기종 선택), API 27(API 버전 선택) 에뮬레이터 준비 AVD Manager 실행 Create Virtual Device 내가 보유하고 있는 Nexus 5 …

더 읽기 »

Android Studio: Installing and Configuring

지난 번에 서점에 가서 샀던 はじめてのAndroidプログラミング 改訂版을 보며 시작. https://developer.android.com/studio/index.html?hl=ko 에서 다운로드 가능. 사용 약관에 동의. 현재 다운로드하는 파일은 android-studio-ide-171.4443003-windows.exe 이며 683MB 크기다. 설치 과정 진행. Android Studio Android Virtual Device 를 설치하게 된다. 기본 설치 디렉터리를 지정 Install 설치 성공. IntelliJ 플랫폼이라고 한다. Welcome 화면. 설치 형식 선택 UI 테마 선택. 역시 검은 색이 좋죠. 설치에 필요한 공간. 1GB정도가 …

더 읽기 »

Ubuntu Mate에 qBittorrent 설치하기

qBittorrent 설치 # qBittorrent Stable sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable Then install qBittorrent by doing this: sudo apt-get update && sudo apt-get install qbittorrent 출처: <https://www.qbittorrent.org/download.php> sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable sudo apt-get update && sudo apt-get install qbittorrent 프로그램 -> 인터넷 -> 큐빗토런트 항목 확인 가능. 잘 실행된다. 웹 UI 설치 sudo apt update && sudo apt install qbittorrent-nox sudo adduser qbtuser 새 …

더 읽기 »

Mouse without Borders: 키보드/마우스 하나로 여러 컴퓨터를 컨트롤하기

공식 사이트: https://answers.microsoft.com/en-us/windows/forum/windows_10-start/mouse-without-borders-mousewithoutborders/0523308d-3406-4273-b86e-bef28aa6b50d?auth=1 여러 대의 컴퓨터 화면을 동시에 본다면… 키보드/마우스를 왔다갔다 하지 말고, 이 앱 하나로 편하게! 키보드/마우스 하나로 사용해보자. 다운로드 링크: https://www.microsoft.com/en-us/download/details.aspx?id=35460 윈도우 10, 윈도우 서버 2012 등도 지원한다. Mouse without Borders 설치. Install 을 눌러 계속 진행한다. 금방 완료된다. Finish.(모든 컴퓨터에 설치할 것.) 설치를 시작하자.(컨트롤의 대상이 되는 컴퓨터에서, NO를 누르면 보안 코드를 확인할 수 있다.) 이 보안 코드를 …

더 읽기 »

VMWare Workstation: [Solved]Insufficient permission to access the file.

————————— win7jp – VMware Workstation ————————— An error occurred while opening configuration file “F:\VMWare\win7jp\win7jp.vmx”: Insufficient permission to access the file. Cannot open the configuration file F:\VMWare\win7jp\win7jp.vmx. ————————— OK ————————— Shared VMs 을 사용하고 있다가, 로컬 VM(My Computer로 이동) 변환 시 위와 같은 오류가 발생했다. 문제의 원인이 된 vmx 파일의 속성을 보자. 보안 탭에서 편집 추가 users를 입력, [이름 확인] 자동 …

더 읽기 »

Xamarin: Hello Android(내 생애 첫 안드로이드 프로그래밍)

Hello, Android: Quickstart 를 보며 진행함. 미리 자마린 설치는 당연하겠죠? New Project… > Visual C# > Android > Blank App(Android) Solution Explorer > Resources > layout > Main.axml 을 연다 안드로이드 앱 만들기 준비 끝~ Text(Large) 를 넣고, 비밀번호를 입력해달라는 문구를 추가. Text Fields > Plain Text 를 넣고, 암호문을 대충 넣는다. id 속성에는 @+id/PhoneNumberText 를 입력. Button을 넣고, Translate라는 …

더 읽기 »

Xamarin: Visual Studio Options

Tools > Options Xamarin > Android Settings iOS Settings Xamarin Live Player(Preview) Xamarin Live Player는 뭘까? QR 코드로 앱을 바로 전송시켜 안드로이드, iOS 장치에서 바로 실행해보는 것을 뜻하는 것 같다. Tools > Android Android Emulator Manager Android SDK Manager Android Device Monitor Device Log Android Adb Command Prompt Restart Adb Server Android Emulator Manager를 들어가면 AVD(Android Virtual Device) Manager가 나온다. …

더 읽기 »