Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Windows Metro style apps with Java?

I know how to create small desktop applications in Java. I want to know, can I make Windows Metro style apps in Java? Because on the web only C++/C/C#/JavaScript etc. are mentioned. If yes can you please give me some reference for a quick start. If not which one will be easiest language to start?

like image 504
Harshveer Singh Avatar asked Sep 17 '11 10:09

Harshveer Singh


4 Answers

You can only create metro style apps with C#, VB, JavaScript and C++. There is currently no support for authoring metro style applications with Java.

like image 86
ReinstateMonica Larry Osterman Avatar answered Nov 02 '22 18:11

ReinstateMonica Larry Osterman


You cannot make metro style apps with Java.

For the other part of your question, regarding starter's guide and which language is easy, MSDN has a starter's guide which helps building new metro style apps, this, this and this should be helpful.

And which language is easiest, well it depends on the developer, someone who has been developing .NET or WPF or Windows Forms applications maybe more comfortable with he familiar environment and may prefer developing using C++ and XAML or VisualBasic, depending on what he has been using before, while someone coming from web development may prefer javascript.

For new developers, i would recommend using C# and XAML, but again it is my choice, and not everyone will agree with it.

Here is another link which points to guides at MSDN, and adds some additional detail.

like image 29
SpeedBirdNine Avatar answered Nov 02 '22 18:11

SpeedBirdNine


I believe you will not be able to use Java and WinRT. The best option for you to try is C#, because this is the language that is closest to java, in my opinion.

like image 4
gyurisc Avatar answered Nov 02 '22 19:11

gyurisc


WinRT is still based on COM, so you should be able to access it from Java using something like the Java-COM bridge. Using that would probably be quite hard (you'd have to use strings for method names etc.).

If you wanted to use WinRT comfortably from Java, that would require modifying the Java runtime and possibly also the compiler to make them aware of WinRT types.

like image 4
svick Avatar answered Nov 02 '22 18:11

svick