Quantcast
Browsing all 76418 articles
Browse latest View live

Correct approach of adding zoom and panning capabilities to a custom Image...

I'm creating an Image custom renderer for iOS on Xamarin.Forms. I'm able to successfully recognize the different touch gestures such as pinch gesture and swipe gestures in my iOS custom renderer. My...

View Article


[UWP] CaptureElement only displays content after resize

I have a universal Windows app that uses a captureelement to display a camera stream (I set the CaptureElement in a custom renderer vor a View). The thing is, that the stream is only displayed after I...

View Article


Image may be NSFW.
Clik here to view.

MVVM Binding Issues

Hello all, I am having difficulty with the data bindings with xamarin and I was hoping someone might be able to see what I am doing wrong. First created this in my resources <DataTemplate...

View Article

Exception while trying to RaiseChild during Container.LayoutChanged on Android.

I am working on a video layout manager for a conference app. The following code is an excerpt for a Layout manager for a custom renderer. It works fine on iOS, but on Android it throws an...

View Article

How to use platform Idiom in Xaml

Although I can do the following in code, I want to do it in Xaml: if (Xamarin.Forms.Device.Idiom == TargetIdiom.Phone) { MainPage = new NavigationPage(new MyPage()); } else...

View Article


AVAudioRecorder how to get speech metering level

I use AVAudioRecorder for recording audio. And i need to show Speech meter or signal level. I dont find any information how to do this. What info about speech could i get from AVAudioRecorder during...

View Article

Image may be NSFW.
Clik here to view.

It is possible to send headers when calling a WebView?

I'm using a WebView that renders the login page of the web version of my app. I'm trying to send an access token via http header so when the WebView is called, users don't have to login again. The...

View Article

Apps crashing after android reboot without being run

My apps are currently poping up a message after the phone reboot " has stop working - (send report) ok" . This happens even if the user does not start the app. I've seen this behaviour happening on...

View Article


How can I use a Google Spreadsheet as a datasource in a Forms Portable project?

I am developing a cross platform app (iOS / Android) and would like to use a Google docs spreadsheet as the data source.

View Article


Android, Forms.ViewCell.ContextActions and...

I need to create a list for my cross-platform project that has a delete function and a drag and drop function when the list is in an Edit mode. To implement the delete function I use...

View Article

RelativeLayout code to XAML translation

Hi all, I've got some sample c# code that I'm trying to translate into XAML because that's the standard we are using on our project. There's a piece of relativelayout code that I'm struggling to create...

View Article

iOS App Crash on Startup with EXC_BAD_ACCESS

Hi, Can some one help me out to find this issue. My iOS app crash at lunch with below exception type. Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Subtype: KERN_PROTECTION_FAILURE at 0x14d6e6f0...

View Article

Setting the corner radius for Xamarin.forms controls

how can I set the corner radius for xamarin.forms controls, for ioS setting the corner radius is just setting the property like wise is there any property to set for the xamarain.forms controls to have...

View Article


Forcing a page that is Navigated to modally into Portrait orientation

I have a Xamarin.Forms ContentPage that I want to only show in portrait mode. If the user rotates the device I don't want the view to rotate. This page is navigated to by calling...

View Article

[XLabs 2.0.5713-pre4] MediaPicker causing System.MissingMethodException in...

Hey all- I'm running into an issue with the MediaPicker on Android. To preface it, I've tried the solutions at...

View Article


Image may be NSFW.
Clik here to view.

Scale not increment when using 2x image

Hi all. I have a image with 3 source files : bg.png, bg@2x.png, bg@3x.png I put this image into a Grid. My problem is when run on Iphone 6s ( that mean image source will be bg@2x.png ), size of frame...

View Article

Is there a way to update a progress bar view while a content page is loading?

This may sound like a weird question. However, I'm working a ContentPage that loads many views inside a scrollview control and it takes over 10 seconds for the page to actually display. While the page...

View Article


Application.Current.Properties dont work in Xamarin 2.0

Hi! Today I have updated my project and Application.Current.Properties dont work correctly. I could save value and read it while my app running, but is i stop and run agarin,...

View Article

Change the size of scrollview on translateto

What I am trying to do is: I have a scrollview inside my view and it's height is like 2/9 of the parent height. Then user can translate this scrollview to make it bigger. However scrollview's size does...

View Article

How to bind HTML String to WebView?

I've got a bindable string that's populated with HTML. public string Description { get { return _description; } set { _description = value; OnPropertyChanged(); } } Now I'd like that string to be bound...

View Article
Browsing all 76418 articles
Browse latest View live