Questions tagged as 'xamarin'

1
answer

When registering my class, stick with the OnAppearing method

I'm trying to make notifications with xamarin and the Xam.Plugin.PushNotification plugin. The problem is when I register the plugin. It does not work, by the time the UpdateData () method is called. Actually what I want is this: Whenever a f...
asked by 24.09.2017 / 15:40
1
answer

InitializeComponent does not exist in the current context

I have this code, where I have the error [XamlCompilation(XamlCompilationOptions.Compile)] public partial class AprovarPopup : PopupPage { public AprovarPopup() { InitializeComponent(); } pr...
asked by 31.10.2017 / 09:55
0
answers

Change background color of a selected item in the listview of a menu on a Master Detail Page with Xamarin.Forms

When I select an item in the menu, it has a background color pre-defined by Xamarin, but I would like to change that color. I'm using a MasterDetailPage in Xamarin.Forms     
asked by 02.10.2017 / 09:37
0
answers

c # Error: "Object reference not set to an instance of an object"

I'm trying to make a connection to the sql server in a xamarin application for android, but the application has this error:    Object reference not set to an instance of an object Connection class: public class SqlServercon {...
asked by 18.07.2017 / 01:29
1
answer

Show text contained in javascript

I'm doing a question and answer game, but I'm having trouble with the code. The value exists, I have another code with the check and I can check the values of the checkbox. var perguntas = [ ["Qual a Capital do Brasil?", "Rio de Janeiro"...
asked by 26.06.2017 / 05:42
1
answer

Create a blur effect image on Xamarin.Android

How can I create a blur effect image on Xamarin.Android? I just found Java solutions and nothing really functional and agile for Xamarin.Android. What I tried to use without success was the one presented in this question: Link Any ide...
asked by 27.07.2017 / 00:04
0
answers

Xamarin Forms dependency service does not work with generics?

I need to generate an instance of a generic class with Xamarim forms using dependcy service (or a DI framework). With the code below I can generate a problemless instance:    Interface namespace PrismNinjectApp1.Application.Interfaces {...
asked by 21.06.2017 / 23:45
1
answer

Event Checked for button on Cross Platform Xamarin [closed]

Is it possible to create a button with the event Checked in Xamarin ? If so, how?     
asked by 19.10.2016 / 17:29
0
answers

How to take the picture taken from the camera, not the camera preview

Good afternoon guys, I'm using this multiplatform camera project of the xamarin. In the Android part, I'm not getting maximum in the photo, I'm using this function: System.Collections.Generic.IList<Android.Hardware.Camera.Size> size...
asked by 19.08.2016 / 21:58
0
answers

Xamarin Android - Create a line where the finger passes

Hello, I would like to create a straight or rectangle, where my finger goes. It does not really have to be exactly where to go, but on top of each button I move the finger it increases the rectangle, as if it were a selection of a word in a "wor...
asked by 28.12.2016 / 17:50