Xamarin Android Otp Sms Autofill without sms permissions
Stack Overflow » Xamarin
by Mehmet Sandıklı
14h ago
Is it possible to autofill/read OTP SMS in xamarin forms android without using permission? I researched but couldn't find an example other than broadcast. Is there "AUTOFILL_HINT_SMS_OTP" support in Xamarin like in native android ..read more
Visit website
Auto applying element styles
Stack Overflow » Xamarin
by DarkVss
22h ago
Im set style in App.xaml <Style x:Key="ContentPageStyle" TargetType="ContentPage"> <Setter Property="BackgroundColor" Value="{AppThemeBinding Light=#FFFFFF, Dark=#020202}" /> </Style> This style applying only case if set Style property for ContentPage element <views:BasicView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:views="clr-namespace:SkeletonApp.View.Page;assembly=SkeletonApp" x:Class="SkeletonApp.Example.MainPage" Title="Home"> ..read more
Visit website
BlazorWebView in Maui cannot click anything
Stack Overflow » Xamarin
by CodeMan03
2d ago
When I use a tabbed page layout and call blazor web view pages in my Shared RCL, none of the buttons work in those pages. When I use the normal navigation everything works. Am I calling this correctly? Here is the normal MainPage.Xaml <BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html"> <BlazorWebView.RootComponents> <RootComponent Selector="#app" ComponentType="{x:Type local:Components.Routes}" /> </BlazorWebView.RootComponents> </BlazorWebView> Here is my modified MainPage.xaml with a tabbed page. This will sho ..read more
Visit website
.NET MAUI redraw animation during switch between two TabBars
Stack Overflow » Xamarin
by Martin Dvořáček
3d ago
I have two TabBars in AppShell.xaml switching between them. <TabBar> <Tab Title="Novinky"> <Tab.Icon> <FontImageSource FontFamily="FASolid" Glyph="{StaticResource IconHome}"></FontImageSource> </Tab.Icon> <ShellContent Title="Home" ContentTemplate="{DataTemplate view:HomePage}" Route="HomePage" /> </Tab> <Tab Title="Skupiny"> <Tab.Icon> <FontImageSource FontFamily="FASolid" Glyph="{StaticResource IconGroups}"></FontImageSource> </Tab.Icon> ..read more
Visit website
Not Able to use the keyboard on Android 14
Stack Overflow » Xamarin
by ManojSF3414
5d ago
Android application type Xamarin.Forms application Xamarin.Android application Affected platform version Android 14 Emulator (pixel 7 pro) enter image description here Un affected platforms tested Android 13 emulator(pixel 5), Android 9 emulator(pixel 2), Android 14 Device (Samsung s21fe), Android 13 device (S20fe). Description: When using the Edit text on the alert dialog box, opening the alert dialog box 2nd time makes the built-in keyboard unusable Steps to Reproduce: 1. Open the application AlertDialogIssue.zip 2. Press open dialog 3. Enter any text in Edit text and press OK 4. Now the key ..read more
Visit website
Add spinner to right of checkbox on layout
Stack Overflow » Xamarin
by Prescott Chartier
5d ago
I have the following layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:src="@drawable/banner2" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/imageView1" android:contentDescription="@string/header" /> <View android:layout_width="match_parent" android:layout ..read more
Visit website
Xamarin android app crashes when app on the background
Stack Overflow » Xamarin
by демид владимиров
5d ago
I downloaded my release on the device with the lates version of Xamarin forms and linking = none. App works good, but when I using other app and getting back to my Xamarin app(it was on the background while I had been using other apps) it crashes without any reasons. After restarting of the app it works perfect again. It happens on all android devices. Have you ever had this problem? What should I try to fix it? Tried to set other linking, rebuild, update Xamarin packages, but it didn't helps ..read more
Visit website
Could not load image named
Stack Overflow » Xamarin
by LT_
6d ago
I'm developing an application with Xamarin.Forms. I want to create an ImageButton, but I get this output: [0:] Could not load image named: {0}: Image.png [0:] FileImageSourceHandler: Could not find image or image file was invalid: File: Image.png Here is my code : <ImageButton x:Name="Button" Grid.Row="44" Grid.Column="19" Grid.RowSpan="6" Grid.ColumnSpan="18" HorizontalOptions="CenterAndExpand" VerticalOptions="Center" Source="Image.png" Clicked="Button_Clicked" BackgroundColor="Transparent" /> Image.png is in ./Media and code in ./Page.xaml If I delete image from the directory, t ..read more
Visit website
Action Invoke not working in MAUI, not null in Xamarin
Stack Overflow » Xamarin
by Saamer
6d ago
I am trying to use this StackOverflow solution in my MAUI code but the action never gets invoked in the view model. I have this declaration just as before public Action<bool> OnLoginFailed { get; set; } and I invoke that action OnLoginFailed?.Invoke(true); just as before inside a ViewModel function. However the action never gets invoked, and when I debug through the lines, it seems like the OnLoginFailed Action appears to be null in the view model, and hence it doesn't even call the Invoke function(). Any idea why that might be the case? I tried it in different views and view models but ..read more
Visit website
Xamarin Forms Push Notifications not working
Stack Overflow » Xamarin
by Adrián Romero
1w ago
I'm trying to implement push notifications on a xamarin forms application (android version), I know I'll have to update to MAUI, but for now I have to implement it with xamarin forms and Azure Notification Hub, I'm following this tutorial and I've configured azure notification hub with FCM v1, here is my code on Main Activity: protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Listen for push notifications NotificationHub.SetListener(new AzureListener()); // Start the SDK NotificationHub.Start(this.Application, Constants.Not ..read more
Visit website

Follow Stack Overflow » Xamarin on FeedSpot

Continue with Google
Continue with Apple
OR