I would like to allow the default authentication from the Xamarin review. Please share the code with. I am pretty new.
Related
I have a webview that contains a video in my Xamarin forms application. Android does not allow for full screen but iOS does I know I could implement the WebChromeClient but I have only seen this done for Xamarin Android and not for forms. I can't seem to get it to work. Any ideas?
If you need to access the underlying native controls and their properties, methods and events, you do that with custom renderers.
I'm glad I found this because I don't think I could of done it on my own.
https://github.com/mhaggag/XFAndroidFullScreenWebView/tree/master/XFAndroidFullScreen/XFAndroidFullScreen
I'm new to mobile app dev, so I'm not sure whether this is Xamarin related, or is it just a general limitation on webview controls, or whether this is specific to Android (only tested it on android...), or whether its me just not understanding the underlying tech thoroughly :)
I'm building an app that has a WebView to some site.
The site is built with AngularJS and utilizes the HistoryAPI for manipulating navigation.
I started experimenting with Xamarin for the implementation.
I used the WebView sample and just updated the url to point to my site.
But it seems the sample is not functioning as it should for navigation.
The CanGoBack getter always returns false on my site and it seems to be related to the historyApi navigation...
One more note - if I bypass the CanGoBack and just call GoBack the view actually goes back to previous page, but of course this is unacceptable...
Hi I am working on a xamarin.forms cross platform app and I am not able to get proper UI If I check the same app on other phone there is misalignment in the buttons.Is there any code that can be used so the buttons look fine in all phones ?
Thanks
Making a responsive mobile app UI could actually be a challenge somehow. These two links however, might be helpful:
Adaptive UI with Xamarin.Forms
Tips for Building Adaptive Xamarin.Forms Apps
I'm trying to implempent cross-platform bluetooth functionality into my Xamarin application for IOS and Android, but the links on the Xamarin website are deprecated and/or missing from the site entirely.
https://developer.xamarin.com/samples/mobile/BluetoothLEExplorer/
This link is where the documentation sends me, and the page states that the code is deprecated and links to something else called Monkey Robotics, however that component is no longer available in the component store. Am I missing something here?
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.