iphone application using xcode [duplicate] - c#

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
is there any way that we can develop application in .net for iphone
can xcode be used to develop iphone applications using .net and is it compatible with windows

Take a look at Mono Touch. It lets you use .NET-style languages and tools to develop iPhone apps.
However, it won't be compatible with Windows. Mono Touch is basically a wrapper over Cocoa Touch. You still have to use Xcode (on a Mac) to build and distribute apps developed with Mono Touch.

Related

Make Mac OS X games with a windows computer. c#, Visual studio [duplicate]

This question already has answers here:
How to build a dmg Mac OS X file (on a non-Mac platform)?
(7 answers)
Closed 5 years ago.
Using a windows computer, is it possible to make a game for mac? With visual studio you can use Xamarin to make ios games, so is a there a way to do the same for mac without having to use a virtual machine?
Using purely visual studio... I don't know!
I know that it is possible to make cross platform games using an engine like unity:
https://unity3d.com/unity/features/multiplatform
Which uses C#, and integrates with visual studio.
There are probably other ways too!
For example, I think there is a way to make web apps with C# - which might be integrated with visual studio... but I haven't played around with it, or know what it's capabilities are.
https://code.msdn.microsoft.com/ASPNET-5-Create-Web-b8a44cce
Web apps should be cross compatible via browsers, I think... again, haven't really played around with it.

Without using VM or MAC how can i do IOS development [duplicate]

This question already has answers here:
How can I develop for iPhone using a Windows development machine?
(42 answers)
Closed 5 years ago.
I want to start IOS development as i prefer ios over android and other platforms due to personal liking only.
The problem is i tried Visual Studio with Xamarin but it needs an actual MAC for apps !!
I am thinking about using Xamarin Studio!
Does it require a MAC too ?
Any other way around without using VM or MAC ?
You can use C# with the Xamarin Framework or use Ionic 2/3 (Angular 2/4), React Native.
For Xamarin, you could actually build your app but you'll need a Mac to be connected remotely to your Windows machine in order to build the iOS project.

Bluetooth Low Energy in .Net (C#) [duplicate]

This question already has answers here:
Is there any way to use Bluetooth LE from a c# desktop app in windows 10?
(3 answers)
Closed 6 years ago.
is it possible to use bluetooth low energy (ble) with .Net (C#) in an console app? For Example like with windows.devices.bluetooth in uwp apps.
I would just do it in uwp, but I need vJoy which is designed for .Net and the MbientLab Metawear C hardware as sensor with ble.
You can use C# APIs in C# Desktop applications! I have a sample here in GitHub.
In general, to get access to the C# APIS, add two references to your project:
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5\System.Runtime.WindowsRuntime.dll
Note that the #2 version depends on the version of .Net that you're using.
Background tasks will not be supported, but all other Bluetooth C#
features should be there.

DirectX from C# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm looking into various options for using DirectX in C#; ideally I want to use whatever technology is preferred by Microsoft.
Non-Microsoft Technologies:
SharpDX
Slim DX
Direct2D Manager Wrapper
Microsoft Technologies:
WPF
DirectX 9.0 for managed code (deprecated)
XNA Framework (deprecated)
Rationale behind the technology I want to use:
I want a code-first framework (as opposed to writing XAML in WPF)
I want (ideally) a Microsoft supported framework that isn't deprecated
I want to build applications that don't over-rely on 3rd party dependencies (i.e. If I was to build an application with WPF, the framework will likely already be installed on the users machine as part of the .NET framework)
Questions:
What is Microsoft's prefered method for writing DirectX exabled applications (aside from WPF)?
What dangers are there in using deprecated technologies (MDX, XNA)?
What is the most popular non-Microsoft DirectX technology that can be used from C#?
The DirectX technology is central to modern Windows presentation and game graphics, so there's lots of different avenues to it. Your question doesn't really state what kind of application you are building or what platform you are trying to target.
Managed DirectX 1.1 has a long list of issues at this point: it doesn't support .NET 4.x which means VS 2010 or later C# projects by default can't use it. It uses legacy D3DX9 and legacy DirectSetup deployment. It does not support 64-bit native apps. It only supports Direct3D 9 and not Direct3D 10.x or 11.x. It exposes a bunch of legacy stuff like DirectPlay and DirectSound. It hasn't been updated since ~2006 and finding samples for it is a challenge. It does not support Windows Store apps, Windows phone, Xbox 360, or Xbox One.
SlimDX is a good choice for someone who has an existing Managed DirectX 1.1 application who wants to move to something a bit better supported. It is compatible with x64 native apps and .NET 4.0. The project has indeed stalled in terms of progression, but it's open source so you can always work with it yourself.
XNA Game Studio 4 supports .NET 4.0 and can target Xbox 360, Windows phone 7, Windows phone 8 (in appcompat), and Windows 32-bit apps. It does not support x64 native apps, and the content pipeline is only compatible with VS 2010. It uses legacy D3DX9 so it depends on the deprecated DirectSetup deployment. It exposes Direct3D 9 and not Direcxt3D 10.x or 11.x. It does not support Windows Store apps or Xbox One. It's specific to writing games.
Windows Presentation Foundation has Direct3D9/Direct3D9Ex interop, but not Direct3D 10.x or Direct3D 11.x. This is a useful technology for Win32 desktop apps, but is not supported for Windows Store apps, Windows phone, or Xbox One. See MSDN. It's not particularly suited to making games, but many game developers have used it for their tools pipeline. The lack of DirectX 10.x/11.x support is challenging, but you could make it work with DXGI Shared Surfaces with Direct3D9Ex.
Note that there is a GitHub project WPF DX11 interop that can be helpful here.
SharpDX is a popular choice for a C# mapping of the modern DirectX APIs. It also supports Windows Store and Windows Phone apps, and is an active project.
BTW, If you are just looking for a direct way to use Direct2D from C# you may want to look at Win2D.
See DirectX and .NET

Is it possible to develop an Android application with C#? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Will Google Android ever support .NET?
Is there a way to develop C#/.NET on Android devices?
I don't have an experience with mobile applications and as a .Net developer I would like to ask if it is possible to develop Android applications with C#?
If yes, does this mean I can use Visual Studio for this purpose?
Yes, there is a commercial framework called MonoDroid created for this purpose. It appears to support Visual Studio 2010.
The iOS alternative, MonoTouch, is restricted to Mac usage I believe.
To be honest, it looks like it has recently been farmed off to another supplier and the prices have jumped... I'd be hesitant before buying in and I'd likely try and learn Java/Objective-C instead - unless I knew I was going to make squillions!

Categories