Posts

Showing posts with the label xamarin

Xamarin Forms - WebViewSource shows blank page

Image
Xamarin Forms - WebViewSource shows blank page I have index.html and Posts1 - 10.html inside a folder called CachedPosts inside Environment.GetFolderPath(Environment.SpecialFolder.Personal) . My goal is to load index.html which has href links to load Posts1 - 10.html . index.html Posts1 - 10.html CachedPosts Environment.GetFolderPath(Environment.SpecialFolder.Personal) index.html Posts1 - 10.html You may tell me to use the Assets folder, but.. Posts1 - 10.html & index.html are being saved programmatically. Posts1 - 10.html index.html C# Code : C# Code So my issue lies in the "else" area. index.html loads, but whenever I click on the href link inside index.html , it loads a blank page :/ index.html index.html index.html Code : index.html Code <html> <body> <a href="Posts1.html"><h2>Interesting Stuff 1</h2></a> <a href="Posts2.html"><h2>Interesting Stuff 2</h2></a> </body> </html...

Error with lastest version Xamarin.Forms Button.CornerRadius

Error with lastest version Xamarin.Forms Button.CornerRadius [Update: Code worked on Android 8.0 simulator] I keep receive error No CornerRadius property found for the type Button My code behind public TabbedPage1 () { InitializeComponent(); this.FindByName<Button>("runButton").CornerRadius = screenX / 5; } My xaml <?xml version="1.0" encoding="utf-8" ?> <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="FuckThis.TabbedPage1"> <ContentPage x:Name="Page1"> <RelativeLayout> <Button xmlns:android="http://schemas.android.com/apk/res/android" x:Name="runButton" Text="Run" RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Propert...

Adding a Microsoft login page to my xamarin forms app

Image
Adding a Microsoft login page to my xamarin forms app I've been trying to implement a microsoft API in order for users to sign into my app using a microsoft account. I've tried using Auth0, but it has different code depending on the platform. My app is supposed to be a cross platform app that's native to both iOS and android. So basically I'm trying to find a way to implement it in the section highlighted in the image below. Any suggestions would be helpful. Also, i've found a couple tutorials and step by step walkthroughs but they're really complicated. I'm still new to xamarin and coding in general so I'm kinda looking for an easy fix here. And i'm pretty sure I haven't explained my situation in the best way but I can't really think of any other way of phrasing it. Thanks By clicking "Post Your Answer", you acknowledge that you have read our updated terms of servi...