Displaying Google Map on a UIWebView - xcode

i have this url:
If i open it up in the iphone or in the ipad, the uiwebview displays the step-by-step to reach the final place.
I want to display the MAP by default.
Is there any way to do that? I mean, with some kind of adaptation of the url?

I have the same question,
according to Apple URL Scheme Reference - Map Links
it seems that we don't have an option to do that.
besides, there's an article building a WEB APPs, I'll post the link in case it might be helpful
Location in iPhone Web Apps

Related

how to write nfc NTAG215 cards and read it without an app on iphone

I am interesting in writing an url to NTAG215 cards, so far I have download some apps for Ios tagwriter and NFC tools however once I try to read the card I have to open the app and read it, and my intention is to approach the phone and it will be able to pop up the window that let me open the link.
I have read and search quite a bit online about this but I am confused if this is something that needs to be develop using a sdk or its something the I have sort it out playing with the phone configuration.
any information will be much appreciated.
JL
So iOS does support some background processing of URL's in the correct form.
See https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading
If you look at the NDEF spec https://github.com/haldean/ndef/blob/master/docs/NFCForum-TS-RTD_URI_1.0.pdf and look to only support URI Identifier Code 3 & 4 and possibly not 1 & 2
And from Apple's doc's
Note
Background tag reading doesn’t support custom URL schemes. Use universal links instead.
Definitely not URI Identifier Code 0 (custom URL)
And NXP Tagwriter App seems to default to "custom URL", so try writing the URL using the https:// or http:// from the drop down menu.

How can Xamarin be used to wrap a web app as if it were a native app for Android?

Say I build a super mobile friendly web application that I want in the Play Store for Android users to be able to download.
Could I use Xamarin to:
Wrap the entire mobile app as a single WebView
Register for mobile push notifications
Essentially shortlining an MVP of an android app by using an existing web app? If so, is there any well-known process or documentation that demonstrates this?
Probably the best approach for you would be using Xamarin Forms with one or more pages containing only web views.
I don't love Xamarin Forms because usually for me Xamarin Android+iOS gives a better result in similar time, but your app would be so simple that doesn't make sense to do it with Xamarin Android.
Make sure that your web app will show only what makes sense to be shown in your app, otherwise you risk to see double header/footer, useless buttons... but if the website is yours adding a few parameters to change a bit the UI won't be a problem I guess.
Have a look at this example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
Another approach is the use of Razor to build your pages in html directly inside your app, but if I understood well it's not what you need:
https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/
Although it is technically possible to do this as the previous answer has suggested. I would recommended firstly reviewing, the relevant stores guidelines on submissions. Apple for example will not allow a submission to their store of any application that simply mirrors the functionality of a website. I suspect Google's would likely be the same.
However that said, to answer your question, Xamarin.Forms would be appropriate for a simple application like the one you are suggesting. Or if you prefer to build to a specific OS, then in iOS with Xamarin you would use the Safari View Controller that was added in it's xcode 8.1 release. Android uses something similar as does windows.
EDIT:
You can use the Web View control in Xamarins Andorid native PCL project to encapsulate your mobile friendly website within an application here is the documentation:
Xamarin Android Developer link to Android Web View
As for push notifications, yes this is perfectly possible using Xamarin.Android. and varies on implementation depending on what you want to use as the back end to handle them, I.E. Azure's notification hub etc.

Open Facebook Post in Facebook App From iPhone App

If I have the id of a Facebook post, how can I open it in the native Facebook app? I am able to open links using [UIApplication sharedApplication] but I cannot come up with the correct URL scheme. For instance, fb://profile/pidhere works to open the profile but I can't figure out how to open an individual post. Thanks a bunch!
It's been asked many times here. And the answer is: it's not possible.
There are methods to do this on Android, but that is not officially supported. You should not rely on it. This is the same for iOS. Some links work, but they are unsupported, can change any time and for some items, such as posts, it's not possible at all.

Using google docs as a publishing tool

I am an author of short stories. I like using google docs and I like the idea of when I update a story these changes propagate to the sites I publish on. This system works fine in the latter versions of chrome and IE. http://plumplucker.com/
This doesn't work in IOS and only when using Opera on android - At present I need to create PDFs to work on an iPhone or an iPad which defeats my purpose of instant updating.
But right now I am trying to get Firefox to display the contents of the embeded iFrames, but FF 9.01 only shows the outline of the iframe containing a blank page. This is btw how ios displays the same page.
Here is my test page http://plumplucker.com/test3.html
In FF this page will load an iframe of my site, but it will not display the stories. I also tried having docs on google apps in case that would act differently - but no difference.
I have tried
Any one have a clue?
Just wanted to say that I have given up on inserting google doc iframes into my webpages hoping that they will render correctly on all platforms and browsers. That proved to be wishful thinking.
Instead I have constructed an app that builds static pages from the Google doc url's. First I let this happen on the fly every time a user selected a story for viewing, but there was quite a lag with this method and with afterthought I saw no reason not to create static pages. This I do for all my texts even if I have only changed a few details in one of them. I publish PDSs at the same time with TCPDF.

Open Windows Phone 7 App from URL

I need to launch my WP7 application from the phone's browser and pass some arguments. For example, the following url would be a link on an html page. Clicking the link would start my application. iPhone and Android both have these capabilites by the name of 'url schemes'.
appName://my.arguments.here
How can I accomplish this on WP7?
Thanks!
Unfortunately there is currently no support for "url schemes" or custom URL handlers that will allow you to handle these requests from within your application.
It is possible to integrate with the search application, which can provide deep linking into your application. It also appears that YouTube has some kind of way of doing it, as the mobile version of their site will jump to the app for playback of videos.
You should use the protocol activation feature of Windows Store apps - see http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx

Resources