I have downloaded the sample ToDo List. There are many members in the folder. What member do I click to execute the sample?
Sample ToDo - Downloaded - How do I execute
How to add slide-in effect for a page on load?
Please can anyone provide a solution for adding a slide-in effect for a page on load?
Change google map info window text when it is appearing
my current situation that i want when user click on marker i send a request to get clicked position address and show it in the info window it working for IOS but android has problems
How can i locate an app near by store
I have a store. This store is located in this coordinate(x,y). When any client is near(1000m or less) from store, this client will receive in your app some notification of advertising or discount. What should i do or how to do? I'm not requesting code but a path, a light. I don't know how to do or what to do.
[UWP] ToolBarItem icon is not shown on first page
When my application loads, no icon is shown in my ToolBarItem. See below screenshot:
If I click a menu item that opens the same page again, then the icon shows correctly:
There isn't a lot of magic to my page, and the ToolBarItem is pretty simple:
Any ideas for why it doesn't show on first load?
fixed view over NavigationPage
Hi,
how can I add a fixed view over NavigationPage ?
Something like
ContentPage
-StackLayout
--Label
--NavigationPage
I cannot use ToolbarItem because I don't want that this bar slide when page change
Offline Mobile apps with Large Scale of Data and Images
Hello Folks,
I am starting to build an application which is totally offline by nature, Users will have the replica of online database into their devices. I want to discuss an approach so that I can involve that efficiently.
I have large amount of data on client device with images as well. (Approximately more than 1L records in different tables and 1K of images).
I am using SQLite for local data storage and NewtonSoft.json for json serialization process. I am using AWS hosting for APIs.
Please suggest me whether It is good to go with Xamarin forms or native.
Any suggestion or architecture links will be helpful. Thanks!
Android Keyboard hides search results in ListView
I have an Entry at the top of my ContentPage, and a ListView that takes up the rest of the page. The ListView re-populates whenever the entry changes.
The problem is the Android Keyboard is hiding part of the ListView. IOS resizes the page so that we can scroll through the whole ListView, but on Android, I can't scroll all the way to the bottom of the ListView as it is hidden by the keyboard.
Any ideas?
Deploying HttpClient - NameResolutionFailure - only on iOS device
Hi All,
I'm having an issue with httpClient, but only on my iOS device (I've not checked Android but I'm not targeting it), it works well in the emulator.
When my app loads the ViewModels do a API call to try and get data from my server and I almost immediately get a System.Net.WebException: Error: NameResolutionFailure crash. I don't get this in the iOS emulator for the same API call.
I tried calling https://jsonplaceholder.typicode.com/posts which I know works and rules out anything idiosyncratic bugs in my code but it still fails.
Is there anything special I need to do enable internet access on an iOS device? Could I have set up something wrong in my provisioning profile in the Apple Account?
Thanks in advance
Use the snackbar with xamarin.forms
I can't figure out how to get a reference to a View - has anyone managed to get this working (obviously just for android).
Bind List View from Bottom to Top
HI all,
I want to BInd data to my List view from Bottom to Top, Is there any Custom Renderer to do it? or any way?
please give me suggestions.
Thanks
How to open default contacts app in xamrin forms?
How to open default contacts app in xamrin forms?
SVG image is not displaying in android in xamarin.forms
I am trying ti display the SVG image in my xamarin.form application, there are no issues to display the SVG image in iOS but not able to display the same image in the android application.
here is my code to display the svg image
<ContentView.Resources> <ResourceDictionary> <ffimageloadingsvg:SvgImageSourceConverter x:Key="SvgImageSourceConverter"></ffimageloadingsvg:SvgImageSourceConverter> </ResourceDictionary> </ContentView.Resources> <ContentView.Content> <ffimageloadingsvg:SvgCachedImage Source="{Binding SvgFileName, Converter={StaticResource SvgImageSourceConverter}}" Grid.Column="0" WidthRequest="200" HeightRequest="600" ReplaceStringMap="{Binding BodyMapreplceStrings}" /> </ContentView.Content>
And from View Model I am binding the image as following
public string SvgFileName
{
get { return _svgFileName; }
set
{
_svgFileName = value;
OnPropertyChanged();
}
}
and
SvgFileName="Flower.svg";
and given svg image in Resources for iOS and in Resources ->drawable
in MainActivity added following lines
CachedImageRenderer.Init(true);
var ignore = typeof(SvgCachedImage);
Is there anything I am missing?
Image above tabbedpage
How can I put an image above tabbedpage?
What alternatives do I have for an equal design?
Is there any way to implement Stripe card widget in the Xamarin.Forms?
Is there any way to implement Stripe card widget in the Xamarin.Forms? for Android and iOS
Something like this?
https://stripe.com/docs/mobile/ios
Rg Popup has issues on Android
I was wondering if anyone else uses Rg.Plugins.Popup for their pop up modals in their app and use Android. The issue i'm experiencing happens with a modal that has several inputs in it with save and cancel buttons at the bottom. When tapping into a text editor input (keyboard opens up), then tapping outside on blank space it auto focuses on the next input. When hitting a button in the modal it auto focuses on the first input in the modal. Why this is an issue is because on Android if you focus on a drop down or date picker it opens its own modal for that input. If I click the save or cancel buttons the modal is no longer open meanwhile that input datepicker now opened up and will crash the app. Ill report this on Rg Popups page too, but was wondering if anyone else encountered this and if they have a work around.
Debugging Session issues.
A number of versions ago I started noticing odd debugging to device behaviours, I'm wonder if someone here can shed light on my situation. I'm debugging my Xam Forms PCL project to a Sony Xperia Android device. On the device I use SQLite to store some local data for the app. In the past, no matter how many times I unplug my device and plug it back in - the SQLite data source always persisted between debugging sessions. Recently I've started noticing this data being cleared whenever I unplug and replug in the device... Its frustrating as I have to keep re-entering credentials each time. If I leave the device plugged in it does keep the sqlite details for multiple debug sessions, but once I go for a break - unplug the phone and then re-plug it in - my local data source vanishes?
Furthermore - after initial plug-in and on first debug session - it is taking the Visual Studio 2017 8 minutes....YES 8 MINUTES to start the app... Once it has started this delay shortens drastically, but once I replug it in - its again 8 minutes for the first debug session.... Wasting lots of my time....
Anyone else experienced this? Any suggestions of how to find the cause of the problem also welcomed...
Hover Effect is not working properly on button in Xamarin UWP
I tried to add a hover effect for a button.
Following code shows a custom class created in UWP
[assembly: ResolutionGroupName("MyCompany")]
[assembly: ExportEffect(typeof(FocusEffect), "FocusEffect")]
namespace EffectsSample.UWP
{
class FocusEffect : PlatformEffect
{
protected override void OnAttached()
{
try
{
(Control as Windows.UI.Xaml.Controls.Control).PointerEntered += pointer_Entered;
}
catch (Exception ex)
{
Debug.WriteLine("Cannot set property on attached control. Error: ", ex.Message);
}
}
private void pointer_Entered(object sender, RoutedEventArgs e)
{
(this.Control as Windows.UI.Xaml.Controls.Control).Background = new SolidColorBrush(Colors.Red);
}
protected override void OnDetached()
{
}
}
}
Effect is added to button in xaml like below:
<Button Text="Button">
<Button.Effects>
<local:FocusEffect />
</Button.Effects>
</Button>
The issue is that background is not changing on Pointer Enter Event. Instead it changes on Pointer Exit.
Any help will be appreciated!
Showing a picker after a button click
Hi,
I want to show a picker after a buttonclick to change the color of a boxview. How can I show/hide a picker in a button click event? This is my code:
public partial class MainPage : ContentPage
{
public MainPage ()
{
InitializeComponent ();
}
Dictionary<string, Color> nameToColor = new Dictionary<string, Color>
{
{ "Aqua", Color.Aqua }, { "Black", Color.Black },
{ "Blue", Color.Blue }, { "Fuschia", Color.Fuschia },
{ "Gray", Color.Gray }, { "Green", Color.Green },
{ "Lime", Color.Lime }, { "Maroon", Color.Maroon },
{ "Navy", Color.Navy }, { "Olive", Color.Olive },
{ "Purple", Color.Purple }, { "Red", Color.Red },
{ "Silver", Color.Silver }, { "Teal", Color.Teal },
{ "White", Color.White }, { "Yellow", Color.Yellow }
};
private void ChangeColorButton_Click(object sender, EventArgs e)
{
_showColorPicker ();
}
private void _showColorPicker() {
Picker picker = new Picker
{
Title = "Color",
VerticalOptions = LayoutOptions.CenterAndExpand
};
foreach (string colorName in nameToColor.Keys)
{
picker.Items.Add(colorName);
}
picker.SelectedIndexChanged += (sender, args) =>
{
if (picker.SelectedIndex > -1)
{
string colorName = picker.Items[picker.SelectedIndex];
ColorBox.Color = nameToColor[colorName];
}
};
}
}
How to get live/continious audio stream from mobile microphone
is it possible to get live audio stream from mobile mic with specified PCM format, so that I can use that stream in a socket connection.