'Development/Linux & Android'에 해당되는 글 21건

  1. 2012.12.21 Network problem of virtual box in ubuntu 11.10
  2. 2012.12.21 Remote connection with Windows
  3. 2012.01.19 안드로이드 부분 빌드
  4. 2011.10.31 Android 4.0 Ice Cream Snadwich Feature 2
  5. 2011.03.30 Android Package App 빌드 추가
  6. 2011.03.15 Git User Manual
  7. 2011.03.09 welcome message 변경
  8. 2011.02.10 apt-get update 문제 1
  9. 2011.02.02 Translation-en_US 문제
  10. 2011.01.10 ctags 설치


Network problem of virtual box in ubuntu 11.10

Development/Linux & Android 2012. 12. 21. 17:08

Environment : Ubuntu 11.10 , VirtualBox 4.2.6

Ubuntu에서 Windows7을 사용하기 위하여 설치하였으나 Network adapter가 정상적으로 동작하지 않음.


아래의 링크를 참조하여 해결함. 해당 command를 사용하기 전에 동작중이던 가상머신은 중지 시키고 사용할 것.

https://forums.virtualbox.org/viewtopic.php?f=15&t=51485


#VBoxManage modifyvm "VMNamexxx" --natdnshostresolver1 on





.


:

Remote connection with Windows

Development/Linux & Android 2012. 12. 21. 16:22

Environment : Linux machine Ubuntu 11.10, Windows7

Utility : Remmina


우분투에서 Windows PC로 원격접속이 필요한 경우 remmina 를 이용하여 접속 가능.

윈도우즈에서 제공하는 원격접속 프로그램인 mstsc 와 거의 비슷하다.


#sudo apt-get install remmina


ps. 글꼴 부드럽게 하기 옵션은 반드시 선택!!



:

안드로이드 부분 빌드

Development/Linux & Android 2012. 1. 19. 15:31

부분 빌드를 위해 mmm 실행 시 아래와 같이 나오는 경우,

#mmm /android_platform/external/build_directory

No command 'mmm' found, did you mean:

Command 'mwm' from package 'motif-clients' (multiverse)
Command 'mwm' from package 'lesstif-bin' (universe)
Command 'mgm' from package 'mgm' (universe)
Command 'rmm' from package 'nmh' (universe)
Command 'rmm' from package 'mailutils-mh' (universe)
Command 'mmv' from package 'mmv' (universe)
Command 'mmd' from package 'mtools' (main)
Command 'mmg' from package 'mkvtoolnix-gui' (universe)
Command 'mma' from package 'mma' (universe)
Command 'mm' from package 'mountmanager' (universe)
Command 'mm' from package 'multimail' (universe)
mmm: command not found

#pwd
/android_platform/

#source ./build/envsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh

#mmm /android_platform/external/build_directory 





 
:

Android 4.0 Ice Cream Snadwich Feature

Development/Linux & Android 2011. 10. 31. 12:00
http://techcrunch.com/2011/10/18/a-quick-ice-cream-sandwich-feature-rundown/

안드로이드 4.0에서 여러가지 새로운 기능이 나왔는데 Android beam 이 정확히 어떤건지 궁금해지는군...

Android Beam: An secure NFC-powered sharing platform that lets users share nearly any kind of content, save for applications (in that case, a link to the Market is sent instead)

안드로이드 마켓의 페이지를 다른 폰으로 링크를 할 수 있다라... 흠 일단 직접 봐야겠다. ㅋ

:

Android Package App 빌드 추가

Development/Linux & Android 2011. 3. 30. 22:40
Android 2.3.3 Gingerbread

안드로이스 소스 코드 빌드 후 이미지를 업로드 했는데 내가 원하는 App이 폰에 나타나지 않는다.
물론 /packages/apps 에는 해당 app의 소스 코드도 들어있는 상황.

이런 경우에는 해당 app이 플랫폼 빌드 시 포함이 되지 않았기 때문이다.
플랫폼 빌드에 포함되게 하기 위해서는

/build/target/product 에 있는 .mk 파일에 추가해주면 되는데
일단 Tags app을 추가하기 위해서 generic.mk에  아래와 같이 추가해주었다.


PRODUCT_PACKAGES := \
AccountAndSyncSettings \
DeskClock \
..
..
Tag \
...
..
SyncProvider

...




그리고 다시 플랫폼 빌드!!


:

Git User Manual

Development/Linux & Android 2011. 3. 15. 21:28
Ref.

영문 사이트 : http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
한글 번역 사이트 : http://namhyung.springnote.com/pages/3132772


:

welcome message 변경

Development/Linux & Android 2011. 3. 9. 10:56
ENV. Ubuntu 10.04 Server

/etc/update-motd.d/ 디렉토리의 파일들을 이용하여 레이아웃을 설정할 수 있으며, 
추가 메시지는 /etc/update-motd.d/99-footer 스크립트에서 관리하는 
/etc/motd.tail 파일에 내용을 추가하면 된다.


:

apt-get update 문제

Development/Linux & Android 2011. 2. 10. 13:33
apt-get update 수행시 Ign/Err/Fail 등 전혀 업데이트가 되지 않는 경우
아래 파일을 수정해 준다.

/etc/resolv.conf 에

#google nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4


그리고 사용중인 네트웍의 second nameserver 추가.


:

Translation-en_US 문제

Development/Linux & Android 2011. 2. 2. 08:36
우분투(10.04 LTS Desktop,64bit)에서 apt-get update 시에
Translation-en_US 를 찾지 못해 시간이 지연되는 경우가 발생하는 것은 gusty까지는
해당 패키지가 있었으나 현재는 사라졌기 때문이다.

/etc/apt/apt.conf 에 아래와 같은 라인을 추가한다.

APT::Acquire::Translation "none";



:

ctags 설치

Development/Linux & Android 2011. 1. 10. 09:25
1. $apt-get install ctags
2. 리눅스 source 및 header 파일들의 tags 파일 만들기
 2-1. $cd /usr/src/linux (버전에 맞는 폴더로 이동)
 2-2. $ctags -R
 2-3. $cd /usr/include  ( src 디렉토리 및 include 디렉토리에서 tags 파일 생성)
 2-4. $ctags -R
3. .vimrc 에 tags 설정
 3-1. $cd ~
 3-2. $vi .vimrc
 3-3. set tags-./tags, /usr/src/linux(해당 폴더명)/tags, /usr/include/tags 라인을 추가



참고 : http://blog.naver.com/ikariksj/140024963956

: