View의 inflate 함수를 사용하여 전개하기

mytext.xml<?xml version="1.0" encoding="UTF-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="wrap_content"    android:layout_height="fill_parent"    android:gravity="center"    android:textColor="#ff0000"    android:textSize="20px"    android:background="#000000"    android:text="TextView"    />Inflation.javapackage exam.Inflation; import android.app.*; import android.content.*; import android.graphics.*; import android.os.*;…

0 Comments

우분투 8.10 || nfs 설정 및 타겟 보드 연결

nfs 설치$sudo apt-get install nfs-kernel-servernfs 설정exports 파일 설정$sudo vim /etc/exports내용 :/nfs_resource 192.168.0.11(rw,sync,no_root_squash)/nfs_resource 는 nfs 디렉토리고 192.168.0.11 은 외부에 열어줄 ip 이다.재시작target board 에서 mount 하기각 네트워크의 ip 설정을 한다. target…

0 Comments

제로보드(XE) 글쓰기 가능 열람 불가 하게 만들기

제로보드에서 글쓰는 것은 가능하지만 열람은 하지 못하게 만드는 방법 modules/board/board.view.php 파일을 연다. 그럼 글 보기 권한을 체크 하는 부분이 있다. if(!$this->grant->view && !$oDocument->isGranted()) 이 라인에서 !$oDocument->isGranted() 부분을 지워준다. if(!$this->grant->view) 이렇게…

0 Comments

우분투 10.04 || 설치 후 설정

1. 메신저 설치 앰퍼시(empathy) UI 가 이뻐서 앰퍼시로 설치. $sudo apt-get install pidgin-nateon 피진이 설치 되었다면, 먼저 피진을 켜고 네이트온 계정을 등록하여 로그인한다. 로그인 후 종료. 그 후, 우분투 10.04에…

0 Comments

페도라 || 메일링 리스트 등록 / 자동 포워딩

 /etc/aliases 나 /etc/mail/aliases 를 편집기로 연다. 제일 마지막 줄에 포워딩 하려는 주소를 다음과 같이 적는다. user:     foo@xxx.com,     warnus@naver.com 저장하고  $newaliases 등록 끝- user는 포워딩할 메일 아이디이다.  즉,  user@xxx.com…

0 Comments