xamarin-studio

Setting up Xamarin Studio Version Control with TFS + git

心已入冬 提交于 2019-12-02 17:19:50
I am setting up Xamarin with Team Foundation Service + git to develop iOS apps. I have tried many different settings trying to set up my TFS + git integration on our MAC with no avail. I keep getting exceptions of either not authorized or failed to fetch . I am going to list all steps I took to be as complete as possible. First of all, I created a hosted TFS account and added a New Team Project + Git I then had to create alternative login credentials since you cannot have an @ symbol in your login info. To set up alternate creds in Visual Studio Team Services (VSTS), click on your name on the

How do I debug on a real android device using Xamarin for Visual Studio?

寵の児 提交于 2019-12-02 15:42:03
I've found a few links but they don't explain how this is done. I can debug using Xamarin Studio IDE but that IDE (no offense) is lame compared to Visual Studio. Using Visual Studio, there appears to only be option to select an emulator to debug. So how do I get it to debug on my real device via USB (I already have USB Debugging = true)? I'm using Visual Studio 2017 with a OnePlus. In order get debugging working I did the following. Go to Settings > About phone and tap Build Number repeatedly until developer mode is enabled Go into Settings > Developer options and turn USB debugging ON Connect

MVVMCross IMvxGeoLocationWatcher Success Action never fires on Android

对着背影说爱祢 提交于 2019-12-02 12:29:10
I created a very simple test app to try and reverse geocode my current lat/long into an address. Here is the code for my ViewModel: namespace LoginProductsMVVM.Core.ViewModels { public class ProductDetailViewModel : MvxViewModel { public void Init(Product product) { Product = product; } private Product _product; public Product Product { get { return _product; } set { _product = value; RaisePropertyChanged (() => Product); } } private string _latitude; public string Latitude{ get { return _latitude; } set { _latitude = value; RaisePropertyChanged(() => Latitude); } } private string _longitude;

Your binary is not optimized for iPhone 5

 ̄綄美尐妖づ 提交于 2019-12-02 10:05:22
I get this error message while submiting my Xamarin.IOS application to App Store. ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. I have already removed alpha channed and removed transparency from 4-inch launch image

xamarin.android App signing does not work

可紊 提交于 2019-12-02 06:52:56
问题 So im trying to publish my new android app to the Google PlayStore. From reading this tutorial I understand that I have to sign my app before releasing it to the PlayStore. I did exactly the same as in the tutorial. After uploading it to the PlayStore I tried to install the App on my device. I got the message "Package file was not signed correctly". This is strage.. In xamaran studio I get the message "Package succesfully signed". If I try to install the App from the apk on the device I get

xamarin.android App signing does not work

和自甴很熟 提交于 2019-12-02 02:09:36
So im trying to publish my new android app to the Google PlayStore. From reading this tutorial I understand that I have to sign my app before releasing it to the PlayStore. I did exactly the same as in the tutorial. After uploading it to the PlayStore I tried to install the App on my device. I got the message "Package file was not signed correctly". This is strage.. In xamaran studio I get the message "Package succesfully signed". If I try to install the App from the apk on the device I get the message "Unable to install" What could be wrong here? Im using Xamarin Studion on a Mac. Found the

What is the difference between 1x vs r4 or 2x vs r4 or 3x vs r4

回眸只為那壹抹淺笑 提交于 2019-12-02 01:24:58
问题 If 1x image is 100*100 then 2x image is 200 * 200 3x image is 300 * 300 what is r4 dimension should be xxx * xxx There is no documentation on this. FYI: Its not about launch screen image ... the image can be anything like back button etc... 回答1: The answer isn't that straight forward. The important thing to remember is that different iPhone models would automatically use different images from the imageset. The resolution of iPhone-A is not always a simple multiplication of iPhone-B, so the

C# - The type or namespace name 'Security' does not exist in the namespace 'Windows' (are you missing an assembly reference?)

久未见 提交于 2019-12-01 14:27:14
I'm trying to run this script but the IDE gives me the error mentioned in the title, specifically on line 6. I'm using Xamarin Studio 6.3 with .NET 4.5 as my target framework. I chose a .NET Console Project as my solution for running this program. I've tried adding System.Security as an assembly reference, still received the error. Then I added every .NET 4.5-related reference to my project just in case, issue persisted. Here is the script I'm trying to run: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows

C# - The type or namespace name 'Security' does not exist in the namespace 'Windows' (are you missing an assembly reference?)

会有一股神秘感。 提交于 2019-12-01 13:06:49
问题 I'm trying to run this script but the IDE gives me the error mentioned in the title, specifically on line 6. I'm using Xamarin Studio 6.3 with .NET 4.5 as my target framework. I chose a .NET Console Project as my solution for running this program. I've tried adding System.Security as an assembly reference, still received the error. Then I added every .NET 4.5-related reference to my project just in case, issue persisted. Here is the script I'm trying to run: using System; using System

Xamarin.Android OnActivityResult not being called inside a Fragment

≡放荡痞女 提交于 2019-12-01 08:35:24
It appears as if OnActivityResult does not get called after accepting the picture taken from the camera. Am I calling StartActivityForResult() wrong?, or is there something I am missing. public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Android.OS.Bundle savedInstanceState) { var m_View = inflater.Inflate (Resource.Layout.Feed, null); btnCamera = m_View.FindViewById<Button> (Resource.Id.btnCamera); btnGallery = m_View.FindViewById<Button> (Resource.Id.btnGallery); ivPicture = m_View.FindViewById<ImageView> (Resource.Id.imageView1); btnCamera.Click += (sender, e) =