I'm wondering if there is any way to record voice call in xamarin forms ? , I want to make my app has this permission in android and ios anyway for that ?
How to Record voice call in xamarin forms ?
Issue while opening Xamarin form from BroadcastReciever class
This is for tracking incoming and outgoing phone calls. I am pushing a Xamarin form in the application Navigation stack from BroadcastReciever class using following code:
var phoneAddPage = new SomePage();
Xamarin.Forms.Application.Current.MainPage = new NavigationPage(phoneAddPage);
The page is getting pushed properly as expected. Issue is the page is overlapped by Splash Screen when application is opened. The form is functioning properly, overlap is the only issue.
Animation on xamarin forms using Lottie dont work!
Hi,
anyone use the Lottie nugget to play animations on xamarin forms.
I tested a simple example that dont run, just appear on android emulator a blank window.
I install the Lottie nugets.
Here is my xaml page:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:forms="clr-namespace:Lottie.Forms;assembly=Lottie.Forms"
x:Class="Example.Forms.MainPage">
<forms:AnimationView
x:Name="AnimationView"
Animation="LottieLogo1.json"
Loop="True"
AutoPlay="True"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand" />
I put the file "LottieLogo1.json" on Resources folder of the Droid Project.
Thanks
RendererFactory.GetRenderer() - is it bug - child content?
Is it bug that RendererFactory.GetRenderer(Forms.View) doesn't return child content? For instance if you call this with non-empty Grid (for ex. with few buttons) only the Top-Level element would be visible (only grid).
How to Sync DB With API?
I need to sync DB data with API. Is there is any convenient way or plugins available is xamarin to do this in an efficient way?
Any Suggestion??
Xamarin Controls or C# Class (object) data storage
Hi All,
Just wanted to know where c# (list) class stored the data in which memory (RAM or ROM).
As far as I know, when object is created the space is allocated for it's member (Variable/Properties or function) and stored all the data in RAM. So is it possible to access that data outside scope.
Is it possible to have overtype functionality in Entry
Hi,
I would like my entry to behave in overtype mode. Like when you press insert key in windows, and the type, the letter that you type will replace the letters instead of appending in between of that. Is it possible to achieve something like that with Entry? Maybe by using a custom renderer or something like that?
Thank you for your insights.
BR,
Denis
Draw Circle in xamarin form
Hi All,
Just list as "BoxView" control create "rectangle" shape in xamarin, how to i create "Circle" for slide image in CarouselView?
Please help.
Xamarin Forms 3.3.0 error: No property, bindable property or event found for UWP
I met strange error for UWP from following xaml:
<ContentPage.ToolbarItems>
<ToolbarItem Text="{Binding [SelectData]}" Command="{Binding AddNewDataCommand}">
<ToolbarItem.Icon>
<OnPlatform x:TypeArguments="FileImageSource" iOS="data.png" UWP="Assets/data.png"/>
</ToolbarItem.Icon>
</ToolbarItem>
...
</ContentPage.ToolbarItems>
When compile, I got:
No property, bindable property, or event found for 'UWP', or mismatching type between value and property.
Why ?
What is the special formula or code word for xamarin in visual studio's settings to make it compile
My goodness the errors just don't stop coming...
So I was trying to get a screen shot for another issue I have with the way something displays in apple and how it displays in Android so I thought I would get a screen in apple and switch start up projects and get a screen shot in Android..and of course there are going to be errors...
I switched from apple back to android and I get errors... (why would I expect anything else...)
Any way can some one give me a clue of how I can configure this project so that can successfully debug without jumping through hoops.
Here is my error... I was simply trying to get a screen shot of the app in the android simulator.
As a side note... this worked just an hour ago... as I was running this in android sim before unloading the project so that I could get the apple project to work...and I guess this some how breaks the android project every time...
And ideas or tips would be helpful and I would be grateful. Thanks
Error ADB0020: The package does not support the CPU architecture of this device.
at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask
1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
ADB0000: Deployment failed
Xamarin.AndroidTools.AndroidDeploymentException: ArchitectureNotSupported ---> Mono.AndroidTools.IncompatibleCpuAbiExceptiopn: The package does not support the CPU architecture of this device.
at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask
1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at Xamarin.AndroidTools.AndroidDeploySession.d__107.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Xamarin.AndroidTools.AndroidDeploySession.d__101.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Xamarin.AndroidTools.AndroidDeploySession.d__99.MoveNext()
Xamarin UWP Map is blank
my maps on UWP is blank, just a black screen with the zoom buttons. i have given capabilities, put the init codes in the UWP app.xaml.cs.
HELP
Trying to display elements over a semi translucent background
I have a page with a background image on which I'd like to display elements with a semi-transparent background. For example, a StackLayout with some labels that has a white, but semi-transparent, background so the page's background image shows partially through. I had hoped this could be achieved by simply setting opacity on the VisualElement, but unfortunately setting opacity affects both foreground and background, so the text in the labels is dimmed. Not the effect I'm going after - I want the text bright and fully opaque.
How can I achieve this effect without dimming the foreground of the elements inside the stacklayout?
How can I change an Image Border color on hover in Xamarin?
I need to change an image's border color on hover and remove the border when the hover is removed. Is there a way to do this in Xamarin?
using stripe with a 3D secure card
Trying to get stripe to work with XF 3.3 and it seems to be fine in all scenarios except when using 3d secure. anyone got any experience with this topic? essentially what's happening is I've implemented it as per their documentation, but the response I get back after using a redirect uri is 'pending' whereas only 'chargeable' statuses allow a customer to be charged. any assistance much appreciated in advance
Sample ToDo - Downloaded - How do I execute
I have downloaded the sample ToDo List. There are many members in the folder. What member do I click to execute the sample?
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 to build smart search from custom Entry
Actually, I want smart search option in my app using custom entry. for eg: I have field Country and I wanted to select India. So I will type some words in field like (in) so it must show countries name which contain in (like India, Indonesia etc)
How do I use this code? Where you put this in Xamarin??
Hi All... people have come up with solution... but they never show how they use it..
Please some one look at this example and tell me where would the this code go? And How would I use this on an xaml page... There has to be a way!
May thanks!
http://www.xrmcoaches.com/2014/10/creating-a-semi-transparent-background-with-xamarin-forms/
here is the source:
var slTitleBlock = new StackLayout
{
Padding = new Thickness(6, 5, 6, 5),
BackgroundColor = new Color(0, 0, 0, 0.5),
HorizontalOptions = LayoutOptions.FillAndExpand,
VerticalOptions = LayoutOptions.End,
Spacing = 0,
Children = { lblTitle, lblSubtitle }
};
Buttons, Background Images , Application Icon Questions for apple in xamarin
Hi All,
So the question is about formatting I guess.
I have an application that looks great in Android... but look bad in apple Iphone.
For example I have a back ground image in apple and the images seems to duplicate. I guess it does that to fit the screen of the device?
Is there a way to not have the image to repeat or is there a way I can remove the image in the xamarin forms without it removing it for my android version?
Next question is the buttons...again In Android the buttons look like buttons.
In the apple Iphone the buttons look like blue text which makes it hard to see on the background image (which if I could remove from apple..I guess the text would be ok if the back ground was plain white.
Finally My Icon works great for Android... bit for apple there is not icon...when the application starts...its just some type of blank icon.
Again.. wish the apple application version looked as good as the android... but it it can't I am okay with. If I can strip out th dress up graphics from the apple version of the application that is fine. As I don't want to go through the hassle that Im sure it is to make this look nice for an apple device..
my main worry is messing up the Android out put.
Thanks All!