Iphone C# development - c#

I wanted to use monotouch, but unfortunately I don't have $400 to spend.
So I found xmlvm http://www.xmlvm.org/ and I it seems It can crosscompile .net bytecode to objective c.
But, I'm not sure, are there any wrappers? What else would I need to start developing for the iphone using xmlvm??

For the record: note that with the recent release of the iPhone OS version 4.0 SDK, Apple have outlawed using all forms of using cross-compiled languages on the iPhone OS family of devices.

You could use Unity 3D, with C# Scripts.

Related

Can Microsoft XNA run on Windows 10?

I have created a game using C# and Microsoft XNA 4.0. It works on fine on Windows 8 and 8.1, but my friend tried downloading it for a computer running Windows 10 and found that it wouldn't open. It wouldn't even appear in Task Manager when opening it was attempted. The computer in question has the Microsoft XNA Framework Redistributable 4.0 installed on it, so it should be working. Is Windows 10 simply not compatible with XNA?
XNA is no longer supported on newer versions of windows, it was discontinued and isn't supported on platforms newer than Windows 7. Luckily there is an open source implementation of XNA which is essentially the exact same thing and that is currently supported on all windows versions. It's called "MonoGame", here's the link to their website:
http://www.monogame.net/
I know this is a older post but just for those looking for an option like I was today (this post is still a top hit in google) its a bit of work to get setup, but XNA will in fact run on windows 10 just fine, and there is a way to actually use Visual Studio 2017 with XNA just fine as well:
http://flatredball.com/visual-studio-2017-xna-setup/
so if you have code for XNA or like the XNA framework (Like I do, I prefer the pure c# way not c# to some other bloated bridge like Unity) for 2D games then this will be your savior.
Enjoy :)
Some updates:
On March 14, 2016, ID#Xbox announced that MonoGame is coming to Xbox One:
* https://mobile.twitter.com/ID_Xbox/status/709402975051980800
In the FB group Xbox One Indie Devs, Tom Spilman from the MonoGame team had some information to add, more info coming soon.
* https://www.facebook.com/groups/XboxOneIndieDevs/permalink/852775944827686/
Stay tuned to the Twitter account and FB group mentioned above, for new info when available.
Hope that helps!
XNA does work on Windows 10 and even Windows 11. In 2021 I released a game using XNA Framework and it works but the user will have to install XNA Redistributable 4.0 for the game to run on their system so that's not ideal.
But then I ported my game to FNA Framework which is an open-source, identical, reimplementation of XNA. My codebase required almost no changes to work under FNA so I highy recommend it to you.
FNA requires no additional library installation. The DLLs need to be in the same directory with your executable and it will work.
You can see my game here if you are curious about the subject: https://cyon4d.itch.io/cozy-days
To add on what x2kpb said, your best bet at this point is to look at MonoGame for certain platforms, and FNA for others.
XNA, in its pure form, will not work as a new Windows 10 application. The platform to bring win32 (XNA) games to Win10 is called Project Centennial
Both Xbox One and Windows 10 will support MonoGame, per this video at last year's BUILD conference.

Substitute for XNA

I learned to program in C# and later on picked up XNA. To my disappointment I found out that XNA isn't supported in Windows 8 anymore. So I guess XNA is dying out. I would love to find something similar to it. I would love to find something that deals with 2D graphics (3D is little too much for me now) kinda like XNA did, because that's something I can't do in bare C#.Just the managing of pictures and audio. Thanks for help.
XNA is supported on windows 8 (in the desktop), just not for windows store apps.
If you want to create windows store apps then MonoGame was built to be a drop-in replacement for XNA. At the time of writing most is implemented, the notable exception being the content pipeline (you need to use XNA Game Studio to create the xnb files).
MonoGame is an Open Source implementation of the Microsoft XNA 4 Framework. Our goal is to allow XNA developers on Xbox 360, Windows & Windows Phone to port their games to the iOS, Android, Mac OS X, Linux and Windows 8 Metro. Windows Phone 8, OUYA and PlayStation Mobile development is currently in progress.
You can use MonoGame. MonoGame is a cross-platform, drop-in replacement for XNA on Windows, Linux, WinRT, Windows Phone 7/8, iOS and Android.
It is a mature project and many commercial, successful 2D/3D games have been created using this library.

