Check if app is already installed on iOS from safari "Browser" using java script or any other way. - iphone

Check if app is already installed on iOS from safari "Browser" using java script or any other way. I need to check on my website weather my app is installed or not. If yes then I would like to open the app when somebody opens my website.
I have the URL for my app to open.
Right now I have given two options on my website:
1) I have app installed will open the app
2) Available on the app store.
I want to decide at my side weather app is installed or not.
Using Any web technology.

The new smart app banner feature in iOS 6 may cover what you are looking for.
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html

Related

How to install a Progressive Web App on a mobile device?

Im using an iPhone to browser thru various PWA demos online.
Is the installation as simple as adding the URL to the Home Screen?
Well, as of today, iOS lacks proper support for PWAs, so you won't get any PWA-specific benefits of adding the Web app that is a PWA to the Home Screen on your iPhone. Basically, yes, you will have a shortcut on your Home Screen, but it wouldn't give you any Service Worker capabilities and also your users will never be prompted to add the app to the Home Screen automatically.
On iOS there is only a non-standard Apple solution with meta tags available that allows you to customize the appearance of your website when added to the Home Screen to some extent. See Apple docs.
See What Web Can Do and caniuse.
UPDATE Jun 2018: As of Safari 11.3, iOS supports PWA installation and Service Worker features. However it does not prompt for installation, so the only way to "install" a PWA is to use good old "add to home screen" menu link. Also, it still does not support Service Worker-based Push messaging.

How to make a plugin like app in iphone

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.

Can an app on mobile phone(iPhone) start another app?

E.g. When you download pdf on the browser (PC) hit starts the Adobe acrobat..similarly...can any app find another app is installed or not..and if its installed...can it start?
on iphone..when you click on a HTTP link from an app it starts browser automatically..similar..
There is limited support for declaring custom URL schemes. Have a look at the answer to a question I asked previously.

iPhone Web Appication deployment and distribution process

--I haven't develop any iPhone Web Application ever...so i am little bit confuse about that.
--I want to build a Web Application for iPhone which will be made using(CSS+JavaScript).
--I read some where that no approval is required for iPhone Web Application.
is it correct ?
--And if i have made my iPhone Web Application (using CSS+JavaScript)and uploaded at my server.
--and if i want to open it in UIWebView using iPhone SDK simply...
--is this Application is valid for iPhone Web Application portal https://adcweb.apple.com/iphone/index.php or not ?
--how can end users get the Application on their iPhone after submiting to the portal...
--can any one explain me the whole process of iPhone Web Application deployment and distribution process ?
Thanks in advance...
iPhone (and others) have support for "stand alone" web apps. These are web apps that are designed to work offline. These applications are hosted on the web, but along with the application is a manifest file that describes all of the resources that the application will need. These resources are all downloaded to the device.
On the iPhone, to "install" one of these applications, you need to simply bookmark it. When you bookmark the app, the phone asks if you want an icon for it in the standard app area, vs just a bookmark in the browser.
Once bookmarked, the user can simply tap on the icon like any other application. This will launch safari for your application, and it starts using its local resource. There's no reason a standalone application that never touches the internet can't be written. The Safari Reference Library has a lot of information on this.
If you'r building a web application, we talk about something, that does not need to be installed on the iPhone, because it runs inside the browser. So yes, you don't have to go through the approval process, it's just a website optimized for the iPhone. The submission you linked to in your question is to get listed at apple with your web application (I'm not sure about the guidelines for that), it,s not a submission for the app store. You don't have to (and you should not) make use of the SDK by using UIWebView, because that would mean to build an native application which needs approval, has to be installed etc. If your goal is or can reached by building a web application, all the user needs is safari.
You do not need approval for a web application. The iPhone can view any web page through its browser (as long as there's no flash), so just implement your application as you normally would, but design for the smaller screen. The submission form is just for listing in portals (I don't know which portals).
If you want to make a native iPhone application that talks to the server, then you need to sign up for a developer account and develop the application in Objective-C (with the help of UIWebViews, which are essentially embedded browser windows). That will require approval.
What about a web application that needs to be installed. By that I mean an application that consists of a web page (with embedded CSS and Javascript) that uses HTML5's localStorage to work offline. You still need to be able to access the page itself if you lost the connection, i.e. the page needs to be stored locally, because once you are offline, you can't access it from a server outside...

Requirements for web development for iPhone Mac/Windows?

I am planning to make an iPhone web application and I just wanted to know what is required for web development?
Can I do the web development on a windows machine? Does Apple provide any iPhone plugin so that we can develop web application using Windows?
What is required for developing on a Mac?
Regards,
Amit
If you are making a web application, you can download Safari for Windows and view it there.
You can also use Joe Hewitt's iUI framework to make your app look and feel all iPhone-y.
? If you are gonna build a web application, the application runs on the browser. To use your application the user use Safari (on the iPhone). Apple doesn't control web applications.
If you mean, embed your web application, INSIDE a native iPhone application, you need a Mac to build the wrapper, for the core application you can use whatever system you want.
May I suggest to take a look at phonegap (if you are looking to iPhone app).
Check out these three apple sites:
http://developer.apple.com/safari/library/codinghowtos/Mobile/GraphicsMediaAndVisualEffects/index.html
http://developer.apple.com/safari/
http://developer.apple.com/safari/library/navigation/CodingHow-Tos.html
I would check out these pages thoroughly, and also at a minimum, I'd download safari for mac or windows.
Yes, you can develop it on windows. They are just web apps.
For mac or windows, latest safari and a public website is probably all you need. Check out google app engine for a good free development site that supports a database/datastore. www.appspot.com
Also, you can look at the webapps on a regular computer. http://www.apple.com/webapps/travel/staycation.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=25536&cat=94&platform=osx&method=sa/
http://www.apple.com/webapps/games/
I presume you are talking about creating a web application designed to be used from an iphone.
The iphone uses safari as its browser. You can download this for use on windows and it should give you an accurate representation of how your app will look when rendered on an iphone. However in order to test how well your app performs on the phone, and if it really is usable using the touch screen the I think the only way to be really sure is to test using the iPhone.
You can use safari for windows to test the rendering but for your final tests you need to use a real iphone in order to understand how your users will experience it.