블로그 이미지
안녕하세요~ iolate(isho) 의 블로그 입니다~! iolate

카테고리

분류 전체보기 (164)
Server, Cloud (7)
끄적끄적 (9)
Linux, Ubuntu (22)
개발질 (44)
Mac (18)
iOS (23)
IoT (13)
NAS (1)
Web (5)
Network (3)
Review (10)
기타 (9)
비공개글 (0)
Total588,162
Today157
Yesterday199
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
 - LADefaultEventDataSource.m
: Add Event
 - Events.m
: Call Event
 - libactivator-private.h
: Interface of aboves

 - libactivator.h
 - libactivator.m



아.. 누구 저의 X같은 영어 교정해주실 천사 같으신 분 없을까요..?ㅠ 
Posted by iolate

최근에 달린 댓글

최근에 받은 트랙백

글 보관함