Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2011, 04:10 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 97
iphone.savvy is on a distinguished road
Default How to get control back?

Hi Experts!

I want my application to get its control when Phone application is finish calling.
I know some thing about URLScheme but i don't know where to place below code snippet.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"myapp://"];

Would you please let me know the steps involved in achievement of above task?

Thanks.
iPhone Savvy.
iphone.savvy is offline   Reply With Quote
Old 12-15-2011, 06:21 AM   #2 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 97
iphone.savvy is on a distinguished road
Default

How to get control back to the application once we have opened some other applications inside our App?
Any Idea?
iphone.savvy is offline   Reply With Quote
Old 12-15-2011, 06:35 AM   #3 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

You can't, unless that other application was made by you as well.
baja_yu is offline   Reply With Quote
Old 12-19-2011, 03:45 AM   #4 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 97
iphone.savvy is on a distinguished road
Default

Quote:
Originally Posted by baja_yu View Post
You can't, unless that other application was made by you as well.
Hi ,

According to Apple's documentation, in order to make phone call from my app, I need to implement the following protocols:

HTML link:

<a href="tel:1-408-555-5555">1-408-555-5555</a>
Native application URL string:

tel:1-408-555-5555
However, upon completion of a phone call initiated from an HTML link inside a UIWebView, I am redirected right back to my application. But upon completion of a phone call made from a native application URL string, my iphone stays in the iphone's regular phone application, and if I want to return to my application I have to do so manually.And this is not the case if we open SMS/Email application inside our Apps.

As far as I can tell from reading what others have said, there is no way to change this behavior.

Here is my question:

Is it true that it's impossible to return to an application after making a phone call from a native application URL string?
Would there be any downside to implementing a UIWebView instead of a UILabel in situations where I really wanted the user to be redirected back to my application after completing a phone call?

Last edited by iphone.savvy; 12-19-2011 at 05:28 AM.
iphone.savvy is offline   Reply With Quote
Old 12-20-2011, 03:27 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 97
iphone.savvy is on a distinguished road
Default

I got it .

Thanks
iphone.savvy is offline   Reply With Quote
Old 01-16-2012, 01:17 AM   #6 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 3
johny is on a distinguished road
Default

Quote:
Originally Posted by iphone.savvy View Post
Hi ,

According to Apple's documentation, in order to make phone call from my app, I need to implement the following protocols:

HTML link:

<a href="tel:1-408-555-5555">1-408-555-5555</a>
Native application URL string:

tel:1-408-555-5555
However, upon completion of a phone call initiated from an HTML link inside a UIWebView, I am redirected right back to my application. But upon completion of a phone call made from a native application URL string, my iphone stays in the iphone's regular phone application, and if I want to return to my application I have to do so manually.And this is not the case if we open SMS/Email application inside our Apps.

As far as I can tell from reading what others have said, there is no way to change this behavior.

Here is my question:

Is it true that it's impossible to return to an application after making a phone call from a native application URL string?
Would there be any downside to implementing a UIWebView instead of a UILabel in situations where I really wanted the user to be redirected back to my application after completing a phone call?

Can you share your findings?
johny is offline   Reply With Quote
Old 02-07-2012, 12:03 AM   #7 (permalink)
Registered Member
 
Join Date: Feb 2012
Posts: 1
gumpu2002 is on a distinguished road
Default

please share you findings
gumpu2002 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 393
13 members and 380 guests
7twenty7, AppsBlogger, Creativ, David-T, Duncan C, HemiMG, heshiming, LunarMoon, Murphy, pbart, Sami Gh, teebee74, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,915
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0