Port to iOS from Java on top of libGDX - java

How to port to iOS from Java on top of libgdx?
What IDE should I use?
Is there any video or just plain text tutrials on this?
PS
After reading tutorial code.google.com/p/libgdx/wiki/IOSWIP I've understood that libGDX does not suite my needs. I've found the alternative way to "convert" Java to Objective-C such as j2objc code.google.com/p/j2objc. It suites my needs better. May be somebody else find it better as well.

It's not a matter of what IDE you use, any Java IDE will suffice although I personally would recommend you using one of the major ones like Eclipse or IntelliJ.
When compiling to iOS you'll have to use Xamarin to "convert" and compile your game to iOS. You can read it in more detail here : https://code.google.com/p/libgdx/wiki/IOSWIP

Related

Method to implement Windows Explorer icon overlays with Java

I am writing a cloud-sync application in Java with .jni integration to virtualize a cloud file-system in windows explorer.
Now i want to implement icon overlays like owncloud to see the state of a node like this:
I found some solutions for C#. Is this also possible with Java if using a jni interface to get access to the Icon Handlers.
Anyone knows a existing solution?
P.S. Tha last question for this is 4 years old so there is eventually a new solution for modern systems with java8 in combination with a native .dll available.
Thank you for any hint.
I just found a solution for Java 1.7+ in combination with native and jni dlls. Works with Windows Vista+, Mac and Linux.
"Liferay Nativity is a cross-platform library for adding icon overlays and context menus to file browsers."
You can find the GIT project here:
https://github.com/liferay/liferay-nativity
Anyone sucessfully integrated this? Trying to do a test implementation now.

Java project template on Mac?

I'm trying to expand upon the basic Java that I've learned by taking an example that I've found in a general Java programming book and growing it with more capability. I've been trying to use Xcode's v3.5.2 Java project template for a Java application using the Eclipse Juno IDE and I see some of the methods and classes are deprecated. After clicking around the internet for the past two or three days, I'm confused.
I have two primary questions:
What is the proper start in developing a Java application (not for the web) on a Mac? Is the template available through Xcode 3.5.2 the right way to go? I'm trying to find how the apple.laf.useScreenMenuBar (discussed in the Apple Developer User's Guide for Java) interplays with the Xcode template. Does one outdate the other? Should I start from scratch?
I have yet to come across any documentation/template for the bare-bones/stub setup of a Java application on the Mac other than what is available in Xcode! I would think that such a stub would be available given Apple's Human Interface Guidelines. If some reference is available, I would appreciate a link. I've been consulting Apple's Java Development Guide for Mac and the API documentation, Oracle and other places on the web but so far no luck and just confusion.
I get the idea that the true answer is to give up on Java on the Mac and program on the PC or just go with Objective-C! (I'd like to learn Objective C but unfortunately right now, I have better survivability in my company with Java and Python.)
Thanks for any kind suggestions.
Give unto XCode that which is objective c. Use Eclipse for everything else.

Android development with notepad-like editor and command line

I have a problem with Eclipse. It is very slow for me. My PC is an old PC and I'm not comfort with the performance. Is there any lightweight alternative to Eclipse (Available for Windows and Linux)? I want SPEED!
My ideal is to write my code in an editor like Notepad and supplement with the command line! How can I compile my code in this environment? How do I update my R.java file or build my project's configuration?
The documentation provides very nice instructions about using the command line tool. The building is performed with the aid of Ant tool. You could also use a more advanced editor than notepad (Notepad++ for example).
However, if you have a slow machine, you would suffer during development anyway. You should also forget about using the emulator for debugging. The emulator would take ages to load.
see the link managing project through command line
It provides a brief description about how to develop android app without any IDE
If you want speed, you should buy a faster computer.
It seems that you are a beginner -> I would suggest purchasing almost any java book, or visiting websites with tutorials, if you are at the stage where you don't know how to compile your code.
well, nothing holds you back to use notepad and manually compiling with javac:
http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/javac.html
Like kgiannakakis pointed out; you'll also need the Android SDK:
http://developer.android.com/sdk/index.html

How to video out java through DVI/HDMI?

For a project I have to create a music visualizer in java (I've decided on using www.processing.org to create the visuals) and then output it using DVI/HDMI to a spartan-6 board. I haven't been able to find much out there.
I'm fairly early in the project so I could change from processing if needed.
AFAIK, the type of screen or whether you use VGA, DVI or HDMI makes no difference to Java. You need to configure these devices in the OS and Java will use them.

Java programming requirements

I am a C# programmer. I want to learn Java to implement my windows application. But I don't know what IDE and what tools can help me.
Please help me to choose best platform and IDE and other tools.
Edit:
Thank You For Your Helping. And What is Best Ebooks and UserGuids to Learn java.
There are really three big IDE's that people use:
Eclipse
Netbeans
Intellij IDEA (my personal favorite)
The online Java Tutorials are a great place to start learning the language.
Eclipse or NetBeans will be your best bet for an IDE (in my options)
Set up Git for source control
Use Maven to manage your builds (if you're getting that complex)
First, download the java jdk.
http://www.java.com/en/download/index.jsp
Later, install an IDE. I suggest you to use Eclipse, I like it:
http://www.eclipse.org/
Another one very used is Netbeans:
http://netbeans.org/
Have Fun!
There's a short tutorial along with a great comparison table here. It's a Java tutorial aimed at C# developers.
Java is very close to C# you don't need more than eclipse (Actually I prefer it more than Netbeans) and search for any syntax you want in the Java documentation
JDK
First you need to download Java
development kit(J2SE 6) from Sun's
website
IDEs
eclipse or netbeans
Books
If you are planning to use Swing for
windows application - you may read
sun's tutorial
http://java.sun.com/docs/books/tutorial/uiswing/
Or if youa re a serious Java learner
get the Thinking in Java book from
here
http://www.odioworks.com/46-Bruce_Eckel%27s_Free_Electronic_Books.html
By the way, welcome to Java's world :)
Welcome to Java World. You can either use Swing or SWT for windows form like development. Here is a good link to get started with SWT http://www.developer.com/java/other/article.php/3330861/SWT-Programming-with-Eclipse.htm .
On top of what the other user's have already recommended, I would suggest getting familiarized with a J2EE container. It will come in handy in the future. Here is a link on what it is. JBOSS container is free and a pretty good one to use in my opinion. You can download it here.
For Windows app with SWT / AWT gui you should know there are plugins for IDE that help you to create your gui. Check for exemple Matisse for NetBeans.
Once you have Eclipse up and running, you should look at the Visual Editor Project plugin at Eclipse for developing windows applications. Hand-coding all of the SWT stuff is a big pain and hence the plugin will help.
netbensIDE will help u

Categories

Resources