Monthly Archives: February 2012

iOS Tips: 오늘 iOS 앱 개발 시작한다면…!

iOS Tips: Start Developing iOS Apps Today

 iOS 앱을 만드는 일은 재미있고 보상도 따릅니다. 여러분이 새로 시작하고 싶은 개발자라면 어디서부터 시작할지 궁금할 것 입니다. 이 로드맵은 iOS 앱을 개발하는 완벽한 시작점을 제공할 것입니다. 여러분의 맥 컴퓨터에서 아이패드, 아이폰, 아이팟터치 용의 iOS 앱을 개발할 수 있습니다. 이 로드맵에 따라서 여러분은 어디서 필요한 툴을 얻고 중요한 개념과 좋은 예를 이해하고 좀 더 많은 정보를 어떻게 얻을 수 있는지를 배울 수 있습니다.

여러분은 로드맵을 진행하면서 Xcode와 애플의 앱 개발을 위한 툴인 iOS SDK를 사용하게 됩니다. iOS 앱과 프레임워크를 제공하는 파워풀한 언어인 Objective-C를 이용한 프로그래밍의 기본을 익히며 Cocoa Touch 프레임워크의 세계를 탐구하게 됩니다. 그리고 간단한 iOS 앱을 만들고 디바이스에서 테스트하는 방법을 익히게 됩니다. 마지막으로 앱스토어에 등록하는 방법을 배우게 됩니다.

Start Developing iOS Apps Today

각각의 로드맵 페이지는 새로운 토픽과 여러개의 토막글 링크들을 소개합니다. 로드맵은 어디서 시작하고 끝내는지 어디로 가야하는 지를 알려주는 정도의 지식을 제공하며 다음에 읽어야할 문서도 포함합니다. 여러분이 로드맵을 끝내면 개별 토픽의 심도있는 지식을 천착할 준비가 될 것입니다. 그리고 iOS 앱 개발을 위한 지식과 툴, 그리고 기술들을 습득할 것입니다!

계속 읽기: Installing Tools >

Mac Tips: 맥 오디오를 아이폰으로 보내기 (번역중)

영어원문 – TUAW Tips: Send Mac audio to your iPhone for cheap

by 에리카 새든 Erica Sadun

 

2009년 9월 23일 오후 8시 (Sep 23rd 2009 at 8:00PM)

이번달 초에 필자가 오래된 맥미니를 TV에 연결하는 글을 기고했다. 내 맥미니는 애플TV의 한계를 뛰어넘는 애플TV 스타일을 제공했다. 내 맥미니는 스노우레오파드로 구동되며 프론트로우, 아이TV, 퀵타임 등이 설치되어있어 실시간 방송을 즐길 수 있으며 보통 PC에서와 같이 메일, 웹서핑 등을 할 수 있다.

거실의 스피커는 정말 오래된 컴퓨터 모니터에서 사용하던 것이서 TV 앞에서 TV를 보거나 Wii(게임기 – 역자)를 할때는 그럭저럭 괜찮다. 방을 지나면서는 거실 스피커는 한계를 드러내고 런닝머신의 소음이 더해지면 소리는 아예 들리지 않는다.

자 그러면 런닝머신에서 걷거나 조깅하고 있을 때 어떻게 하면 멋진 TV쇼를 들을 수 있을까? 우선 몇가지 솔루션을 찾아서 헤매다가 필자에게 딱 맞는 솔루션을 찾았다. 집에 설치된 802.11g 와이파이 네트워크 상에서 스카이프(VoIP 인터넷 전화 – 역자)를 통해서 맥에서 아이폰으로 전화를 걸 수 있다는 점을 착안했다. 지연현상을 최소화하여 맥에서 플레이 중인 좋아하는 TV쇼의 라이브 오디오를 런닝머신 위의 내 아이폰으로 전송할 수 있었다.

다음에 필자가 어떻게 했는지를 읽어보라…!

참 아직 읽기 전에 시연 동영상을 한번 볼까요? ^_^

장치

필자의 미디어 플레이어 매킨토시에 대해 할말이 별로 없다. 오래된(필자생각에는 2006년 모델) 1.66GHz Intel Core Duo, 메모리 1GB 이다. 지난 1월에 오래된 하드드라이브가 고장난 이후 NewEgg에서 할인 구매한 80GB 하드드라이브가 장착되있다.

My media player Macintosh is nothing to write home about. It is an old (2006 model, I believe) 1.66 GHz Intel Core Duo with 1GB of RAM. It has an 80 GB hard drive, which I bought on sale from NewEgg after the old hard drive died in January. Any audio transmission solution needed to work within its limits, which I assure you are vast compared to the current generation mini, which is my primary work machine.

My home’s 802.11g Wi-Fi sees low use during the day when my kids are at school. On an uncluttered system (i.e. the kids aren’t all trying to watch YouTube videos at once) it’s capable of some decent throughput but it’s clearly not 802.11n. I record and convert all my video on a separate headless system in my office. My Wi-Fi connection needs to both feed my video to the player mini at the same time that it sends any audio via Skype.

