Libgdx for Windows Phone 8 - game-engine

I want port my libGDX game to Windows Phone.
Can I compile my libGDX game for Windows Phone 8?

No, not directly. Currently, libGDX "only" works for Mac, Windows, Android, HTML5 (via Google Web Toolkit), and (beta) iOS.
You may be able to make the HTML5 output run on a Windows Phone (depends on how spiffy the JavaScript engine in the browser is). Then you'd need some way to package this for Windows Phone (on Android or iOS you could use PhoneGap, there may be some equivalent for WP8).
The iOS support for libGDX is actually done via a C# cross-compiler (!!?), so you may be able to use that step to build something that might run on the WP CLR. However, it looks like that won't be easy. It should be possible to use (and probably improve) other tools to translate/convert a libGDX application to WP, but doing so would probably be a lot of work.

Related

How to test mobile apps on different devices

I want to test my IOS,Android and hybrid apps on various virtual devices. Please suggest me a good tool that can perform these functions.
We currently use Genymotion for testing with Android and XCode's simulator for iOS. These will allow you test a wide range of iOS/Android devices.
If you are looking for one tool to test both iOS and Android I believe Visual Studio's Xamarin supports both, there is also a browser based solution with appetize.io. I haven't used either of those so can't comment on if they are any good.
You can make use of chrome developer toolbar it has most of the device options like device horizontal/Vertical, Zoom
You get the different versions along with the different screen sizes in the simulator which you are working.
Eg: IOS(xcode) when you build it you get which version to build when running the application. Same for Android and hybrid apps

Can WinObjC apps run on iPhones?

I know that this is really basic, but since this is a new tag and technology, I hope you'll permit the question.
Having just discovered the existence of WinObjC (the Windows Bridge for iOS project) I want to understand what I can do with this before I start to devote time to it.
The following project description is a little confusing to me:
The Windows Bridge for iOS (also referred to as WinObjC) is a
Microsoft open-source project that provides an Objective-C development
environment for Visual Studio and support for iOS APIs. The bridge
allows you to create Universal Windows Platform (UWP) apps that will
run on many Windows devices using iOS APIs and Objective-C code
alongside Windows 10 features like Cortana and Live Tiles.
I mean, I see it says for iOS but OTOH it says that it allows you to create UWP apps that run on many Windows devices. I am embarrassed to say I find this confusing.
I feel 90% sure that it is not for developing iPhone apps, but a 10% chance I can develop for iPhone without being able to buy a new enough Macbook is enough to make me ask this question.
The Windows Bridge for iOS allows you to build UWP apps by reusing code you wrote for an iOS app. Say, for instance, you wrote an iPhone game; you could use the bridge to turn it into a UWP game that runs on Windows desktops, laptops and touch-screen devices. You could also use the bridge to add Windows-specific features like Live Tiles and Cortana integration.
If you'd like to develop for iOS without having to buy a new MacBook, you might want to check out another Microsoft project called Xamarin which allows you to do cross-platform mobile development right from Visual Studio.

Which platforms does Xamarin support?

