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

PPP(Point to Point Protocol)

PPP의 설계PPP는 두 네트워크 노드간의 일 대 일 연결을 위한 프로토콜이다. 이더넷상의 PPPoE(PPP over Ethernet)는 이더넷 네트워크 상의 두 노드간에 특정한 PPP 통로(pipe)를 제공한다. PPP는 다음과 같은 것을 제공한다.프레이밍일련의 데이터…

0 Comments

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

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

0 Comments