Early investigation showed that I could read and play back video using QuickTime or iTunes while shipping out sound at the same time. EyeTV (my preferred video playback solution) plus Skype required too many system resources, producing video and audio hesitations during playback. Newer Macs with more RAM and better processors probably won’t exhibit these limitations.

Setting up the audio feed

It took just a few steps to set up my audio feed. I needed to redirect my Mac’s audio to Skype so I could listen to that audio from the iPhone or iPod touch. Here is a walkthrough of those steps for you. It shoudn’t take you more than a few minutes to set up your own solution.

Download and Install SoundFlower. I started by downloading and installing a copy of Soundflower version 1.5.1. The dmg offered at the Google Code site includes an installer package that adds the Soundflower system extension. You’ll need administrative privileges to install it.

Set Skype’s Audio In. Once Soudnflower is installed, you need to set up your audio in two places. In Skype, open Audio settings and set your Audio input choice to Soundflower (2ch). Skype will now read its audio from whatever the Soundflower extension delivers.

Set Audio MIDI’s Sound Output. Next, navigate to /Applications/Utilities and launch the Audio MIDI utility. Open the Audio Devices window. Choose Soundflower (2ch) and select Use this device for sound output from the action pop-up menu at the bottom of the pane. This choice sends normal system output that you’d normally hear through your speakers into Soundflower. A speaker icon appears to the right of Soundflower (2ch), indicating that it’s your current choice.

If you’re working on Leopard rather than Snow Leopard, use the Audio MIDI setup screen. Set the Default Output to Soundflower (2ch). It has the same effect of redirecting audio to Soundflower.

Create a second Skype account. You’ll need two accounts for this Mac-to-iPhone audio solution. Skype accounts are free. Sign into your normal Skype account on your Macintosh.

Install Skype on the iPhone. If you have not already done so, purchase Skype (it is free, iTunes link) at App Store. Sync it to your iPhone, or as I did, your iPod touch. Sign into the second Skype account.

Call the iPhone from your Mac. Add your new account to Skype as a buddy and call your mobile device from your Mac. Accept the call on your iPhone or iPod. If you are using an iPod (and I mostly do, so to preserve the batteries on my iPhone for when I need to leave the house), you may be warned that there’s no audio input on your end. Acknowledge the message and continue accepting the call.

Start playback. I’ve been using QuickTime X to play my video. Start playback and set it to full screen. (I hate that new always-on video controls overlay. Anyone know how to disable that display?) Front Row, iTunes, and QuickTime all seem to work well with this Skype-to-Skype playback solution on my older system.

Enjoy. Plug in your headphones, stick the iPhone in your pocket or into one of the cup holders on the treadmill, and watch as you exercise. I find it handy to keep a spare Apple remote around as well for starting and stopping the video. If you’re using Front Row, the remote also lets you navigate through the menu system to pick and play your media.

Conclusions

My Skype-to-Skype solution is, admittedly, a little on the clunky side. At the same time, I’ve found the audio transmission quality to be excellent. If my call starts with any significant audio lag, I’ve found that I can just disconnect and try again until I have a connection with better response time.

This approach definitely does have a battery hit. Although you can run Skype with the iPhone locked, a one-hour run can go through a quarter to half of a battery charge. Again, this is a great reason to use a second unit if you have one on-hand, or to tether your iPhone to power while using the remote audio. Most treadmills have to plug in anyway. Adding a long tether to your iPhone and an A/C adapter can work if the tether doesn’t trigger your iPhone to complain about unauthorized cables.

Remember to reset your Mac audio after your workout. You can leave the Skype setting be if you don’t normally use Skype for conversations on the TV-based Mac. You’ll want to switch the audio back to normal output in Audio MIDI until your next session.

Users on more modern Macintosh systems or on Windows may want to investigate Rogue Amoeba’s $25 Airfoil system, which allows you to redirect audio from any application to AirPort Express and to iPhones and iPods running their (free) Airfoil Speakers Touch application (iTunes link). TUAW took a first look at Airfoil and Airfoil Speakers Touch back in April. You can download Airfoil for free and test it for up to 10 minutes at a time.

코로나Corona: 안드로이드에서의 In-app purchases 도입 초읽기

영어원문보기, 게재일시: 2012/02/23 오후01:51 PST

In-app purchases

아시다시피 도입을 눈앞에 두고 있다. 최대 2주 내로 Corona SDK에 도입예정이다.

주의: GIAP(Google In App Purchases)는 구글 안드로이드 마켓에서만 가능한 것이다.
GIAP를 탑재한 안드로이드 앱은 Amazon과 NOOK 앱스토어에서는 승인거불될 것이다. Amazon과 NOOK, 그리고 Barnes & Noble 용 IAP 솔루션도 우리가 개발하고 있다. 아마존 앱스토어는 자체적인 IAP로 동작한다. Barnes & Noble 도 마찬가지다. 각각에 대한 솔루션이 곧 출시될 것으로 기대한다.