I was wondering if it's possible to achieve some sort of thing?
I have a web app, and for example - I want it to run facebook native app, is it possible?
You could use a custom URL scheme for your app.
See this question iPhone/iPad URL Custom Scheme to open a file
Related
I want to make an plugin like app in iphone for mobile web browser, in which i want to use safari (or any browser) current link and also link which is present on the web page, when i click on it my app should invoke for using targeted link.
I know plugins are not supported in mobile browser,
Can anybody have any solution without jailbreak?
Thanks in advance.
How can I launch my IPad app from another native IPad app such as email or web browser. I am pretty new to objective C. Thanks.
What you're looking for is what's called a Custom URL Scheme for your App. You can find more information and a great write up on how to accomplish this here:
http://mobiledevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
Is there any way of changing the url for phonegap on iPhone/iPad? In Android you can simply use loadUrl to change the url but a function like this doesn't seem to exist on iPhone/iPad.
I know there is a 'dirty' hack by using a redirect... but this rules out the use of the phonegap api on the external website which you are including in phonegap (via redirect).
Any help on this guys?
Many thanks.
If you want to change the url when you click on a link you just need to do :
window.location="page.html";
OR
window.location.href="page.html";
Is it possible to open another app, like Camera, from a third-party app? I know there are URL schemes - http://wiki.akosma.com/IPhone_URL_Schemes - but I just want to open an app, not send any data to the app.
Unfortunately, no. Launch Services is private API on the iPhone. You application can launch another app only through trying to open a URL registered by that app or a file document the app understands. However, as far as I know, your app has no control over or knowledge about which app exactly will handle the URL or the file.
One way to fire up the camera from within your app, of course, is the UIImagePickerController class.
http://developer.apple.com/iphone/library/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
It's not quite what you're asking, but it might be as close as you're going to get.
This sounds odd. In fact, it sounds like a security risk to me. However, I would swear that I have seen web pages that you can click a link on and it opens the app store on the iPhone.
My question is, is it possible to launch any application from through a web page? Can parameters be passed to the application? I do not need technical details. I'm just curious if it is possible.
Thank you,
Yes. From Control and configuration of applications through Info.plist - Invoking your iPhone application by URL:
Invoking your iPhone application by URL
The CFBundleURLTypes key allows you to specify URL schemes that will cause the iPhone to switch to your application. No, you can't override the schemes for the built-in applications.
If your application is launched using a URL type named scheme, then you can also provide a different startup image "Default-scheme.png" instead of the regular "Default.png".
See iPhone file extension app association for more details.