본문 바로가기

전체 글200

cmd 창에서 logcat 사용하는 방법 - 파일저장 포함 // 에러난 것만 sdcard에 파일로 저장adb logcat -f /sdcard/ETRI_SFS_LOG/logcat_e.txt -r 1000 -n 7 -v time *:E // 전체 내용 파일에 저장adb logcat -f /sdcard/ETRI_SFS_LOG/logcat_all.txt -r 1000 -n 7 -v time 2014. 1. 15.
Text 출력 - 한글도 가능 출처: http://docs.unity3d.com/Documentation/Components/class-TextMesh.html Text MeshThe Text Mesh generates 3D geometry that displays text strings. The Text Mesh InspectorYou can create a new Text Mesh from GameObject->Create Other->3D Text.PropertiesTextThe text that will be renderedOffset ZHow far should the text be offset from the transform.position.z when drawingCharacter SizeThe size of each .. 2014. 1. 10.
[iOS] Camera 기능 호출하기 및 Landscape 만 지원할때 해결책 가로만 지원하는 App의 경우 아래의 코드와 같이 UIImagePickerController 를 이용하여 카메라 기능을 호출하면이런 에러가 발생된다. ㅡ.ㅡ; (ios 6.0 버그라는데 6.1로 설정해도 마찬가지로 발생했다. ㅠ.ㅠ) Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES // 카메라 앱 구동 방법- (void)callCamera{ NSLog(@"카메라 구동"); UIImagePickerController* picker = [[UIImagePickerController alloc]init]; picker.delegate = (id)self; picke.. 2014. 1. 9.
[iOS] Camera App 만드는 방법 출처: http://www.appcoda.com/ios-programming-camera-iphone-app/프로젝트 소스: Build a Simple Camera App Using UIImagePickerController Previously, we covered how to use the built-in APIs to read a RSS feed and build a simple RSS Reader app. In this tutorial, we are going to learn how to use the built-in camera of the iPhone (or the iPod or iPad, if they have one) to take a photo. Also, we’ll see how to a.. 2014. 1. 9.
MSI AfterBurner - VGA FAN 속도조절, 녹화기능 http://event.msi.com/vga/afterburner/ 2014. 1. 4.
안드로이드 화면 캡쳐해서 저장하는 방법 출처 : http://jess0718.blog.me/40122824255 현재 App의 스크린 캡쳐. 위의 화면과 같이 안드로이드 프로그래밍을 하다보면 화면을 저장해서 파일로 출력해야할 때가 종종있다. 구현하고 나니 정말 간단한 것이었지만, 구현하기까지 적지 않은 삽질을 한 것 같아 다른 개발자들의 삽질을 조금이나마 막아보고자 글을 올린다. 아래는 화면을 캡쳐하는 메소드의 소스코드이다. 사실 위의 뇌구조 테스트 어플에서 사용된 메소드이며 이해하기 쉽도록 조금 변경하였다. 아래의 코드에서 '디렉토리명'과 '파일명' 부분에 자신이 원하는 디렉토리명과 파일명을 입력해주면 되겠다. private void screenshot(Bitmap bm) {try { File path = new File("/디렉토리명");.. 2013. 12. 29.
app에서 App Store 실행하기 1. 특정 App 상세설명 화면으로 이동하기 NSString *myAppID = @"686296101"; NSString *url = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", myAppID]; //iOS7 doesn't approve above format so add iOS7 specific format if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) { url = [NSString stringWithFormat: @"itms.. 2013. 12. 20.
Apple URL Scheme Reference Apple URL SchemeReference 첨부파일 참조 // 지도표시 - 정상url = @"http://maps.apple.com/?q=cupertino"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]]; 2013. 12. 20.
Android 에서 동영상 재생하는 방법 - Full Screen 1. 에셋에 StreamingAssets 폴더를 만들고 그 안에 동영상파일을 넣는다.2. 아래와 같이 스크립트를 작성한다.3. 끝. using UnityEngine;using System.Collections; [RequireComponent (typeof(AudioSource))] public class VideoController : MonoBehaviour { // Use this for initializationvoid Start () {Handheld.PlayFullScreenMovie("CAM00039.mp4",Color.black, FullScreenMovieControlMode.Hidden); /*MovieTexture movie = renderer.material.mainTexture a.. 2013. 12. 18.
XIB만 추가하여 iPhone, iPad 지원하는 방법 XIB 형식으로 화면 Layout을 구성한 프로젝트의 경우ViewController 소스부분은 그대로 둔채로XIB 파일만 추가하여 iPhone 또는 iPad를 추가로 지원할 수 있다. 새 파일 --> User Interface 선택하여 XIB 파일을 하나 추가한 후AppDelegate.m 의 didFinishLaunchingWithOptions 함수를 아래와 같이 수정한다. UIViewController* controller = [[UIViewController alloc] initWithNibName:UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad ? @"YourViewController-iPad" : @"YourViewController" andBundl.. 2013. 12. 6.
[iOS] XIB 이용한 SingleView 만들기 1.AppDelegate.h에 #import @class ViewController; @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) ViewController *viewController; @end 2. AppDelegate.m 에#import "AppDelegate.h"#import "ViewController.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchO.. 2013. 11. 30.
[NGUI] 한글폰트 사용방법 비트맵 폰트는 이렇게 쓰지만.. 다이나믹폰트는 쉽게 쓸 수 있습니다.다이나믹 폰트 쓰는법 참고: http://developer-x.tistory.com/51 출처:http://icoder.tistory.com/entry/Unity3D-%EA%B0%95%EC%A2%8C-NGUI-2DToolkit-%ED%8F%B0%ED%8A%B8-%EB%A7%8C%EB%93%A4%EA%B3%A0-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0 http://blog.naver.com/khaetnim/100156555971http://blog.naver.com/khaetnim/100156250107 2013. 11. 22.