|
|
#1 |
|
How to connect the app to telephone
Hello there programmers
![]() I am really new and into this business with a friend of mine and we would like to publish an app together with him.It will be a very basic one and easy to use.But there is one problem that I couldnt solve.We would like to connect the app to the phone.I mean in the app when the client hits the name tag it will automaticly switches to the phone and dials that number and calls it.It must be easy as like, the client of the app have to click the name and put the phone into his ear and talk.How can we do this ? Any ideas ? It could sound really stupid question but I hope we will get a good begginers answer ![]() P.S : My friend know some C and C++ will it bwe helpfull for us to create a basic app ? Thanx all
|
|
|
|
0
|
|
|
#2 |
|
There is a telephone link in the Xcode SDK (Cocoa Touch API).
In about 4 seconds of google search, you get this -> Code:
-(IBAction)callPhone:(id)sender {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:2135554321"]];
}
__________________
CSS (Counter Strike Source) Tribute - iPad application ![]() iPad Mini, iPad 4, iPad 2, iPhone 3G,4,5, iMac 24", Mac Mini Last gen, Macbook Pro with Dell U2711
|
|
|
|
0
|
|
|
#3 |
|
Thanx a lot
|
|
|
|
0
|
|
|
#4 |
|
Just to be clear, jnoxx's solution only brings up the call interface with the number filled-in; the user must still press a button to make the actual call. There is no way with the iOS SDK to have an app call automatically.
__________________
|
|
|
|
0
|
|
|
#5 |
|
I don't think that's correct. I'm using it in one of my apps and it does actually initiate the call, with no user confirmation required.
|
|
|
|
0
|
|
|
#6 |
|
Well, I'll be damned. You're right! Maybe they've changed that since I last remember trying it. Anyways, good news for the OP!
__________________
|
|
|
|
0
|
|
|
#7 |
|
|
1
|
|
|
#8 | |
|
Quote:
So no accidental D: I am sorry that I dont tell the app When it comes out I hope you will see it and use it then you ll understand why I say its not accidental
|
||
|
|
0
|
|
|
#9 | |
|
Quote:
__________________
|
||
|
|
0
|
|
|
#10 | |
|
Quote:
Nope sir It's a secret I live in Turkey and the app that I will make is really important for our country but I dont know will it be that important for other countries.First I will publish it for Turkish Apple Store and further more I do researches I will publish it for other countries as well
|
||
|
|
0
|
|
|
#11 | |
|
Quote:
__________________
CSS (Counter Strike Source) Tribute - iPad application ![]() iPad Mini, iPad 4, iPad 2, iPhone 3G,4,5, iMac 24", Mac Mini Last gen, Macbook Pro with Dell U2711
|
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 12:54 AM.










Linear Mode
