Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

Clipboard: copy/paste problem

I have seen this problem in another thread but that thread was reported at July 2013, so I thought it has been fixed. But I still have the problem with the copy and paste in Xamarin Studio in Windows...

View Article


Get private fields per Reflection.

Hello, I need a way to set a private field via reflection, like this myObject.GetType().GetField("myPrivateField").SetValue(myObject, ... ); But it doesn't work. I've testet it in a few ways, like...

View Article


How to set up a proxy on the application level

Hi guys, I'm trying to create a custom web browser using UIWebView control. All web requests must go through a custom proxy and I need to set this proxy from within the app. On the Internet you can...

View Article

UI being hidden by keyboard, bit of advice needed here

Hi, My UI has it's own navigation bar image (the actual Navbar is hidden) with usually a pile of text boxes on the screen. To get around this, I've included the following in my source to scroll the...

View Article

App draining the battery - and ideas?

Hi, I have an app which seems to be draining the iPhone's battery (from 100% to 20% in 90 mins). It uses a lot of LINQ within the app as well as an SQLite database. There is a two way sync process to...

View Article


How to c# android connect to mysql

Hi, in my c# android app i have to connect to an exrernal database (mysql). can i get and set data (directly or by connecting to php file, and i prefer the first one) ? i need ur help, thx for reply :)

View Article

Slow to create a custom button.

Hi, My app generates a custom button on the fly like this var button = UICreation.CreateLongVeryThinButton(new PointF(x, y), filename, padName.paddockname + " (" + total.ToString() + ")", p, false);...

View Article

need help

i'm required to program an API to send SMS, i'm using MSC, so i count the Xamarin as amazing solution to code my C# API but after i code when i run i got errors below the code and the errors as shown...

View Article


What pattern can I use to thin out my RootView?

I've got a RootView in my app that contains a left and a right NavigationDrawer, and inside the NavigationDrawers are a few MvxListView's. I'm using an MvxFragmentActivity for the RootView...

View Article


TypeInitializationException on first project creation from newly installed...

The full error message: System.TypeInitializationException: The type initializer for 'MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService' threw an exception. ---> System.TypeLoadException:...

View Article

Cannot open VS 2013 Project Files

In the past our primary mechanism for migrating C# projects from Visual Studio to Xamarin Studio was to copy the project file, rename it with a ".Mono" addition, then open it. This has served us well...

View Article

Build failed. Could not find type 'System.Globalization.SortVersion'

I recently updated my development environment to 4.2.4 Build 35 and I can no longer build our solution. Xamarin Studio fails with an error that states: Build failed. Could not find type...

View Article

User defined attributes cause key coding compliant error

I create a user defined attribute on a UIButton in xcode. Save and exit xCode. When I run my iOS simulator I get a key coding compliant error. I have an UIButton and I created a user defined attribute...

View Article


Allowing multiple Xamarin installation

Hi, Currently, I'm on the following version: Xamarin Studio Version: 4.2.3 (build 60) Xamarin.iOS Version: 7.2.0.2 Xamarin Updater is informing me that there is a newer version is available Xamarin...

View Article

Refactor / Extract Method removing blank lines

Hi guys, Using XS 4.2.4 and noticed whilst refactoring that the extract method function now removes all blank lines. Why is that? Surely it should be the same as a cut and paste, why reformat? Ive...

View Article


Crashing at startup in Debug, Release is fine

I'm running Xamarin Studio on OS X Mavericks, building an Android app with latest API version (19?), running it on Galaxy S4. I can run my app on the device in Release just fine. When I try to run in...

View Article

SQLite.Net - using negative PK

I'm using SQLite.NET (the component version) in my iOS app. My tables have int PK fields, but they are not autoincrementing. Data I download from the server is stored using the PK the server sends me,...

View Article


Android Bindings - has unknown base type of ..

I'm having a problem trying to expose a class of GDHttpClient with a native binding project. The project compiles fine and most of the functionality is working. Looking at the warnings I can see: Class...

View Article

UI showing nothing post the splash screen

Hi, I have Splash activity that shows the splash and then goes to the home screen. The code for the home screen is reached, but nothing shows. I've got a SetContentView in there and valid content...

View Article

Unbalanced calls to begin/end appearance transitions

Hello, I got this warning and noticed at the same time that my login screen is buggy. I call "this.NavigationController.PushViewController(new LoginScreen(), true);" in ViewDidLoad in my mainscreen and...

View Article
Browsing all 204402 articles
Browse latest View live