Questions tagged [openurl]

A cocoa method on iOS letting developers access other apps from inside an app.

376 questions
2
votes
0 answers

start application from browser work in some devices only

i"m trying to launch my application when user enter url in the browser this code works perfect on some devices like HTC and doesn't work on others like Galaxy s2 and s3 ... what is the difference and how do i solve it ? lest say if he is type…
Jesus Dimrix
  • 4,378
  • 4
  • 28
  • 62
2
votes
1 answer

Little script for Unity3D to open URL in a default external browser

my question is for Unity3D developers. I have a project in Unity almost finished, now i need to setup some objects to open URL (www) links to a web browser. I need a script that i can attach to any gameobject to open any URL. I really appreciate…
rebit
  • 33
  • 2
  • 5
2
votes
3 answers

iOS OpenUrl Equivalent in Android

Is there a way to implement OpenUrl functionality(as in iOS OpenUrl) in android? for example, If a user is redirected from a webpage(in a browser) to "myapp://main", android will launch my app.
Jesus Dimrix
  • 4,378
  • 4
  • 28
  • 62
2
votes
0 answers

CFBundleDocumentTypes with Photo Library / Camera Roll

I've added CFBundleDocumentTypes (public.png, public.jpeg, public.jpg, public.gif) to the Info.plist file. When I view an image in the "Mail" or "Messages" apps and click the "actions" menu button, I'm prompted to "Open Image in [My App]" ...…
Matisse VerDuyn
  • 1,148
  • 15
  • 40
2
votes
3 answers

Force iPhone to open Facebook's URL in Web Navigator (Safari, Chrome, Opera Mobile, etc)

i have a simple question: I can´t force the [UIApplication sharedApplication] openUrl: to open the url in the web navigator, always open the Facebook app and don´t go to the facebook pages.
Erusso87
  • 667
  • 1
  • 7
  • 19
2
votes
1 answer

Login with Yahoo in ios

I implemented the Login with Yahoo functionality in my native app. I got the code from: Github. It works fine to login in safari but I can't able to redirect to the app after Login. It shows like: If I pressed close button, nothing is going to…
user2893370
  • 701
  • 1
  • 9
  • 23
2
votes
1 answer

Sending a link with custom OpenURL scheme to others gets disabled by some email applications

I have an iOS app and in info.plist I set a custom URL scheme so if someone opens up a URL starting with that scheme (protocol), my application gets opened and show the user, the proper content. BTW I want to send users email containing a link with…
Mohsen Asfia
  • 235
  • 1
  • 3
  • 12
2
votes
1 answer

application:openURL:sourceApplication:annotation: not called in app delegate

I'm using the application:openURL:sourceApplication:annotation: to open a file with an extension .ftl. This is declared in my app's info property list. The .ftl file is attached to an email, and when touched calls an ALREADY LAUNCHED app. The code…
Lee Barringer
  • 103
  • 2
  • 9
2
votes
3 answers

in IOS,how to remove +-#*() ,which get from address book

In IOS,how to remove +-#*() ,which get from address book. for example: NSString *txt = @"+1(510)1234567" txt = [NSString stringWithFormat:@"tel://%@", txt]; [[UIApplication sharedApplication]canOpenURL:[NSURL URLWithString:txt]]; it's a invalid…
HamasN
  • 524
  • 1
  • 5
  • 20
2
votes
1 answer

Segue after openURL in AppDelegate

I have a button with a action (toggleApplication) that opens another application. When I return to my application from the one that was opened I want to segue to another view. But I get the following error from my code: Receiver…
Daniel Tovesson
  • 2,550
  • 1
  • 30
  • 41
2
votes
1 answer

ios - Every time application:openURL:sourceapplication is fired, iCloud backup size increase

I have an app that opens different files. To avoid the app to be reject from Apple, only user data must be backed up on iCloud. I have done all to meet "iOS Data Storage Guidelines" requirements. But I can't resolve this issue: Every time the…
Claudio B.
  • 75
  • 4
2
votes
1 answer

iOS6: Changed behavior when using tel://-url to dial phone number

I am seeing an undocumented changed behaviour, when using the tel:-URL-Scheme to dial a phone number. Example [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://232322"]]; In iOS4 and iOS5 after the called ended, the user was…
holtmann
  • 6,043
  • 32
  • 44
2
votes
3 answers

How to dynamically change the openURL implementation in my app?

In my app, I have implemented a private method in my AppDelegate to override the default openURL: method in order to open links inside my app within UIWebView. But now I need the default functionalities in place too. Here's what I…
Ashutosh
  • 5,614
  • 13
  • 52
  • 84
1
vote
3 answers

Android Orientation change by force when using ACTION_VIEW intent

I have Application which is landscape mode. I put attribute " android:screenOrientation="landscape" " in manifest file. My application has following code. Intent intent = new Intent(Intent.ACTION_VIEW,…
muyoungko
  • 73
  • 2
  • 8
1
vote
2 answers

Is it possible to go back automatically into the application after calling a Number?

In my application I have some phone numbers, so that the users can call the numbers. When the users tap the numbers it push them out of the application to call the number they tapped. What I want is that the application should get the users back to…