How to save web page as desktop icon (bookmark?) on iphone/android? - iphone

Is it possible to prompt the user if they want to save a URL to their desktop (as a desktop shortcut icon) on the iphone or android? I've seen this in the google calendar on the iphone... a little prompt slides up from the bottom of the screen asking if you want to install the google calendar app, but I'm pretty sure it's just a google calendar desktop shortcut.

The best solution I've found for iDevices is the Mobile Bookmark Bubble found here: http://code.google.com/p/mobile-bookmark-bubble/
This is a small javascript library that adds a pop up bubble at the bottom of your iDevice screen and points to the '+' button.
I haven't found a good solution for Android since there are so many steps. If anybody finds one, please let me know.

Add:
<link rel="apple-touch-icon" href="...">
to the HEAD element of your document.
For more info, check out this thread:
What size should apple-touch-icon.png be for iPad and iPhone 4?

This plugin might be a good solution:
http://cubiq.org/add-to-home-screen

Related

Adding quick walkthrough about the APP in flutter

I am new to flutter and I have created an Todo app, for that I want to add a quick guide once the the users opens the app for the first time after installation.
I have seen something like that in the ICICI mobile app, there once you installed it will give a you a quick tour about what all option you will get with a pointing arrow, below that its description and a next button, I want to do similar to that in my flutter application.
Can anyone who had implemented the same, or know about it , can you share the same.
Thanks
Here is the plugin named- feature_discovery which shows the app tour guide following the material design guidelines.
It's quite simple what all you need ::
Whole screen image including pointing arrow.
Your Button to go next and previous.
Connect all screens using navigation.
That's it,
Thanks.

custom popup screen in iOS app

I am new to iOS app development.
I want to develop a popup screen, that should popup when a button is pressed. In this popup I want to show a Login screen, where user will enter username and password and will submit the credentials. I have following requirements to be fulfilled.
It should support all iOS 5.1 and upwards.
It should also support any device orientation.
It should work for both iPhone and iPad.
It is to be delivered in the form of a library .a file.
It will contain a logo(image) also.
I am not able to find out how should i proceed for this, for BB10 I have used sheets for the same purpose.
Any suggestion on how to develop this for the iOS apps.
thanks.
For your first three requirements will fulfill by adding textfields into alertview and for 4th creating library kindly see this Tutorial. Hope it'll help. Thanks.
#mayank http://code4app.net/category/popupview it contains many project for pop up view it will help you!

Adding Web Shortcut to iPhone Homescreen?

How can I BY CODE add a web shortcut to iPhone HomeScreen?
There is no API to do this. Your best bet is to do what many web apps do: create something that points at the part of the toolbar where the add to homescreen button exists. And pray Apple doesn't change the position of that button any time soon.

Link Target in iPhone Based web app

I am building a web application that is to be run by adding the app to the home screen. Currently it has a list of users, clicking on a user takes you to a detail screen for that user and on that screen is a notes link to take the user to another screen with a grid of notes and a text box to add more notes.
When any links are clicked/tapped, the link is opened in Safari, not the current full screen Safari instance. I tried setting the target of the link to _self, but this had no effect.
Any ideas?
I learned a full screen iPhone webapp can only be a single web page. Any link you try to open will launch Safari instead of replacing the current page. To combat this, I used asp.net postbacks with panels to hide/load/show requested data.
I use target="_webapp" and it works just use for example <a href="http://your.link" target="_webapp"> and it gonna open the link without exit landscape (full screen) i dont know why but with some of my webapps works and sometimes dont.

Adding Icon on desktop of iPhone

I want to place an icon on the iPhone screen form my application, like placing an icon and if i will touch that icon it will do the desired operation, like opening a sound file or an image.
So i want to ask is it possible to place an icon on screen through an application and do some events on it.
Regards,
Vishal
You can't do that. The only icon that will appear on the iPhone home screen will be the icon for your application itself.
Edit:
Expanding on the web shortcut idea suggested by Gene, it might be possible you achieve what you want by having a web short cut using a specific protocol handler to open your app with a web short cut added to the home screen. Take a look at this article:
http://www.mobileorchard.com/apple-approved-iphone-inter-process-communication/
I believe that would still require the user to add the shortcut though, I don't think a third party app can add web shortcuts.
I found it annoying that google maps cannot be page bookmarked onto the home screen. Here is an almost quick solution:
Create a Tiny URL of the target Google Map. SF Bay Area Traffic is http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.55111,-122.121277&spn=0.810034,1.182404&z=10&layer=t
Mail yourself the Tiny URL.
Select the URL in the email application.
Before Safari realizes that it is a Google Map url, touch the x on the url line to cancel the transfer to the Google Map App.
Touch the + at the bottom of Safari and touch "Add to Home Screen"
Name it appropriately and, there you have it, a Google Map entry on your home screen.
Andynormancx is correct. The only exception to this rule (that I know of) is a web shortcut -- within Mobile Safari, you can select "add to home screen", and a shortcut to the bookmarked page will appear on Springboard. The icon is a partial screenshot of the web page.
I don't know if this would be useful to you, though I suppose you could bookmark a link to a sound file or image.
What you can do is create an application and under ApplicationDidLoad in your ApplicationViewController.h
You would type in your code. (If you don't have the SDK, then don't post the question with the tags iPhone-SDK and Cocoa.)
In addition to Gene's answer, you may want to set the following meta tags:
<link rel="apple-touch-icon" href="https://path/to/icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />