How to implement auto-answer on iPhone? - iphone

Apparently, there are already some applications implementing auto-answer on iphone:
http://www.iclarified.com/entry/index.php?enid=20776
How is this done? How can I automatically answer calls programmatically? (private APIs ok)

First, one note on jailbroken vs private API:
Private API are just undocumented API, which can be executed on jailed or jailbroken devices. However, Apple will reject (won't accept them to AppStore) apps with private API usage. So, you can use them on jailed device, but you will have problem with distribution of this app.
My guess is that AutoAnswer is jailbreak tweak. They can be executed only on jailbroken phones.
I think the easiest way to learn how AutoAnswer is implemented would be to disassemble it and check which API it hooks. The harder way would be to disassemble Phone application (may be it's part of Springboard, I don't remember) and find which API you need to hook to provide the same functionality.

Related

Is it possible for me to control the iPhone calls?

I'm developing a call program in a iOS application. This is intended for personal use, not for the App store. I would like to control iPhone app to call someone, receive calls and disconect calls whenever I need. Is it possible for me to control iPhone calls? If it's possible, what api can I use? please name some, thank you very much!
No, this is not possible via the iOS SDK.
(I don't know if there are any solutions for jailbroken devices.)

How to integrate skype feature in my native app

I want to integrate Skype APIs in my native app. Is that possible? I have Googled around and couldn't find a way to start. I know there are APIs available for Mac OS X.
Can I make use of those APIs for my iPhone app? I know it is possible, as many apps like Nimbuzz have integrated Skype APIs in their iPhone apps.
Skype has a Public API which you can reference. This page has a wealth of information on how to use the API and the various commands. There is no public framework which abstracts it any further so you'll need to investigate how to make the actual commands by deconstructing the various wrappers.
I don't think Skype wants to particularly bring their API wrappers to the iPhone because you'd be competing directly with their own application. They do provide Cocoa wrappers but those are in the form of a framework and you can't have your own custom frameworks in an iPhone Application (only Apple approved ones). Also relevant: Skype bans Nimbuzz and fring while faking stats
SkypeKit sounds like what you want.
SkypeKit prohibits development on iOS devices. What may be of use to you is the URI scheme, This should let you open the skype App on your iPhone and place a call.
For additional help visit the Skype Developer Forum

iPhone private API of canAuthenticateAgainstProtectionSpace and didReceiveAuthenticationChallenge

I want to ask a questions about the canAuthenticateAgainstProtectionSpace and ddidReceiveAuthenticationChallenge. Are they private API iPhone application?
If yes, how can I modify it? And after I modify the private API of iPhone, will the iPhone reject my application?
If no, where should I put the modified code? I used to put the code within a .m file, but it did not work.
Thank you.
They are both documented in Apples documentation here So they shouldn't be private. Usually finding private API's takes some investigative work and yes Apple will almost always reject an App if it uses a private API (There has been one case I have heard of that they let it through) but you shouldn't run into troubles with those ones.
In addition to looking in the documentation for a method (if it's there it isn't private), you can also use App Scanner to search specifically for private API method signatures. It also allows you to scan your .app before submitting it to the review team.

Implement VOIP in iPhone and iPad

Does anybody is aware of implementing VOIP feature in iPhone and iPad.
The things for which i need clarity is,
By using which third party library/protocol can I implement this feature? Or is there any in built classed available in objective-c which I can make use of?
Is there any Apple store accepted iPhone application which uses VOIP implementation? If so where can I get implementation details of it.
This is a generic question. Can we use any third party's in our iPhone application or do we need to get any special permission from Apple reg the usage of third party's used.
Please let me know if needed more details reg this.
pjsip library has been ported to iPhone. Checkout pjsip.org
1.Yes you can implement using third party libraries like pjsip and linphone which provides example source code also.
2.Apple will not reject VOIP apps Check this iPhone app Links
https://itunes.apple.com/in/app/dial91-voip/id445578908?mt=8
https://itunes.apple.com/us/app/linphone/id360065638
3.I think no need to take permission from apple to use third party.

Search for wireless networks within an iPhone application

How can I search for wireless networks (and connect to one after) within an iPhone application? Is it possible?
Legally, you can't do that. Apple does not provide an API to work with. You could try private frameworks APPLE80221, but your application will be rejected from the Apple Store. Using private frameworks is a breach of Apple's development licence.