Is there any kind of solution to develop Blackberry Apps in C# like Mono for Android or Monotouch?

I have one application that has been ported to Android and iOS using Xamarin solutions Mono for Android and MonoTouch. This has been made because in this way I can use the same encryption libraries to connect all these platforms with a C# web service that decrypt the received data without the need of HTTPS.
Is there any solution using C# that can be ported to Blackberry? Would the Blackberry 10 OS capability yo port Android apps a solution for this problem?
BTW do not asnwer me with the solution of migrating to a HTTPS capable web service.
Thanks in advance...
Answer is yes and no.
Yes. Generally, you can port Android apps to Blackberry 10. You can use provided tools to check for compatibility.
But, unfortunately you cannot port Mono for Android apps to BB 10 yet. Because
Apps that utilize native code bundled into their APK file
is currently not supported by BB 10 which is the way how Mono for Android works, this is the 'No` answer.
However, good news is there is a cool open source work to allow you develop native BB 10 apps in C#.
Maybe not yet, but there is mono runtime for Blackberry 10, you can check http://burningsoda.com/software/monoberry/
hopefully, xamarin forms is available for blackberry 10 in the future.

c# (mono, dotgnu) for arm embedded questions

Has anyone experience with c# or .net based languages for arm based boards?
Are there compilers that make my code ready for the arm board?
Is it recommed to develop with linux or windows?
Are there advantages having a Linux, or Windows OS on the target board?
any help appreciated.
Thx
You can download Mono and compile it for ARM. The managed code (C#, etc) does not have to be recompiled for ARM, so you can develop it however you want, only the runtime needs to be ARM specific.
Mono (Novell) has commercial products for writing .Net apps for the iPhone/iPod/iPad (MonoTouch), and soon Android (MonoDroid), so ARM is a very well tested platform.
Take a look at my answer here:
Using mono in embedded linux for hardware

is there any way that we can develop application in .net for iphone

can we develop application for iphone in visual studio itself are there any emulator for testing it that is compatible with visual studio
You can use Mono in the iphone environment to develop apps in a C# / .NET environment. - https://www.xamarin.com is one example of someone doing that.
Monodevelop 2.2 Beta has a setup for Windows. Download
But if you want to develop for the iPhone (with MonoTouch) you are required to have an Intel Mac (otherwise you couldn't run the neccesary Apple tools).
Depending on WHAT you want to do you could also use Unity for the iPhone which is also Mono/.Net based.
As mentioned, Mono is the way.
There isn't a way at present to do straightforward development in Visual studio, however this will be coming soon as a VS Addin, which was discussed on Hanselminutes.
There is a Mono IDE though, called monodevelop
Link to Mono Podcast from Hanselminutes here
You can use xamarin (previously monotouch)
You will still need the official iPhone SDK and OSX, from MonoTouch Requirements:
To begin using MonoTouch, you will need to have:
Apple's iPhone SDK 3.0 or higher, available from Apple's iPhone Dev Center.
An Intel Mac computer running MacOS 10.5 or 10.6 (Leopard or Snow Leopard).
The latest release of Mono for OSX
So it's not exactly a free lunch yet :(
Yes, you can use Mono for that.
Novell released a commercial product: MonoTouch
Now it's https://www.xamarin.com/
Besides using Monotouch, there is no other way to do it in .NET.
If you are not willing to use OBJ-C's native API for iPhone you could also consider FLASH.
Use the Airplay SDK: http://www.airplaysdk.com/
You can develop with Visual Studio and target the iPhone for free. If you target other mobile platforms, the pricing changes. You will still need a Macintosh to sign your iPhone package, but all the development / testing can be done in C++ in Visual Studio on Windows.

Categories