I tried finding the information both on their website and on the Internet, but it appears that everywhere I look, a different list pops up.
Their front page says iOS, Android, Windows and Mac.
In their documentation (http://docs.xamarin.com/), only Android iOS,
Mac are mentioned at the docs front-page. I'm wondering does this
mean Windows has lesser priority compared to others.
On the Internet, I've found even more inconclusive information. Also,
it's hard to conclude what Windows means, mobile or desktop.
I've never used the product, but would love to try it for the game that I want to create, so I have two questions:
Can you give me a complete list of supported platforms (Android, iOS, Mac, Windows, Windows Phone, HTML5, Flash...)?
Can I target Facebook app with Xamarin?
Thanks in advance.
To update and extend Jason's answer there is now Xamarin.Forms that let us build cross-platform GUI for Android, iOS and Windows Phone. Looking at Xamarin's FormsGallery sample app I think it is fair to say that it de facto supports Windows Phone as well.
In addition to Xamarin.Forms there's always the possibility to use Xamarin.iOS, Xamarin.Android and Xamarin.Mac for platform customizations.
Xamarin.Mobile is in a preview release and supports Android, iOS and Windows Phone. It is used as an abstracted API of the native services (camera, geolocation etc).
However since you need the local SDK's installed for compilation you need a Mac computer to be able to deply for iOS. In order to compile for Windows Phone you need to use Visual Studio and the Xamarin Plugin, Xamarin Studio is not able to do this.
To conclude Xamarin supports development for
Android
iOS
Windows Phone
Mac
However not all of Xamarin's API's are implemented for all platforms.
Xamarin has three products
Xamarin.iOS - write iOS apps using C#
Xamarin.Android - write Android apps using C#
Xamarin.Mac - write Mac desktop apps using C#
Xamarin does not directly support Windows Phone apps. However, because you can write iOS and Android apps in C#, and C# is the native language for Windows Phone, using Xamarin allows you to write code that is usable across all three mobile platforms. Xamarin also provides some tools (like their Xamarin.Mobile library) that make this easier by providing a common interface to some common platform functions that will run on all three platforms.
You can write a mobile app that uses Facebook's API with Xamarin, but you cannot create a Facebook app (one that runs on Facebook).
You may find the actual list of additional platforms here.
On April 2019, it's listed as:
Android (incl. Android Wear)
iOS (incl. watchOS and tvOS)
Windows (UWP and WPF)
Linux (GTK)
Mac
Tizen
Windows Phone not supported since Xamarin 3.x

Camera API of Corona availability on Windows

I want to make an iphone app in corona which uses camera and audio recorder functionality but as far as i searched out, camera app is not supported on windows OS.
So am I not able to create such app on windows environment using corona SDK and need to switch to MAC OS??
Not being supported on windows means you cannot test on windows. If you test on the iPhone your app will work fine (if you made it correctly of course).
But you should not be developing for iOS on Windows, it is harder to debug, and you cannot upload it to apple store anyway,
You have to be on a Mac to build for iOS devices (or use a service like MacInTheCloud). Windows can only build for Android. You can develop on Windows but when you need to put it on a device, you will have to have access to a Mac.

Programming for Ipad from Windows [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
iPhone development on PC
iPhone development on Windows
Do I really need a Mac to make small simple apps for iPad? Is there any kind of work around? Cool IDE?
Yes, you need an Intel-based Mac to develop for iPhone/iPad if you want to do so with their native SDK.
There are workarounds, a few of which are listed here but they may be rendered unusable with the latest version of iPhone OS since they will soon disallow just about anything that doesn't use the native SDK
I wasn't going to post it, but you did say any reply :)
Browser based (safari compatible) apps would be one "work around". I know it's a weak answer, but sometimes people miss the obvious answers so there you go.
Yes. And you can use Xcode IDE
You will likely need OS X.
Both Monotouch and XCODE run on OS X.
If you can get OS X to run on a non-Mac then no, you don't need a Mac.
However, realistically... yes you do.
The iPhone and iPad SDK relies on code that comes packaged with the Mac OS. If you want to build legitimate applications and have the possibility of listing those apps in the iTunes store, you must build them on a Mac.
There are ways around this to build apps that will never be distributed ... but those methods tend to be highly illegal.
You can still develop iPhone/iPad WebApps that look like native apps on pretty much any web development platform/toolset.
While I am not an attorney, based upon the new SDK agreement, I believe you can use HTML, CSS, and JavaScript to create native iPhone/iPad apps. There is actually a book already there that talks about how to do that. Here is the book, http://www.amazon.com/Building-iPhone-Apps-HTML-JavaScript/dp/0596805780/ref=sr_1_1?ie=UTF8&s=books&qid=1274474001&sr=8-1
If you want to create small simple apps for iPhone/iPad, you can create a Web app that runs in Safari using HTML. You can actually create fairly slick apps with this method and make them look like native apps. I've create some using jQTouch and they look like native apps. You can test them either in Safari on Windows or on your iPhone or iPad.
It wouldn't be easy to develop an iPhone/iPad application on Windows. You would have to install OSX86 on your PC, or run a virtualized OSX install through vmware if possible. Apple is incredibly restrictive on software provisioning and app store approval, so you may have a hard time testing and releasing your app later on. For these reasons and more, I'm switching to Android development.