I can easily find a way for adding actions in activator.
( http://iphonedevwiki.net/index.php/Libactivator )
This is the way to add event (like shake device..) for activator on iDevice.
First, You need libactivator.h
If you installed THEOS, you can find this. But that does not have interface for adding event.
So you need get libactivator.h from Ryan Petrich's github(Click Here).
Next, Add these code on your project.
Click ↓ (From source of libactivator - Link )
Then, when you call init, you event is added to activator.
I called init from Mobile Substrate Extension(.dylib) like this
Click ↓
You can called your event like this.
Click ↓(From source of libactivator - Link )
Thank you for reading my terrible English..TT
If you cannot understand this, you can find a lot of information here
https://github.com/rpetrich/libactivator : source of libactivator
( http://iphonedevwiki.net/index.php/Libactivator )
This is the way to add event (like shake device..) for activator on iDevice.
First, You need libactivator.h
If you installed THEOS, you can find this. But that does not have interface for adding event.
So you need get libactivator.h from Ryan Petrich's github(Click Here).
Next, Add these code on your project.
Click ↓ (From source of libactivator - Link )
Then, when you call init, you event is added to activator.
I called init from Mobile Substrate Extension(.dylib) like this
Click ↓
You can called your event like this.
Click ↓(From source of libactivator - Link )
Thank you for reading my terrible English..TT
If you cannot understand this, you can find a lot of information here
https://github.com/rpetrich/libactivator : source of libactivator
- LADefaultEventDataSource.m
: Add Event
- Events.m
: Call Event
- libactivator-private.h
: Interface of aboves
- libactivator.h
- libactivator.m
아.. 누구 저의 X같은 영어 교정해주실 천사 같으신 분 없을까요..?ㅠ
아.. 누구 저의 X같은 영어 교정해주실 천사 같으신 분 없을까요..?ㅠ
'개발개발 > Mac, iOS' 카테고리의 다른 글
PreferenceBundles 에서 UIViewController 사용하기 (0) | 2011.08.12 |
---|---|
THEOS 에서 libactivator 사용하기 (0) | 2011.08.11 |
substrate Extension 과 LibActivator 연동하기 (0) | 2011.05.01 |
권한 설정 성공! (0) | 2011.02.24 |
Xcode - Device Log 보기 (0) | 2011.02.23 |