openurl

End call, don't return to app automatic in iphone 3.1 version.

my app use openURL to have a call, but when I end call, it will not return to my app automatic in iphone 3.1 Anyone know that?It's a bug of iphone 3.1? Thank you very much! ...

IPHONE: How do I override the "cancel\call popup-box" that comes when dialling a number programmatically?

Hi.. I'm currently developing a project that at some part calls a number of the user's choosing. I use the snippet below to call the number. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:newNumberString]]; The problem is that the box that pops up has buttons with titles in English, but my program is not in English, ...

openUrl in landscape mode in iphone

Hi Fellas, I am trying to open the url through safari in landscape mode. But still not able to do it. Following is the code. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.abc.com"]]; [[UIApplication sharedApplication]setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:YES]; Thanks in ad...

Possible to open iPhone Safari and target a specific window?

I have an app that uses OAuth to authenticate, which means the user must be directed to the website to authorize the application. I prefer to make it obvious to the user that they are using a standard browser to authorize at the original site rather than just using a web view to show the content within my app. However, every time they ...

Problem opening URL with browser Safari on iphone

I, if I try to open this URL: http://compraonline.mediaworld.it/webapp/wcs/stores/servlet/ProductDisplay?catalogId=20000&storeId=20000&productId=2135168&langId=-1&category%5Frn=60701663 with Safari for iPhone, the URL that is loaded is without final part &category_rn=60701663. Thanks to everyone for the help ...

openURL and YouTube

Is there any way to open the YouTube app from my app, with a defined search query? If not, is there a way to just open YouTube, without playing any video? All I'm finding is ways to play videos. ...

openURL: with a NSURL containing a formatted NSString isn't working

To open Google Maps with directions, i'm using a formatted NSString inside a NSURL. But it doesn't work with [[UIApplication sharedApplication] openURL:nsurl]; code: NSString * directionsURL = [NSString stringWithFormat:@"http://maps.google.com/maps?daddr=%@&saddr=%@", @"Hartenseweg 16, Renkum", @"1 Infinte Loop, Cupertino"]; [...

Where does UIApplication's handleOpenURL 'Return' to exactly?

I'm working on a handling a custom URL Scheme in an app and am trying to sort out: - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url I'm passing and successfully parsing a URL into an NSDictionary in my app but wondering "what now?" handleOpenURL returns a BOOL but to what? It's hard for me to debug as I hav...

Change iPhone's default Browser

Is there any way to alter the application an iPhone uses to view websites so that Safari isn't opened by default? I'm thinking it may be possible with a Jailbroken phone by editing an application's Info.plist to trick the iPhone into thinking a 3rd Party browser is Safari or using some form of openURL to handle all NSURL calls. ...

iPhone: Is it possible to open a password-protected file using openURL?

Title pretty much says it all. My app has the URL and password for the file myFile.ext, located at: https://myserver.com/stuff.cgi?db=mydb I want to create an NSURL object which, if passed to UIApplication's canOpenURL and openURL methods, will result in appropriate behavior. Is this possible? If so how? And are there security issu...

Code execution prior to loading an url from an iPhone

If you call: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://test.com"]]; it seems to automatically quit your app -- bypassing the dealloc, viewDidDisappear, or any other functions. Is there a way to put any code between this call and the Safari (or Phone or Email) launch, without having to put a timer before...

NSURL doesn't work any time

Hello community, i have the following problem sometimes my openURL-Dialog works perfectly, then i looked at the variable from the url and that is the variable: www.brehm-gmbh.de but some other times there are some crazy elements at the end of the variable like this: www.adamczyk-fenster.de%E2%80%8E i get this pages from an .asc fi...

Behaviour of openURL tel: on iPhone 3.0.1, is it asking for confirmation before dialing?

I know that on 3.0 there is a confirmation alert. I know that on 3.1 there is NOT a confirmation alert. How it is on 3.0.1? Is there some docs about it? Maybe someone can check on their iPhone? (On 3.0.1 of course) thanks ...

Do Apple require Network detection for openURL in Safari from your app?

I am about to submit my first iPhone app to the app store and within the about page, I have a link to our website. Is it ok to allow Safari to open and fail to load if network is not present, or will I be required to use reachability code to detect this beforehand? I don't want the app to be rejected, so want to cover all bases. Thank...

iPhone generalPasteboard loses contents if application is closed by an -openURL: call

I have a method, that puts something on the pasteboard. This method is called one of two ways, one, as an IBAction from a button, the other from another method which afterwards closes the application by doing: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:"]]; The problem arises only when the application is not...

Emailing HTML from within an iPhone app is stopping at special characters

Hi, I have an iPhone app that will let users email some pre-determined text as HTML. I'm having a problem in that if the text contains special characters within the text (e.g., ampersand &, >, <), the NSString variable that I use for sending the body of the email gets truncated at the special character. I'm not sure how to fix this (...

iPhone Daemon Processes and UIApplication's openURL

I have a daemon process which I created running on my iPhone (so yes it is jailbroken). I have been able to use the Audio and CoreLocation frameworks without problems. However when I try to use NSURL *url = [NSURL URLWithString:@"astraproto://hi"]; [[UIApplication sharedApplication] openURL:url]; it just doesn't open. The protocol is...

Multiple strings in openURL. iPhone SDK

Hello, I am making a twitter application for iPhone, I am trying to add a button which will open Safari, and take the user to their twitter homepage. I have a textfield called username, so the following code does not work, hopefully someone will be able to help me out. -(IBAction)viewAccount { [[UIApplication sharedApplication] ope...

Restarting iPhone application after [UIApplication sharedApplication] openURL

Hi, As title says I'd like to know how to restart my iPhone app after doing this: [[UIApplication sharedApplication] openURL:[NSURL UrlWithString:@"tel://0123456789"]] It seems pretty simple as I saw many topics also talking about restoring the very state of the application when openURL is called, but I can't find how to simply restar...

UIPasteboard size

I am trying to do an upgrade path for a lite to full version of an application, that can store an indefinite amount of data (I dont want to do in app purchase). I would like to be able to upgrade using a custom url without needing an online presence to cache the data to. So was thinking of using a UIPasteboard object. Does anyone k...