Click here to Skip to main content
14,971,453 members
Everything / Mobile Apps / Xamarin

Xamarin

Xamarin

Great Reads

by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.
by Marcelo Ricardo de Oliveira
An entertainment app written in C# language for the Xamarin Forms and Android, using a SQLite local database
by Daniel Vaughan
Create a Xamarin Forms tabbed page or carousel page by binding to a collection of ViewModels; extending beyond the current capabilities of Xamarin Forms.
by n.podbielski
Use of IoC container in Xamarin on example of TinyIoC

Latest Articles

by Stephen Marcus
Replaces events and any other async void cases with awaitable Task signatures.
by Ana Carolina Zambon
In this post, you will learn how to make Apps have a fluid and adaptive UI on different device screen sizes.
by Ana Carolina Zambon
How to consume authorized back-end services while transparently handling refresh token renewals
by Arcadenut
How to implement Push Notifications via Azure Templates in Xamarin

All Articles

Sort by Score

Xamarin 

Please Sign up or sign in to vote.
15 Sep 2014
Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.
Please Sign up or sign in to vote.
31 Mar 2018
Marcelo Ricardo de Oliveira
An entertainment app written in C# language for the Xamarin Forms and Android, using a SQLite local database
Please Sign up or sign in to vote.
17 Sep 2014
Daniel Vaughan
Create a Xamarin Forms tabbed page or carousel page by binding to a collection of ViewModels; extending beyond the current capabilities of Xamarin Forms.
Please Sign up or sign in to vote.
26 Dec 2016
n.podbielski
Use of IoC container in Xamarin on example of TinyIoC
Please Sign up or sign in to vote.
4 Mar 2017
Junian Triajianto
How to play video as page background, like Spotify and Uber, using Xamarin.Forms with Android and iOS Custom Renderer.
Please Sign up or sign in to vote.
21 Nov 2013
ThatsAlok
Using Fragments in your mobile application.
Please Sign up or sign in to vote.
21 Nov 2013
ThatsAlok
TabHost control in MonoAndroid
Please Sign up or sign in to vote.
31 Dec 2016
Andrew Lai
This is Part 2 of my Raspberry Pi traffic light and weather station project - The mobile app
Please Sign up or sign in to vote.
25 Sep 2015
khanzzirfan
This article helps you to understand how to listen to nested controls inside the recycler view and update the view dynamically.
Please Sign up or sign in to vote.
3 Jan 2018
NoMoreComputers
Xamarin and MvvmCross: A simple tutorial for beginners
Please Sign up or sign in to vote.
14 Feb 2014
Yvan Rodrigues
After many weeks I found it. I compared the csproj sections of Release and AppStore builds, and the AppStore had the additional line:FullSince my app uses reflection to invoke the RESTful client library, the linker did not think I needed certain functionality and optimized it away.
Please Sign up or sign in to vote.
7 Apr 2015
Nitheesh George
Swift is free but iMac and MacBook are not. You may have to upgrade OSX to install a new XCode version. And In a 3 year old Mac, you may not be able to install a latest version of OSX. Ultimately these all are business and business is for making profit and not for helping the people.install...
Please Sign up or sign in to vote.
2 Sep 2015
Afzaal Ahmad Zeeshan
First of all you need to understand the basic different between them so that you can choose which one to use in your case. First of all, Unity3D is a gaming engine and Xamarin is a cross-platform application development framework. Although there purpose is same, but their functionality and...
Please Sign up or sign in to vote.
27 Jan 2017
S Ravi Kumar (TechieRathore)
In this article, we will learn how to use a few of graph options OxyPlot.
Please Sign up or sign in to vote.
5 Sep 2017
dimpant
Learn how to properly use the NotifyDataSetChanged method of the ListViewAdapter to remove items from a ListView
Please Sign up or sign in to vote.
28 Dec 2017
infal
Explanation about how to establish a connection to your server running in Android emulator.
Please Sign up or sign in to vote.
13 Mar 2018
Slim Hammami
This is a tutorial which contains the finger print authentication using Xamarin Forms
Please Sign up or sign in to vote.
8 Dec 2019
Abdulrahman Emad
This article proposes a solution for plugging "Rg.Plugins.Popup" asynchronous into your code.
Please Sign up or sign in to vote.
12 Nov 2015
Alvin Ashcraft
Open source software (OSS) development has reached the mainstream .NET community and created a whole new customer segment for development tools. Microsoft has responded to this need by creating the Visual Studio Community Edition.
Please Sign up or sign in to vote.
23 Apr 2016
n.podbielski
This is another article in the mini series of Xamarin bugs and workarounds for them. 
Please Sign up or sign in to vote.
8 Dec 2016
n.podbielski
Reflection.Emit is very powerful tool. It creates IL code and since C# is converted into IL too, we have the same functionality as in C# and even more. It is very powerful and at the same time very complicated. Because of that, it is worth discussing how and for what it should be used.
Please Sign up or sign in to vote.
27 Mar 2017
S Ravi Kumar (TechieRathore)
This is my new tool for creating Xamarin app icons
Please Sign up or sign in to vote.
3 Apr 2017
GrumpyPants
VS 20017 + Xamarin: can't reference a new Portable Library straight out of the box - another failure of a very basic function
Please Sign up or sign in to vote.
7 May 2017
n.podbielski
Fixing hiding text box controls by software keyboard on Xamarin Android
Please Sign up or sign in to vote.
29 May 2017
Junian Triajianto
Building and distribution automation for Xamarin apps to make your life easier and simpler.
Please Sign up or sign in to vote.
1 Apr 2018
Daniel Vaughan
Learn how to leverage the asynchronous ICommand implementation in Codon FX to support commands that kick-off long-running operations.
Please Sign up or sign in to vote.
24 Jan 2019
Harshit Gindra
This article with help monetize your Xamarin Forms app using Google Admob. This article shares different implementations for Xamarin.iOS and Xamarin.Android.
Please Sign up or sign in to vote.
5 Jan 2018
didourebai
How to set up Xamarin Notes environment
Please Sign up or sign in to vote.
2 Sep 2015
rashidebad
Unity-vs-Xamarin[^]
Please Sign up or sign in to vote.
7 Nov 2017
Kornfeld Eliyahu Peter
Not really... The installer currently available will look back to 2015 only... However Visual Studio Community Edition 2017 is free and supporting Xamarin fully... It also works side-by-side with older versions (I have 2008, 2010, 2015 and 2017 installed on the same machine)...
Please Sign up or sign in to vote.
28 Apr 2018
MilanGohil
This article contains possible basic questions along with their answers to help you to understand or gain basic knowledge about Xamarin.
Please Sign up or sign in to vote.
7 May 2018
User 7429338
You can use Enumerable.Sum Method (System.Linq)[^]: _price = receiptData.Sum(element => element.Price);
Please Sign up or sign in to vote.
21 Feb 2019
Korlakunta
DateTime myDate = DateTime.ParseExact("2013-02-11T14:29:01", "yyyy'-'MM'-'dd'T'HH':'mm':'ss", System.Globalization.CultureInfo.InvariantCulture); I have used 2013-02-11T14:29:01 instead of 2013-02-11T14:29:01-05:00 and its showing date time as per the requirement. Thank You
Please Sign up or sign in to vote.
26 Aug 2019
robertcarlson8203
Learn how to quickly build mobile apps using a Xamarin with a cloud hosted mobile backend in minutes.
Please Sign up or sign in to vote.
16 Dec 2019
OriginalGriff
You can do it - it's not even complicated - but you may find you need more than one field: two fields will only hold 2* 64K = 128K and it;s very easy for a modern image to exceed that. Instead of reading the whole image: fs.Read(ImageData, 0, System.Convert.ToInt32(fs.Length)); Just read the max...
Please Sign up or sign in to vote.
27 Apr 2020
DRappJr
Allow picker to show selected item by a bound ID such as by key/value list choices
Please Sign up or sign in to vote.
6 Jan 2021
Ana Carolina Zambon
In this post, you will learn how to make Apps have a fluid and adaptive UI on different device screen sizes.
Please Sign up or sign in to vote.
30 Jun 2014
Kornfeld Eliyahu Peter
Yes.Read this - http://developer.xamarin.com/guides/cross-platform/Application_Fundamentals/Web_Services/[^]
Please Sign up or sign in to vote.
10 Oct 2014
Dominic Burford
If you wrap your SQL calls in a web service then you can invoke them in your Android app.
Please Sign up or sign in to vote.
2 Nov 2014
Ullas_Krishnan
Hi,Yes you can create all functionality which developed in web asp.net grid etc..For Grid functions use List View, which can be custom designed to view all items in a grid ..For connecting it to SQL Server write WCF / JSON format service.. and host the service in web server....
Please Sign up or sign in to vote.
13 Jan 2015
Snesh Prajapati
It seems you need to write total 4 methods - 2 for each direction of conversion - we need to write an extension method for each type (nullable and not nullable) and you cannot club them in one method as given...
Please Sign up or sign in to vote.
13 Apr 2015
Dave Kreskowiak
Do you understand what an ASP.NET application is? It's an application hosted on a web server, not on the client device.What you ask doesn't make any sense.
Please Sign up or sign in to vote.
26 Oct 2017
Oliverar
1 alternative  
I am using Xamarin in C#, to build a cross platform BLE app. It is based on this example app using the Monkey.Robotics plugin. All the examples use a ObservableCollection devices; line, to populate a ListView with all the scanned results which the user can then manually select, setting...
Please Sign up or sign in to vote.
14 Feb 2016
SubhamoyBurman
MVC and other popular iOS terminology
Please Sign up or sign in to vote.
24 Feb 2016
Richard MacCutchan
You do not need to call ToString() on a text field, it is already a string. A call to getText() will return the string containing the item's text - see EditText | Android Developers[^].
Please Sign up or sign in to vote.
29 Feb 2016
Er. Puneet Goel
1 alternative  
My team is working on Xamarin Android Development. In a view I have a scrollView and i am using 'ScrollChange' event of scrollview to detect scroll movement and performing required actions. It works fine for my machine. But when i used the same code on another machine, i am getting runtime error...
Please Sign up or sign in to vote.
1 Mar 2016
Er. Puneet Goel
After spending couple of hours, i make few changes to my code and now its working fine. Earlier I was using following code to attach the delegate.ScrollView ScrollView1 = (ScrollView)FindViewById(Resource.Id.ScrollView1); ScrollView1.ScrollChange +=...
Please Sign up or sign in to vote.
23 Apr 2016
n.podbielski
Xamarin Frame and Style with Padding
Please Sign up or sign in to vote.
23 Apr 2016
n.podbielski
If you are using Styles in Xamarin, you probably know how to define implicit styles. But how to inherit from them in other Styles? It is possible but require so work. Here is how you can do it.
Please Sign up or sign in to vote.
14 Jun 2016
S Ravi Kumar (TechieRathore)
Configure App Icons in Xamarin Forms App
Please Sign up or sign in to vote.
30 Jun 2016
OriginalGriff
I'd suggest that as far as IDE's go, you can't do much better than Visual Studio - and now that it supports Xamarin and Xamarin Forms, that could well be the way to go.I just wish there was a visual designer for Forms instead of having to "hand crank" the XML. :sigh:
Please Sign up or sign in to vote.
10 Sep 2016
BillWoodruff
Here's an example of how you might validate input:string input=Console.ReadLine ();if (input == "") Environment.Exit(-1); // handle user entered nothing ? input = input.Trim().ToLower(); // get rid of white-space, make all lower-casestring destination =...
Please Sign up or sign in to vote.
15 Feb 2017
Sandesh M Patil
1 alternative  
I am currently learning xamarin.forms. I developed simple application for additon of Employee in SQLiteIn this app there is picker control(like dropdown in .Net :)). When i select Other option in this picker i want to show/ hide entry control (like textbox in .net :))In .net we show hide...
Please Sign up or sign in to vote.
28 Jan 2017
OriginalGriff
The only way to get an identical SHA-1 signature is to have identical contents: that's the whole idea of using an SHA-1 hash value. If they are different, then the content is different, and probably not valid - that is the whole idea.If you have a different hash, then it may be as simple as...
Please Sign up or sign in to vote.
27 Mar 2017
Lee P Richardson
Kill AXML - Programmatic ListViews in Xamarin Android
Please Sign up or sign in to vote.
31 May 2017
S Ravi Kumar (TechieRathore)
How to get started with Xamarin Forms for Mac preview
Please Sign up or sign in to vote.
2 Aug 2017
Member 12967177
( await Navigation.PushAsync(new MainForm()); ) Remove await and try
Please Sign up or sign in to vote.
8 Aug 2017
didourebai
Hello, Could you see this article : Reading and Writing CSV Files in C#[^] and to customize a ListView's Appearance please see this course : Part 3 - Customizing a ListView's Appearance - Xamarin[^]
Please Sign up or sign in to vote.
25 Aug 2017
Graeme_Grant
I would uninstall: 42.1024.0-beta1 constraint: Xamarin.Firebase.Common (= 42.1024.0-beta1) and then reinstall: NuGet Gallery | Xamarin.Firebase.Storage.Common 42.1021.1[^] before NuGet Gallery | Xamarin.Firebase.Storage 42.1021.1[^]
Please Sign up or sign in to vote.
12 Sep 2017
amartya mandal
Facebook & LinkedIn login with Firebase and Xamarin
Please Sign up or sign in to vote.
25 Jan 2018
David_Wimbley
Unless you are building something that takes gobs of memory and hard drive space, your laptop is fine to develop your application on and then deploy what is built out to a server. For example an API for your App probably shouldnt be running on your laptop in a production environment but having...
Please Sign up or sign in to vote.
28 Jan 2018
OriginalGriff
For Xamarin dev generally, I recommend Creating Mobile Apps with Xamarin.Forms Book First Edition - Xamarin[^] - it's free and very good. But first, get C# sorted, which will take a while if you aren't familiar with the way .NET works - there is a lot to learn! Have a look locally for a course,...
Please Sign up or sign in to vote.
17 May 2018
S Ravi Kumar (TechieRathore)
Creating WPF applications using Xamarin.Forms
Please Sign up or sign in to vote.
30 May 2018
Suchit R. Khunt
In this article, the purpose of the code is to fetch contact details from iOS device.
Please Sign up or sign in to vote.
29 Jun 2018
#realJSOP
You can't connect ANY app to SSMS. SSMS is a tool used to manage a SQL Server instance. What I think you *really* want to do is to connect the app to a SQL Server database. If it were me, I'd develop a web service that could be used to connect to the database. Any app can connect to a web service.
Please Sign up or sign in to vote.
7 Oct 2018
Dave Kreskowiak
If you're looking to hire someone to work on a project, Code Project is not the place for that. Try Freelancer.com. Be warned, you get what you pay for.
Please Sign up or sign in to vote.
7 Oct 2018
OriginalGriff
No. Depends what is in the repository. Code is part of the project, and often not the big part - it's the bit which makes it work, but without the design documents it ca take a considerable amount of time to get up to speed with how the code works - or is meant to work - before you can start...
Please Sign up or sign in to vote.
11 Jan 2019
Harshit Gindra
Check and request for Permissions in Xamarin Forms mobile application
Please Sign up or sign in to vote.
21 Feb 2019
Richard MacCutchan
Google found DateTime.TryParseExact Method (System) | Microsoft Docs[^] in microseconds.
Please Sign up or sign in to vote.
15 Apr 2019
Afzaal Ahmad Zeeshan
In this article, I will demonstrate how to integrate the Cognitive Services SDKs in a .NET Core based application and explore how real-world scenarios can be tackled using ML services offered by Microsoft.
Please Sign up or sign in to vote.
9 Sep 2019
DotnetShtien
In this article we will dicuss when new feature added recently to the meta-programming library which is the command contracts.
Please Sign up or sign in to vote.
27 Oct 2019
OriginalGriff
The ImageSource.FromUri(Uri) Method (Xamarin.Forms)[^] expects a URI class instance as it's single parameter, not a string. Try this: viewModel.Image = ImageSource.FromUri(new URI(string.Format(...)));
Please Sign up or sign in to vote.
3 Jan 2020
OriginalGriff
Simple: you are doing this in a very, very dangerous way. Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead. When you concatenate strings,...
Please Sign up or sign in to vote.
22 Jan 2020
Ankur Ramanuj
Your code is perfect for closing app. It might be becaause of thread can you try this if (AcceptBack) return false; Device.BeginInvokeOnMainThread(async () =>{ PromptForExit();}); return true; In OnBackButtonPressed.
Please Sign up or sign in to vote.
26 May 2020
Maciej Los
I'd suggest to read these articles: Layout Options in Xamarin.Forms - Xamarin | Microsoft Docs[^] Xamarin Forms LayoutOption Differences - Xamarin Help[^]
Please Sign up or sign in to vote.
8 Jul 2020
Chris Copeland
The Where method expects a function where the parameter is the object instance. If you compare what you've written in your Select method to this method, you can see that you've forgotten to declare the parameter as x => Lambda expressions - C#...
Please Sign up or sign in to vote.
19 Nov 2020
Gerry Schmitz
When you create your "item source collection", assign either the VALUE of "email" OR "address" to the "display field" (column), and just display what's in that column. Easier than what you're trying to do.
Please Sign up or sign in to vote.
9 Mar 2021
Richard MacCutchan
See Xamarin.Essentials - Xamarin | Microsoft Docs[^], but you need to be a reasonably experienced programmer.
Please Sign up or sign in to vote.
14 Jun 2021
Richard Deeming
You forgot to tell us what the problem is. Fortunately, it's pretty obvious: a website cannot access files on the user's device. You are asking a page hosted on drive.google.com to display a file stored in your local application data folder....
Please Sign up or sign in to vote.
5 Sep 2013
MOPKOBb88
I use Xamarin Studio and I write applications for iOs on C#. I need to bind obj C library (libAdWired.a) to C# platform, in order to be able to use it directly from C#. First of all, I have to bind objective-C to C#, so I create a Binding Project in Xamarin. Then I include an objective-C lib to...
Please Sign up or sign in to vote.
17 Oct 2013
thatraja
Googled? :(http://docs.xamarin.com/videos[^]You could find more videos in sites like youtube, vimeo, etc.,
Please Sign up or sign in to vote.
21 Oct 2013
stellus
1 alternative  
hi all.i have been developed xamarin android App and now i have looking forward to how to install apk file in android mobile, which is also have been done in my side but what am saying is after installed apk file in my mobile, i cant able to open my installed App because am getting the given...
Please Sign up or sign in to vote.
16 Dec 2013
Yvan Rodrigues
I am building a calendar control. It generally works well and is responsive, despite using **hundreds** of UIViews (each cell in the example image is a UIView).I have run into a problem in which the calendar is put in an app. It...
Please Sign up or sign in to vote.
18 Dec 2013
PoojaG1989
I have my java source code exported into a .jar file in eclipse. I have created a java binding library in Xamarin and added the .jar file into the jars folder. I have further referenced the library project into my Xamarin android project.This is the code for my activity:-public class...
Please Sign up or sign in to vote.
14 Jan 2014
Member 10524708
1 alternative  
I want to populate a spinner using GetAllUsers() method of my wcf web services.The method returns all users from database.I have successfully used it in web form on button click.I want to populate spinner in xamarin android with all the users using web service.I dont know how to do it....
Please Sign up or sign in to vote.
15 Mar 2014
Behno0o0oD
2 alternatives  
HiI want to build notification every hour by an android app.the question is about how to make the app run in background?and how to make notifications every hour?Tnx in advance
Please Sign up or sign in to vote.
15 Mar 2014
BupeChombaDerrick
You need to use AlarmManager and a service, see http://stackoverflow.com/questions/4459058/alarm-manager-example[^]Hope this helps :)
Please Sign up or sign in to vote.
16 Mar 2014
Krunal Rohit
You might be interested in something called Services[^] or BroadcastReceiver[^] in Android for background work.See this for scheduling the notifications :...
Please Sign up or sign in to vote.
12 Oct 2014
Member 10392965
1 alternative  
How to save text file in Xamarin Studio using C# Thanks in advance
Please Sign up or sign in to vote.
11 May 2014
AllCodify
A Pub/Sub implementation that is PCL compatible for Xamarin iOS and Android
Please Sign up or sign in to vote.
29 Jun 2014
Md.Ashraf Ali
3 alternatives  
I have developed an Asp.net web project and i need to create an Andriod app same functionality as in C# coding and can we connect with SQL Server in Xamarin ?is it possible to develop an android app with the functionality like gridview with selected index change,rowdatabound and many more.
Please Sign up or sign in to vote.
25 Jul 2014
Dominic Burford
Displaying data with an Adapter in Xamarin.Android and Visual Studio
Please Sign up or sign in to vote.
5 Aug 2014
Member 9381668
I am not able to find the auth token from account manager for a particular account in xmaarin android. Please suggest me ?
Please Sign up or sign in to vote.
19 Aug 2014
akhil.scs
I have Create Java Bind Library in Xamarin and add .Jar file in Libraryand Add reference of this Project in My Projectand library is call - Com.Symbol.Emdkwhen i Implement this one -EMDKResults results = EMDKManager.GetEMDKManager(Android.App.Application.Context ,this);then Go...
Please Sign up or sign in to vote.
1 Sep 2014
John.Dheer
Char like é Render as ? Code is using System;using MonoTouch.Foundation;using MonoTouch.UIKit;using System.CodeDom.Compiler;using PoolExpert.Mobile.Library.Utilities;using System.IO;using System.Text;using System.Web;namespace PoolExpert.Mobile.iOS{ partial...
Please Sign up or sign in to vote.
5 Sep 2014
suchithm
1 alternative  
I need to integrate google login to android xamarin application. gone through the code from bellow link: http://motzcod.es/post/67077106339/google-plus-services-login-and-1-in-xamarin-androidit shows the error connection failed and [GooglePlayServicesUtil] Google Play Store is missing. even...
Please Sign up or sign in to vote.
10 Sep 2014
ali_heidari_
Hi.I am working on a small application for android using xamarin.android and c#, a part of it is listening to user speech!I am using Android.Speech.SpeechRecognizer for this. this is my code :Android.Speech.SpeechRecognizer sp =...
Please Sign up or sign in to vote.
22 Sep 2014
wilman garcia
check this link https://parse.com/products/xamarin#howitworks[^]
Please Sign up or sign in to vote.
13 Oct 2014
Dominic Burford
You can't directly reference Java classes from the .NET Framework, but you can run Java code from a .NET application.You do it using a tool called IVKM.Net. IVKM.NET includes an application called ikvmc. You can view the documentation for it here...
Please Sign up or sign in to vote.
28 Oct 2014
Satheesh Santhosh
2 alternatives  
how to convert this and shown in textbox using xamarin in visual studio.return JsonConvert.DeserializeObject(result);this is the complete code.string url = @"http://api.wunderground.com/api/02e5dd8c34e3e657/geolookup/conditions/forecast/q/Dhaka,Bangladesh.json"; using...
Please Sign up or sign in to vote.
28 Oct 2014
BillWoodruff
Note: I don't use Xamarin/Mono, but the code shown here works in Visual Studio 2013, .NET FrameWork 4.5, as long as the project has a reference to NewtonSoft JSON, and I assume it will work, as is, in Xamarin: if it doesn't, then ask Xamarin for support.Problem with your current code: I suspect...
Please Sign up or sign in to vote.
31 Oct 2014
Satheesh Santhosh
1 alternative  
Using a xamarin cross platform development to i want print a json message from url and print in listview. I write code without error but with some mistakes. I will not work. For just a verfication output only i print the button in the output screen. I will shown but the listview was not print....
Please Sign up or sign in to vote.
2 Nov 2014
Ullas_Krishnan
Hi,While creating apk file you need to make sure the mode was changed to Debug -> Release..Also you need to make sure all added references copied to app folder by setting it in the properties window..Thanks,Ullas Krishnan
Please Sign up or sign in to vote.
2 Nov 2014
Ullas_Krishnan
Hi,Please add the file with the help of "Add file" context not copying directly or dragging in to the resource folder..Also rebuild the project after adding those image files..Thanks,Ullas Krishnan
Please Sign up or sign in to vote.
2 Nov 2014
Ullas_Krishnan
Hi Satheesh,Please see below the code used for converting Student JSON format string to Student Class..in Xamarin.Class Library using System.Runtime.Serialization.Json;using System.Runtime.Serialization;Code for De- Serialization public static T Deserialize(string json)...
Please Sign up or sign in to vote.
27 Nov 2014
G.Vinod Kumar
1 alternative  
Dear experts,Please help me with the above question , i have just started using Xamarin for developing small android apps using C#
Please Sign up or sign in to vote.
27 Nov 2014
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Refer1. Grid View[^]2. Create a Grid View[^]
Please Sign up or sign in to vote.
8 Dec 2014
daghune
hi all friends ,i am developing xamarin android app that use for managing payments between two device with NFC Know i have a main activity that want to use as sender/receiver why i am seprating them because user interface of sender and receiver should be differin sender i have a texbox...
Please Sign up or sign in to vote.
14 Jan 2015
bfb
2 alternatives  
In Converting DateTime to NSDate the following extension methods are proposed:public static DateTime NSDateToDateTime(this NSDate date){ DateTime reference = TimeZone.CurrentTimeZone.ToLocalTime( new DateTime(2001, 1, 1, 0, 0, 0) ); return...
Please Sign up or sign in to vote.
14 Jan 2015
bfb
public static DateTime? NSDateToDateTime(this NSDate date){ if (date == null) { return null; } else { DateTime reference = TimeZone.CurrentTimeZone.ToLocalTime (new DateTime (2001, 1, 1, 0, 0, 0)); return (DateTime?)reference.AddSeconds...
Please Sign up or sign in to vote.
14 Jan 2015
vijetatomar
1 alternative  
I am having an app which is minimized & i want that to be open and put it into the screen in front of user and minimizing currently running app. Would it be possible to override currently running app with my minimized app in android or xamarin
Please Sign up or sign in to vote.
14 Jan 2015
Sinisa Hajnal
No. You have no control over currently running application. You could start a service from your program in OnPause method (that is, when you app is minimized). In that service you could bother the user with offers to open your app (but you should not force it). Also, note that I would...
Please Sign up or sign in to vote.
15 Jan 2015
Ayushmaan Lavania
1 alternative  
Hi,I need to run timer in background service in android , I am usimg xamarin to build an android app, For timer I am using a runnable thread in c#, and problem is I am not able to define notification inside runnable class so that it updates value of a timer in a background.Please give some...
Please Sign up or sign in to vote.
15 Jan 2015
Peter Leow
Check this out: Creating Services[^]
Please Sign up or sign in to vote.
22 Jan 2015
OriginalGriff
That isn't a question we can answer: only you can.The advantage of using Xamarin is that it takes C# code, and some (but not all) of your app can be reused to run on iOS or Android without change. If you write in Java, then can run on Android, but you need a complete rewrite in ObjectiveC to...
Please Sign up or sign in to vote.
22 Jan 2015
Peter Leow
This is not a question that we can answer. You have to make a decision based on your own strength and preference.
Please Sign up or sign in to vote.
23 Jan 2015
swapnil999
1 alternative  
I recently developed an application on my computer using xna.Now i want to make this application on android.So,I downloaded Xamarin studio.I tried coding in it but it feels very different from xna. Xamarin studio doesn't even recognize commands like texture2d and spritebatch.!Now I cant...
Please Sign up or sign in to vote.
26 Jan 2015
bfb
1 alternative  
Does anyone know how to reference Library/Caches directory as baseUrl for UIWebView in C#?Normally you would useNSUrl baseUrl = new NSUrl (NSBundle.MainBundle.BundlePath, true);
Please Sign up or sign in to vote.
26 Jan 2015
KarstenK
Path.GetDirectoryName(Assembly...
Please Sign up or sign in to vote.
29 Jan 2015
santhosh kumar
i have developed one android app,have to upload in google play store and it can be accessible for specific group of people and in the group , admin only has permissions to uninstall app,remaining group members will not able to uninstall. How to prevent uninstillation from users ? and how to give...
Please Sign up or sign in to vote.
29 Jan 2015
CDP1802
It will simply not work, at least not yet. XNA is nothing else than a library, based on DirectX. The 'commands' you are looking for most probably don't exist in Xamarin yet, if they ever will. Simply recompiling the libraries will not be enough in this case. It would have to be ported to...
Please Sign up or sign in to vote.
3 Feb 2015
Ayushmaan Lavania
1 alternative  
I want to know the exact difference between portable class libraries and shared projects,about what all libraries we can share, as in local database ,remote data using azure , I am building an native application using xamarin , I am done with android and now want to build for Ios but want same...
Please Sign up or sign in to vote.
10 Feb 2015
vijetatomar
Hi,I am having a xamarin.ios basic app , which is successfully installed on device but i am unable to debug the project in visual studio. also it showing an error: "Failed to start application on target device".Thank you in advance.
Please Sign up or sign in to vote.
29 Mar 2015
amazingavis
1 alternative  
Hi am new to this IDE. Well am trying to build an app in it,in that requirement Google Cloud Messaging is also a part.can anyone help me with GCM implementation in XAMARIN.
Please Sign up or sign in to vote.
26 Feb 2015
24983
Hi, I am developing simple page Insert and fetch the records from sqlserver using WCF Services.Now created 2 methods such as insert and fetch in wcf. So How to call Wcf Url in Xamarin Android page.Let me know about this with example coding.Thanks.
Please Sign up or sign in to vote.
4 Mar 2015
24983
Hi, I am new to Xamarin, How to fetch data from WCf Json to Xamarin.android. then How to call WCF Josn data in Activity page?Please Guide me.
Please Sign up or sign in to vote.
1 Apr 2015
Ayushmaan Lavania
I am working on iOS Application in Xamarin.timer1 = new System.Timers.Timer();timer1.Interval = 1000;//Play.TouchUpInside += (sender,e)=>//{ timer1.Enabled = true; Console.WriteLine("timer started"); timer1.Elapsed += new...
Please Sign up or sign in to vote.
6 Apr 2015
Ziya1995
1 alternative  
What framework does Xamarin use to create cross platforms apps?Does it use .Net Framework?Is it the same .Net Framework we use to create apps for Windows?So, can i just port my existing .Net App to Android via Xamarin?I just don't get exactly how Xamarin works, because i couldn't find...
Please Sign up or sign in to vote.
13 Apr 2015
Member 9277720
When i am selecting the iphone device and build,it is showing the error for xamarin.iosError 555 No installed provisioning profiles match the installed iOS code signing keys.Please help to resolve this issue.
Please Sign up or sign in to vote.
18 Apr 2015
Стас Лапшин
Hello:I'm working on an app that needs change dns servers on an active wifi connection.I get "WifiConfiguration" object of active wifi connection and I know about "linkProperties" property of Java's "WifiConfiguration". But Mono's "WifiConfiguration" does not contain this feature. As it...
Please Sign up or sign in to vote.
4 May 2015
Ayushmaan Lavania
I am loading fragment into my activity. where i am using listview in my fragmentpublic class NewTask : Fragment { public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { //var textToDisplay = new...
Please Sign up or sign in to vote.
4 May 2015
Ayushmaan Lavania
1 alternative  
Hi I am working on an android application in xamarin.1)I want to integrate four fragment in one activity.2)I want the list in all the fragments3)On click of a button the fragments gets change.or should i use frame layout so that i'll change the UI everytime button get...
Please Sign up or sign in to vote.
4 May 2015
Peter Leow
Take a Fragments Walkthrough[^]
Please Sign up or sign in to vote.
24 May 2015
hitech_s
can anyone suggest me how to perform indexing on a table view controller in ios using mvvmcross for binding the data.thanks.
Please Sign up or sign in to vote.
31 May 2015
Sergey Alexandrovich Kryukov
It can be done on many different levels from raw sockets to classical remoting to WCF.Please see my past answers:Communication b/w two Windows applications on LAN.[^],how i can send byte[] to other pc[^].—SA
Please Sign up or sign in to vote.
31 May 2015
Harvey13
1 alternative  
Hello CP'ers!I created a windows C# app (Tennis Scoreboard) where each player has a button. When you click player1's button he will receive one point and so on...I would like to know if there is any possibility to control that Scoreboard from a simple iphone app. So this app would have 2...
Please Sign up or sign in to vote.
17 Jun 2015
Ayushmaan Lavania
I am able to get pid of the application running in my android device.ActivityManager activityManager = (ActivityManager)this.GetSystemService (Context.ActivityService); IList runningTaskInfo =...
Please Sign up or sign in to vote.
22 Jun 2015
Khosro Moradaliyan
I want Load Map file(.shp) Offline in android and edit it.please help me
Please Sign up or sign in to vote.
29 Jun 2015
Member 11765833
I had generated a class file from the Web Service using the tool "ServiceModel Metadata Utility Tool (Svcutil.exe)" and trying to get the data from the class file.Download My Source Code From here : Codebut it is showing System.Invalid Operation ExceptionHelp me in solving i this issue.
Please Sign up or sign in to vote.
7 Jul 2015
Member 11765833
I am trying to get the data from my web service.I create a proxy class by using SlSvcUtil , Iam trying to access a method from my proxy class like thisvoid OnGotResult(object sender, GetChildrenCompletedEventArgs e) { resultsLabel.Text = e.Result.ToString(); ...
Please Sign up or sign in to vote.
9 Jul 2015
Dharmesh .S. Patil
1. Developing Android Apps using C#[^]2. http://www.codemag.com/Article/1308051[^]3. http://code.tutsplus.com/articles/aspnet-for-php-developers--net-8526[^]
Please Sign up or sign in to vote.
4 Aug 2015
suchithm
Posted my solution here http://appliedcodelog.blogspot.in/2015/08/login-by-google-account-integration-for.html[^]
Please Sign up or sign in to vote.
6 Aug 2015
Vaikesh K P
Jusy Copy AndroidDesigner.jarfrom"C:\Program Files (x86)\Xamarin Studio\AddIns\MonoDevelop.MonoDroid\java\AndroidDesigner.jar"to"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Xamarin\Xamarin.Android\4.7.04014\java\AndroidDesigner.jar"This works well...
Please Sign up or sign in to vote.
6 Aug 2015
Vaikesh K P
There is Xamarin Component for Google Cloud Messaging (GCM) in Xamarin, Refer the links given below :1) Component [^]2) GCM Client Sample : Github[^]3) Guides about Google Cloud Messaging[^]
Please Sign up or sign in to vote.
9 Aug 2015
OriginalGriff
Talk to Xamarin: it's a paid-for product (and not a cheap one!), so they should be your first port of call. They have a tech support site: http://xamarin.com/support[^]
Please Sign up or sign in to vote.
10 Aug 2015
Member 11900613
Hi,Sorry for my english I create blank android project with xamarin in visual studio 2015 when i tried to run blank app,this is the image of errorwhat should I do? thanks for your help.
Please Sign up or sign in to vote.
11 Aug 2015
Vaikesh K P
There are so many notes about listview in Xamarin. Some of the good notes are noted below :1) ListView in Xamarin.Android 2) ListViews and Adapters in Xamarin 3) Tables and Cells in Xamarin.iOS4) ListView in Xamarin.Forms5)List view interaction – Add, delete and...
Please Sign up or sign in to vote.
12 Aug 2015
Member 11761199
Hello codeproject pepsAfter following this article https://blog.xamarin.com/add-collaboration-to-your-mobile-apps-with-sharepoint/[^]i was able to authenticate to sharepoint online, add a list and some list items. Now i would like to update list items but cannot seem to get it right, i...
Please Sign up or sign in to vote.
19 Aug 2015
Agarwal1984
Hello,"reference to unknown project 'abc' ignored" error is coming, when i created new android app project in xamarin studio.I can't create app.Please help me.How can be resolve this issue.Thanks in Advance.Ankit AgarwalSoftware Engineer
Please Sign up or sign in to vote.
8 Sep 2015
Member 11968867
connection to the layout renderer failed this may be caused by a misconfiguration of java->java.lang.NoClassDefFoundError: com/android/utils/ILogger at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at...
Please Sign up or sign in to vote.
9 Sep 2015
Agarwal1984
1 alternative  
Hello,I am a fresher for xamarin.I have to develop android application,synchronization with ms sql server database.I am using xamarin for this, but how can we create web service for data insert and how to call web service in xamarin framework for android app development?Please help...
Please Sign up or sign in to vote.
9 Sep 2015
Sarath kumar.N
Here is an tutorial for consuming web service in xamarin applications. Here
Please Sign up or sign in to vote.
9 Sep 2015
Agarwal1984
1 alternative  
Hello,How to resolve this error:-'system.reflection.assembly' require business (or higher)license.please help me.Ankit AgarwalSoftware Engineer
Please Sign up or sign in to vote.
9 Sep 2015
OriginalGriff
The error message is pretty self-explanatory.'system.reflection.assembly' require business (or higher)license.You need to upgrade your Xamarin subscription to Business or Enterprise in order to use that.Don't like it? Talk to Xamarin: it's their licensing agreement, not ours! :laugh:
Please Sign up or sign in to vote.
20 Sep 2015
Vaikesh K P
I have a view with a list and a label.I just placed a time picker inside the ViewCell of the corresponding list.I want to know how can i get the selected time of the time picker into the corresponding label present in the view.How can i do it?How can i update the label inside the...
Please Sign up or sign in to vote.
22 Sep 2015
Sergey Kizyan
You can show image by URL without downloading it. Downloading will be done automatically by your view and if user scrolls fast some pictures will be ignored. Modern UI components knows how to show images from web by URL and you don't need to download files manually.
Please Sign up or sign in to vote.
22 Sep 2015
Jethro Daniel
Don't mind, I found a component from xamarin component store called square.picasso that offers advanced image download and caching + it loads the image directly into the image view async..With loads of other features.
Please Sign up or sign in to vote.
1 Oct 2015
Alexandru Lungu
I don't think that XmlDocument is portable; try using XDocument and/or XmlReader.
Please Sign up or sign in to vote.
4 Oct 2015
javad azimi
1 alternative  
Hi . Is any shortcut key or method for adding string's to resource like "Alt + Enter in Android studio "?It's very helpfull for me .thank you .
Please Sign up or sign in to vote.
4 Oct 2015
Krunal Rohit
Well, you should post this question on Xamarin Forum[^].Any tech-guru from xamarin would help you out.-KR
Please Sign up or sign in to vote.
13 Nov 2015
jamesmc1535
hi , i downloaded xamarin android player (android emulator) when i start the emulator i get an error message saying the emulator timed out continue to wait yes /no? if i select yes after a while the emulator starts , and the (emulator screen) keeps on flashing , thought it might be the version ...
Please Sign up or sign in to vote.
22 Nov 2015
jamesmc1535
hiim having trouble with xamarin studio , when i start it up and select a new project i get an error message" xamarin insights error"xamarin.insights support could not be added to your project due to an error, an unexpected error occured.\you can add it again at anytime from the xamarin...
Please Sign up or sign in to vote.
24 Nov 2015
George Jonsson
As a compliment to Solution 1, I think it is a good idea to get some basic XML knowledge.One place to start is here: W3Schools: XML Tutorial[^]
Please Sign up or sign in to vote.
23 Feb 2018
jamesmc1535
2 alternatives  
hi i get this error - Error parsing XML: junk after document element -there are multple junk root elements , line 12 i changed the
Please Sign up or sign in to vote.
24 Nov 2015
Kornfeld Eliyahu Peter
You have to work on your code formatting, currently it is hard to see the XML in your post...But even so...An XML document can have one, and only one, root element
Please Sign up or sign in to vote.
30 Nov 2015
George Jonsson
Why not do as they recommend on Xamarin support site[^] and post your question at StackOverflow[^]?Just tag your question with Xamarin.
Please Sign up or sign in to vote.
29 Nov 2015
jamesmc1535
1 alternative  
hi im getting this error "No resource identifier foua=nd for attribute "innerRaduisRatio in package 'android' . heres my code
Please Sign up or sign in to vote.
29 Nov 2015
George Jonsson
Try innerRadiusRatio instead of innerRaduisRatio
Please Sign up or sign in to vote.
1 Dec 2015
jamesmc1535
hi im having trouble with this one tutorial,its to create a login system . followed all instructions properly and so far everythings working except for the second form" dailog fragment" when i click the button it tries to open it , but it opens a small block with nothing on it , the block...
Please Sign up or sign in to vote.
10 Dec 2015
Arindam Tewary
By your question, it seems you are a newbie, I would say sorry if my understanding is not correct.Please check below links that would help you a lot.xamarin started with android 1xamarin started with android 2xamarin started with aandroid 3Regarding database, source of data of an...
Please Sign up or sign in to vote.
6 Jan 2016
ridoy
Check options from here:Adding watermark bitmap over video in android: 4.3's MediaMuxer or ffmpeg - Stack Overflow[^]
Please Sign up or sign in to vote.
6 Jan 2016
jamesmc1535
as the topic states , im trying to use the class(using Xamarin.Forms.Platform.Android;) but i get an error that the content doesnt exist,what refrence should i add thats going to enable me to use it?? thanks in advance :)
Please Sign up or sign in to vote.
18 Jan 2016
ashishkumar008
I am trying to record audio data from microphone in .wav file and playback it. I need also actual data (amplitude) for ploting graph so i am using AudioUnit. I setup inputCallBack and renderCallBack for AudioUnit object But i don't know how to write AudioBuffers to .wav file from render_CallBack...
Please Sign up or sign in to vote.
27 Jan 2016
Sivaprasad SR
1 alternative  
Hi, 'm new to Xamarin. i am having trouble in publishing the ipa file. I have taken the archives using xamarin studio. i trying to load the ipa file through application loader. it load the ipa file to the app store. i can see the ipa file in the store and in TestFlight .when i try to give the...
Please Sign up or sign in to vote.
27 Jan 2016
Stephen Hewison
This is well documented problem which is caused by missing information from your certificates and provisioning profile.You may be required to regenerate both.ios - App "does not contain the correct beta entitlement" - Stack Overflow[^]
Please Sign up or sign in to vote.
29 Jan 2016
ravikhoda
Hi,i am using the following code to align action bar title in the center in xamarin c# cross platoform application. public static void SetActionbarText(Activity activity, string text) { // Setting custom view enable if (activity != null) ...
Please Sign up or sign in to vote.
1 Feb 2016
Member 4345489
Hi All,I want to implement Mobile Back Button Functionality in my Xamarin Android Application.Basically I had done following code in all the pages:-public override bool OnKeyDown(Keycode keyCode, KeyEvent e){ if (e.KeyCode == Keycode.Back) { base.OnBackPressed (); //...
Please Sign up or sign in to vote.
17 Apr 2017
Member 4345489
1 alternative  
I had used listview with custom listview adapter and i had generated a click event for imageview control of custom adapter. Now the issue is my click event fires multiple time with different position.Here is some code which i had tried so far :-public override View...
Please Sign up or sign in to vote.
24 Feb 2016
Member 11914978
1 alternative  
Hi.., this is my first project of android using xamarin and I am not able to access value from EditText in my code.What I have tried:EditText username = FindViewById(Resource.Id.editTextUsername); EditText password = FindViewById(Resource.Id.editTextPassword); ...
Please Sign up or sign in to vote.
4 Mar 2016
devonJones
1 alternative  
So, I've been getting into App development in Android using Xamarin with the Visual Studio IDE but now I want to venture into the world of game app developmentWhere do I start? I should be able to keep using VS right?or do I need to move over to a game IDE such as Unreal Engine or...
Please Sign up or sign in to vote.
4 Mar 2016
Afzaal Ahmad Zeeshan
I won't recommend Xamarin as a game development engine, because just to make things work in Xamarin, you are again going to ask for help from another tool.Instead, I would recommend that you get a game development engine. Unreal, Unity or any other, doesn't matter. As long as that framework...
Please Sign up or sign in to vote.
5 Mar 2016
devonJones
Okay so the title might be incorrect.Im 100% that it is possible to create a wallpaper app for android.Anyways..Im starting off my first app for android and I though to myself, what can be fun to create? An wallpaper app that seems like it would be easy (from past experiences with C#...
Please Sign up or sign in to vote.
5 Mar 2016
devonJones
1 alternative  
Hello! so im new to android development and Im going to create a wallpaper app as my first project because that, thats what I feel will on my feet to begin with, I've made a few wallpaper apps for the PC working with C# and the .NET Framework but im not sure the same concepts work for Android...
Please Sign up or sign in to vote.
5 Mar 2016
Richard MacCutchan
Start here: http://www.codeproject.com/KB/android/#Android+Tutorial+Contest[^].
Please Sign up or sign in to vote.
6 Mar 2016
devonJones
I am developing my first app in android (C# Visual-Studio)And its basically a wallpaper application that will allow you to search for anything, lets say "Cats" then provide you with a a bunch of pictures of cats and then you can choose one and save to your phone.And to my knowledge it...
Please Sign up or sign in to vote.
6 Mar 2016
Member 11914978
I have Xamarin forms cross platform project and I need to call WCF web service in PCL project but I am not able to add web service in PCL project. The code below is tried for windows phone application because I am able to add same WCF web service in that project.What I have...
Please Sign up or sign in to vote.
21 Mar 2016
jamesmc1535
i get a build error using xamarin , the program used to run , i did a reinstall on my new laptop and now it doesnt work , tried doing a recode still same error, im thinking the program has something it depends on is there a way to see what it might be? heres the build log -...
Please Sign up or sign in to vote.
22 Mar 2016
Afzaal Ahmad Zeeshan
From your own link, Quote[^]:MICROSOFT VISUAL STUDIO 2015 (AND NEXT VERSION CODE-NAME DEV15) PRODUCT FAMILY PRE-RELEASE SOFTWARERemember "Project Spartan[^]"? Spartan was the code-name given to the project for Microsoft Edge. They are using the same thing here. They are code-naming the...
Please Sign up or sign in to vote.
29 Mar 2016
jamesmc1535
hi , i followed this tutorial ( Get Current Device Location - Xamarin[^]) on creating a application that detects the location of the device once the button was clicked.Ive managed to create the program and followed the tutorial step by step, no build errors whatsoever but whenever i click the...
Please Sign up or sign in to vote.
4 Apr 2016
jamesmc1535
i used xamarin studio and swapped over to visual studios for creating android apps, although my projects load perfectly i cant debug them, whenever i click build it suceeds but when it comes to starting the emulator it just does nothing this is the build log '========== Build: 1 succeeded,...
Please Sign up or sign in to vote.
6 Apr 2016
GTR0123
i want to use sip registration with String text Number Password server and Porti am using twilio twilio using web registration i don't need it public async void OnInitialized () { Console.WriteLine ("Twilio SDK is ready."); try { var client = new...
Please Sign up or sign in to vote.
9 Apr 2016
Seraph_summer
I am first time to use Adroid App within Visual studio 2015 community, I just created a "Hello world" app by default wihthout any coding.after by selecting AVD_GalaxyNexus_toolsForApacheCordova(Android 4.4-API19),thenthen I press F5 to debug it.after building, then for debugging, it...
Please Sign up or sign in to vote.
10 Apr 2016
GTR0123
i am using xamarin and i want to save txt file there so i have some script that is saving private void SavetoSd() { var sdCardPath = Android.OS.Environment.ExternalStorageDirectory.Path; var filePath = System.IO.Path.Combine(sdCardPath, "iootext.txt"); ...
Please Sign up or sign in to vote.
13 Apr 2016
Matt Harber
Hi Guys,I have a asp mvc 6 web application that uses Azure active directory single sign on authentication (works fine). However, I have a Xamarin.Android (c#) mobile app that I am trying to connect to the mvc app(acting as the web service). Any ideas on how to authenticate with the mvc...
Please Sign up or sign in to vote.
16 Apr 2016
Torakami
Hi , I am creating xamarin.android app.But My database is mainly into sql server from web app. I want to communicate with rest services from my xamarin app which will insert data into my db from web api.What I have tried:I have created xamarin.android app which is currently...
Please Sign up or sign in to vote.
18 Apr 2016
MustafaJuma
1 alternative  
I've installed VS 2015 community with Xamarin. I can't build a new android project even I haven't add any thing. The error message is “aapt.exe” exited with code -1073741819I've done lots of search but still couldn't figure out what leads to this error. any help is appreciated.What I...
Please Sign up or sign in to vote.
18 Apr 2016
MustafaJuma
The issue solved after I tried many things but the one which work with me is that1.Uninstall Android SDK. 2.Manually remove any folders related to Android (Which I haven't done before). 3.Reinstall Android SDK.
Please Sign up or sign in to vote.
22 Apr 2016
Stephen Hewison
You can pass messages between applications using Custom URL Schema.The schema gets registered as part of the applications manifest.E.g.MyAppName://Message/To/Be/PassedI've never done this with Xamarin but I have done it natively and with Cordova. It works wells.You can also...
Please Sign up or sign in to vote.
27 Apr 2016
Sandeep Ams
I'm a beginner to xamarin started developing apps, i've started with a small application which i can run in IOS simulator(connected through VMWare), i'm using VisualStudio. Can any one help me in generating IPA file.What I have tried:After several configuration changes like changing...
Please Sign up or sign in to vote.
16 May 2016
jamesmc1535
hi , on my applications last page i have a button , i entered the click event - no errors or warnings - , but whenever i click the button nothing happens. heres the code Button button = new Button { Text = "Log the Click Time", }; button.Clicked +=...
Please Sign up or sign in to vote.
17 May 2016
Member 12529798
Here is my code:Button choice1Button1 = FindViewById (Resource.Id.choice1Button1); choice1Button1.Click += delegate(object sender, System.EventArgs e) { SetContentView (Resource.Layout.Event3); }; Button...
Please Sign up or sign in to vote.
18 May 2016
Member 12385075
Hello EveryOne,I am trying to create a mobile app in xamarin for android mobiles. I want some controls are come in every page in my app at top of the screen. How i can do this????What I have tried: android:orientation="vertical" ...
Please Sign up or sign in to vote.
29 May 2016
PeMaCN
Hi everybody. I'm trying to get current location in my android application. It should be displayed in a textview but it doesn't. Can anybody say to me what I'm doing wrong?What I have tried:This is my code:private TextView locationText;private Location currentLocation;private...
Please Sign up or sign in to vote.
15 Jun 2016
Member 11590896
1 alternative  
Hi,I'm trying to using xamarin for do a test app. This app must search bluetooth devices, view them into a list and connect to them for read or write data. I choose xamarin Portable Class Library for my project.I see a lots of examples but I can't see devices in my list.I try Monkey...
Please Sign up or sign in to vote.
2 Jun 2016
Member 10312237
I am new in azure search.I want to use azure search in xamarin androidI search many sites for same but i did not got any solutionI refer this site Adding Suggestions to Mobile Search with Azure Search | Xamarin Blog[^]I am getting error at line var response = await...
Please Sign up or sign in to vote.
11 Jun 2016
Dave Kreskowiak
No.Download it yourself from here[^].
Please Sign up or sign in to vote.
15 Jun 2016
Srinivas Soodula
HI, Is there any possible way to implement OnKeyDown event in Xamarin Forms portable class library, I am able to implement this in xamarin android but I need it in Xamarin Forms. Please suggest me some one. Thanks in advanceWhat I have tried:protected override bool OnKeyDown(Keycode...
Please Sign up or sign in to vote.
15 Jun 2016
mene94
I used the wrong method, I had read that the ble could see devices with normal bluetooth but it's not true. I have tried other projects like GitHub - angelcalvasp/Blacksun.XamForms running on Android but are not implemented for iOS, someone has to suggest me other samples with iOS?Thanks
Please Sign up or sign in to vote.
27 Jun 2016
Ajit Hegde
1 alternative  
Hi I am using Xamarin with VS2015 Community Edition.My problem is when I build the project I can obfuscate however when I publish the apk or export the apk it will replace the obfuscated dll with original dll.How can I obfuscate app even when I publish the apk?What I have tried:So...
Please Sign up or sign in to vote.
23 Jun 2016
Member 3892343
I want to create an application in xamarin c# for android to get the coordinates of the android phone (gps and from internet), I want a good tutorial in detail, I have found some on google but they don't seem to work (it is for android min version 4 and major 5)Thank youWhat I have...
Please Sign up or sign in to vote.
27 Jun 2016
Ajit Hegde
This answer is posted by Polyariz in stackoverflow.c# - How to use .Net Reactor obfuscated dll of Xamarin Android APK - Stack Overflow[^]
Please Sign up or sign in to vote.
30 Jun 2016
Nikhil_S
1 alternative  
I was going through a link regarding mobile application development using kony and i found it very interesting but xamarin is very stable platform,i have done development with it from last 2 years and even microsoft has recently acquired it.Still i have doubt which IDE is better and...
Please Sign up or sign in to vote.
13 Jul 2016
Trelak
I'm trying to customize day cells on Telerik calendar in view mode flow (that's essential). It works perfectly in other views, but it doesn't with flow view.What I have tried:I've tried implementing CalendarDelegate and overriding DidNavigateToDate method, but it is not called for...
Please Sign up or sign in to vote.
26 Jul 2016
123456789igor
Just started investigate the Xamarin Test Cloud. I want to write a simple test using VS and run this test on iOS simulator, which is running on Mac machine. I've connected to Xamarin Mac Agent. Agent run on the same Mac machine as the iOS simulator.I've faced with exception "iOS tests are...
Please Sign up or sign in to vote.
31 Jul 2016
Torakami
Hi , I am new to xamarin.forms I was trying two way databinding but when it comes to binding with interger property which is nullable it doesnt update viewmodel from view Canany one please tell me how to handle thatWhat I have tried://View
Please Sign up or sign in to vote.
1 Aug 2016
Victor_Rojas_B
Hi guys, I'm new in Xamarin Studio, I'm trying to create a custom attribute in XAML, in a cross plataform solution, I'm using the xmlns:android="http://schemas.android.com/apk/res/android" reference, but when I use the prefix android:textStyle="Italic", and I run the solution it show me an error...
Please Sign up or sign in to vote.
28 Sep 2018
Member 10322975
1 alternative  
I want to develop small dictionary app. I want to know how to read data from google spreadsheet in c# xamarin. is it possible or is there any easy way to do thisWhat I have tried:iam trying to read google excel data read through my android app
Please Sign up or sign in to vote.
8 Aug 2016
Pooja Rawat
Hi,I am getting Null Reference Exception in xamarin forms for application in IOS and it works fine with android. I used try catch Every Where Exception its nit traceable got following Exception with Null pointer:Got a SIGABRT while executing native code. This usually indicatesa fatal...
Please Sign up or sign in to vote.
13 Aug 2016
Poulami S
I am building an android app in xamarin studio which is using third party libraries like Newtonsoft.Json etc. It was working well. Then there is a requirement of integrating google map into the app. As I was new to integrating google map in an android app, I googled for helps and used them. I am...
Please Sign up or sign in to vote.
15 Aug 2016
mikeoabban
I have being trying to install XamarinStudio in my visual studio 2015 and it ask that I first install Gtk# 2.12.22 or higher. I have downloaded different versions of Gtk# to install but I keep getting the error message WinProject1.cab is corrupt for all the version I downloaded.please help me...
Please Sign up or sign in to vote.
25 Aug 2016
Victor_Rojas_B
1 alternative  
I would like to know what´s the best way to connect a SQL Server DB to a Solution in Xamarin Studio in Android(with internal code(DAL), webservices or others), I've worked in C# before in web and desktop(WindowsForm) and I know how to manage a SQL connection to a DB in these ways, but I´m pretty...
Please Sign up or sign in to vote.
25 Aug 2016
The Praveen Singh
Follow below links you need to create Webservice for that..Introduction to Web Services - Xamarin[^]
Please Sign up or sign in to vote.
7 Sep 2016
Divakar13
1 alternative  
For example, I have added the TextView inside the fragment as below. var adaptor = new GenericFragmentPagerAdaptor(SupportFragmentManager); // where GenericFragementPagerAdaptor is a sub-class derived from FragementPagerAdaptor adaptor.AddFragmentView((i, v, b) => { ...
Please Sign up or sign in to vote.
7 Sep 2016
David_Wimbley
If i understand what you are asking i think what you want to do is use the IDisposable interface which will handle the cleanup of resources for you. Your usage having used IDisposable would then beusing(var adaptor = new GenericFragmentPagerAdaptor(SupportFragmentManager)){ ...
Please Sign up or sign in to vote.
12 Sep 2016
Mansi.Shah27
1 alternative  
I am using MediaRecorder to record audio in Xamarin Android. I want to add Pause and Resume functionality to this. MediaRecorder does not have built in methods to Pause and Resume the recording. How can I accomplish this? Do I need to store separate audio files when Paused and merge them in a...
Please Sign up or sign in to vote.
10 Sep 2016
Member 12731696
3 alternatives  
I am trying to create a program which takes user input and based on that provides some results. Input is in the form of a sting variable and it is checked across strings stored in an array . If the input is matches these stored variables then a success message is displayed or else error...
Please Sign up or sign in to vote.
10 Sep 2016
manu_dhobale
I have also tried something for you, please have a lookclass Travel{ string[] travellers_name = new string[8]; public string[] departure_location = new string[4]; public string[] arrival_location = new string[4]; int[] mobileno = new int[8]; public Travel()...
Please Sign up or sign in to vote.
12 Sep 2016
Darren_vms
At api 24 it does MediaRecorder | Android Developers[^] not sure if that helps....You would have to stop and start and merge the files, here is an implementation of just that for android GitHub - lassana/continuous-audiorecorder: Implementation of the missing feature in Android SDK: audio...
Please Sign up or sign in to vote.
22 Sep 2016
Mansi.Shah27
I am developing the same application in both Android and iOS using Xamarin Native. I want to add session for login in both the platforms. Is there any way I can write shared code between both the platforms for session management? If not then how to manage session native to both platforms? Please...
Please Sign up or sign in to vote.
5 Oct 2016
Member 12776954
1 alternative  
Hi,I want to build an app to run on android that will connect to a on premise back office webapi, it needs to access built in barcode scanner (zebra tc55), it is a business application (stock control).I am not sure on the best approach, cordova or xamarin they both seem to do the job,...
Please Sign up or sign in to vote.
5 Oct 2016
David_Wimbley
Both cordova and xamarin have their pros and cons. We don't know anything about your project or what you are trying to accomplish so the only thing we can suggest is try both and see what you like.Cordova is more a web technologies framework for building cross platform mobile apps and...
Please Sign up or sign in to vote.
12 Oct 2016
Mansi.Shah27
I am using Navigation Drawer in my application due to which I am having only one activity, I have converted rest of the screens into fragments. On one of these fragments, I am using FragmentTabHost to have multiple tabs. How can I replace part of this fragment(except the FragmentTabHost control)...
Please Sign up or sign in to vote.
16 Oct 2016
EasyHero
hi, i have a circular progress bar that has a thumb, i would want the percentage text to be written inside the thumb.Here is what i have triedWhat I have tried:this updates the progress value(thumb sweep ) on the circular bar private void updateProgress(int progress, bool...
Please Sign up or sign in to vote.
20 Oct 2016
me64
1 alternative  
Hi,I Xamarin installed in visual studio 2015.Through a new option in visual studio 2015 when I create an Android project, the following error message."object reference not set to an instance of an object"In addition, the SDK-Manager in the photo below I do not see this is a problem...