Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create desktop app? #37

Closed
gitpc988 opened this issue Nov 20, 2012 · 8 comments
Closed

how to create desktop app? #37

gitpc988 opened this issue Nov 20, 2012 · 8 comments

Comments

@gitpc988
Copy link

how to create desktop app? which template.? not support application?
I want create a real app not a plugin. who can told me step? thank you```

@kokoabim
Copy link
Owner

This has been asked before. I really REALLY need to write up a wiki article on how to do this.

@gitpc988
Copy link
Author

waiting for you``thank you so much`

@kokoabim
Copy link
Owner

@gitpc988
Copy link
Author

@kokoabim Thank you.. btw i have a other problem. could you give me some advice?

i use private api send sms with imessagethe private api in the chatkit.framework code pasted.

CKMadridEntity *ckmEntity = [imessageService copyEntityForAddressString:@"18012345678"];

       CKConversation    *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckmEntity] create:TRUE service:imessageService];
        CKMessageComposition   *ckMsgCom= [CKMessageComposition newCompositionForText:@"composition11"];
         CKMadridMessage   * ckmMsg= [imessageService newMessageWithComposition:ckMsgCom forConversation:conversation];
            [imessageService sendMessage:ckmMsg];    

i test that code. can send successbut i can't get message status ,the message send success or fail

my english is poor` forgive me. hope you can understand.

@kokoabim
Copy link
Owner

Sorry but I won't have time for general coding questions. I suggest getting into IRC channels on irc.saurik.com

@liangwei1229git
Copy link

照你的代码写了,但是CKConversation *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckmEntity] create:TRUE service:imessageService];到这句的时候会崩溃,请问你知道是什么原因吗?望指教

@chinaspx
Copy link

//I was adapting this SMS code to use madrid
CKSMSService *smsService = [CKSMSService sharedSMSService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKSMSEntity *ckEntity = [smsService copyEntityForAddressString:@"555-555-5555"];
CKConversation *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckEntity] create:TRUE service:smsService];
NSString *groupID = [conversation groupID];
CKSMSMessage *ckMsg = [smsService _newSMSMessageWithText:msg forConversation:conversation];
[smsService sendMessage:ckMsg];
[ckMsg release];
//but CKMadridEntity kept returning nil (psuedo code)
CKMadridService *madridService = [CKMadridService sharedMadridService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKMadridEntity *ckEntity = [madridService copyEntityForAddressString:@"555-555-5555"]; //tried @"whoever@gmail.com" too

上述是位同仁的问题,我的问题一样,所以就偷懒直接复制过来了,有谁知道如何处理吗?
研究好久了 希望大神们 不吝打几个字告知!!!

@liangwei1229git
Copy link

What???

On Fri, Nov 29, 2013 at 11:19 AM, chinaspx notifications@github.com wrote:

//I was adapting this SMS code to use madrid

CKSMSService *smsService = [CKSMSService sharedSMSService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKSMSEntity *ckEntity = [smsService copyEntityForAddressString:@
"555-555-5555"];
CKConversation *conversation = [conversationList
conversationForRecipients:[NSArray arrayWithObject:ckEntity] create:TRUE
service:smsService];
NSString *groupID = [conversation groupID];
CKSMSMessage *ckMsg = [smsService _newSMSMessageWithText:msg
forConversation:conversation];
[smsService sendMessage:ckMsg];
[ckMsg release];
//but CKMadridEntity kept returning nil (psuedo code)

CKMadridService *madridService = [CKMadridService sharedMadridService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKMadridEntity *ckEntity = [madridService copyEntityForAddressString:@"555-555-5555"];
//tried @"whoever@gmail.com" too

上述是位同仁的问题,我的问题一样,所以就偷懒直接复制过来了,有谁知道如何处理吗?
研究好久了 希望大神们 不吝打几个字告知!!!


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-29493942
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants