Linux/Linux 일반 · 2010. 3. 4. 초 간단 find 관련 명령어 manual 초 간단 find 관련 명령어 manual - 차례 – 1. find란? 2. find 에서 가장 많이 사용하는 명령어 #### find 란? #### 윈도우에서 말하는 폴더, 파일 또는 하드디스크 에서 특정 파일이나, 특정 폴더를 찾는 기 능 입니다. 어쩌면 정말 유용한 명령어 일지도 모릅니다. 일단, find 명령어의 막강한 기능 중 하나는 모든 파일 내에 특정 단어가 들어간 파일 찾기, 특정 날짜단위로 파일 찾기, 최근 수정한 날짜나 용량 단위로 찾기 등, 정말 많은 기능을 가지고 있습니다. 이중에서 가장 많이 사용하는 옵션만 기술 하겠다. #### find 명령어 #### # find / -name test.txt 위의 옵션을 분석하면 1. / ß 최상의 루트 디렉토리 이하 전체 2. -name ..
Android · 2010. 3. 3. Android SurfaceFlinger 사용하기. Surface 에서 ISurface를 받는다. PDK에서 Surface를 제어하는 예제를 가져다가 JNI를 통해 어플과 연동시키려고 했는데 JAVA Application과 연동하면 자꾸만 Permission 문제가 발생하였다. W/ServiceManager( 577): Permission failure: android.permission.ACCESS_SURFACE_FLINGER from uid=10020 pid=735 E/SurfaceFlinger( 577): Permission Denial: can't access SurfaceFlinger pid=735, uid=10020 위와 같이 Surface를 생성하려니까 자꾸만 Permission Denial 이라는 메세지가 나와서 ServiceManager 쪽에서 Permission 체크하는 부분을 아예..
Android · 2010. 2. 24. Allows an application to use SurfaceFlinger's low level features Allows an application to use SurfaceFlinger's low level features --> Going from 1.1 to 1.5 the SurfaceFlinger protectionLevel has been bumped to signature. I suppose this was to stop people using the isurface directly to render graphics and to ensure the android development process remained as uniform as possible? I can see the logic here, though I would be better if this was left at dangerous u..
Android · 2010. 2. 20. Android JAVA Application 에서 Hardware Control 하기. (안드로이드 자바 어플리케이션으로 하드웨어 제어하기) 안드로이드 자바 어플리케이션으로 하드웨어를 제어할 수 있다. 드라이버를 등록하고 서비스를 등록한 다음 binder를 이용해서 서비스에 접근하는 library를 만든다. 그리고 그 library를 Android JAVA Application 과 연결하면 된다. service 띄우고 binder로 통신해서 Device Driver 제어하지 않고 직접 App->NDK로 만든 Library -> Driver 로 제어하려면 Driver 파일의 Permission 을 바꿔주면 직접 컨트롤 가능하다.
Linux/Linux 일반 · 2010. 2. 19. Get Source Code for any Linux Command Question: How do I get source code of any Linux command? Answer: For Debian family Linux distributions, you can get source code for any Linux commands using one of the two methods mentioned below. Method 1: Get Source Code Using apt-get Step 1: Add a Source URI to sources.lst$ cat /etc/apt/sources.list deb-src http://ftp.de.debian.org/debian lenny main $ apt-get update Step 2: Execute apt-get so..
Android · 2010. 2. 19. JNI on Android 출처 : http://www.upche.org/doku.php?id=wiki:jni Why JNI Long time I wanted to write about it. One of the hot topic on the Android mailing lists is JNI. JNI is the technology that allows to bind Java code with native code. In our case, this is going to be C/C++. On Android, the Java VM (Dalvik) is not what you would call a performance monster. Even official presentations by Google agree with that...
Android · 2010. 2. 18. ASUS EEE PC init.rc 파일 출처 : http://gitorious.org/android-eeepc/eee_701/blobs/e3536193871099cb4425c0ecab8efce39943b636/init.rc 1 2 on init 3 4 sysclktz 0 5 6 loglevel 3 7 8 # setup the global environment 9 export PATH /sbin:/system/sbin:/system/bin:/system/xbin 10 export LD_LIBRARY_PATH /system/lib 11 export ANDROID_BOOTLOGO 1 12 export ANDROID_ROOT /system 13 export ANDROID_ASSETS /system/app 14 export ANDROID_DATA /d..
Android · 2010. 2. 18. 삼성 S3C6410 GPIO Pin 관련 Y:\root\kernel_source\mds6410-android-2.6.29-091005-adb-netpatch\arch\arm\mach-s3c6410\gpio-old-style.c a
Android · 2010. 2. 18. 우분투 9.10 Ubuntu 9.10 에서 안드로이드 Android 개발 출처 : http://www.aesop.or.kr/?document_srl=94797 보름 전쯤에 오드로이드 개발환경을 구축해 놓았던 노트북 하드디스크(SSD)가 날아가버려 열흘 정도 복구하느라 죽을 맛이었습니다. 다행히 2개월 전쯤의 상태로는 복구를 하였으나 그동안 모아둔 소중한 많은 자료들이 날아가버렸고 복구하는데 너무 많은 시간과 에너지를 낭비해 버렸네요. SSD가 HDD보다 훨씬 더 안전할 것으로 과신하여 백업을 제대로 해두지 못한 것이 문제였네요. 그건 그렇고 우분투(Ubuntu 9.10 Kalmic)이 새로 나와 업그레이드 하신 분들이 많을 텐데 안드로이드(android) 개발에는 문제가 많다는 이야기들이 있어 개발자들 가운데는 별로 추천을 받고 있지 않은 듯이 보입니다. 게다가 오드로이드 개..
Android · 2010. 2. 10. Static diagram of OpenCORE Player Engine 출처 : http://freepine.blogspot.com/2009/10/static-diagram-of-opencore-player.html