Using OpenGl wrappers for java in xcode - java

I've been using opengl with c++ for quite some time now, and I'm hoping to expand to the android/mac-app market by learning to use opengl with java. I'd like to be able to do this in xcode because it packages the app so neatly, but I'm mostly new to xcode and it's quite foreign to me. I've been trying to figure out how to get it to work with jogl, to no success - and I have no idea where to go! The internet is completely void of help.
Does anyone have thoughts or suggestions?

Xcode is very painful for developing java. I would discourage it. There are plenty of very decent java editors that offer the same sort of debugging and packaging. Xcode will not allow you to build for Android without serious modifications and hacks.
Xcode is very good for developing Objective-C which is what you should focus on if you are planning on developing for iOS/Mac.
Apple has a lot of tutorials on using OpenGL (ES) but they are all based on Obj-C.
I would suggest finding a good IDE for Java such as Eclipse. Downloading the Android SDK will get you a version of Eclipse specifically for developing for Android. Then following a java tutorial such as:
http://www.land-of-kain.de/docs/jogl/
Google also offers tutorials on OpenGL ES for Android with their api:
http://developer.android.com/guide/topics/graphics/opengl.html
In summary, my experience in trying to get Xcode to play nice with Java will result in frustration. Learning eclipse is very valuable as it is actually quite a ubiquitous editor.

Related

How to make an app like Oldify in Java Using OpenCv Framework?

How can we build an app that will detect a human face using camera and make it old. There are many apps like Oldify which can work on face aging but I really don't how they work.
I am little bit familiar with the face detection/recognition library which is OpenCv and have Java programming skills.
How can I build my app using these tools (Java/OpenCv)?

A gradle plugin to replace RoboVm for libgdx?

I had been using RoboVM on libgdx. I recently updated everything I had been using and had to face the fact that RoboVM is winding down.
To be honest, I was a beginner when I started LibGDX and never needed to pay attention to backend stuff. I got started with couple youtube tutorials and was I fine until recently.
For that reason I am trying to understand what is going on, and looking for a way around. I had come across with BugVM and the list on the following link: http://www.badlogicgames.com/wordpress/?p=3925
However BugVM is not decently documented yet, and I am having trouble understanding how to use any items on the list given in the link.
Could you briefly explain how do I integrate any item on the given list, or could you just push me in the right direction so that I could start learning by myself? Or could you suggest me a simple RoboVM like plugin which would work on IOS, Android and Desktop as RoboVM did? My intention is to create an application that will work on Android, IOS and Desktop (I was simply running DesktopLauncher before to test my code. Now I get "RoboVM has not been licensed for this machine." and looking for a long term solution).
At this point I am completely lost and I am eager to learn. I just need some guidance as I am trying to learn it all completely by myself for now. Any help/suggestion/explanation is very much appreciated, and I am pretty sure your response will be useful to other beginners in the future as well.
First of all the so called solution in your link have been changed since then:
http://www.badlogicgames.com/wordpress/?p=3934
I recommend download the latest gdx-setup.jar for libGDX 1.9.3 or later:
https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle
Create a new libGDX project with ios and ios-moe subprojects enabled and then look how those 2 ios backend are implemented.
After that eihter copy your old project code into a fresh setup libgdx project or rebuild the basic setup within you old code.

How to write iOS backend like (Game Center, IAP etc.) with libGDX?

I write game on libGdx and testing it on Android. All code I write on Java, because libGDX use Java language. How can I write iOS backend on Objective C and link it with Java libGDx core? Is any tutorial?
I don't know how you would accomplish what you are after, the primary problem being the lack of a JVM on iOS. The recommended way to get a libGDX game to run on iOS is by using MonoTouch from Xamarin.
See this blog-post from libGDX's Mario on libGDX and MonoTouch licensing
Unfortunately, it's not free, nor open-source. There are some other projects in the pipeline to get a JVM on iOS, via open-source project, like RoboVM, but they aren't fully implemented for libGDX use yet.
Good luck!

Is there a scripting language I can embed into my Java app on android

I am making a game engine that is targeted for the Android platform using Java and would like to embed a scripting language into it. I have tried Jython, LuaJava, and Groovy but none of the .jars that I include into my project to utilize the languages are working. In result, my game engine fails to run.
I am aware that the Android platform compiles the app into java bytecode and then converts it into Dalvik-compatible .dex format, since Android uses the Dalvik virtual machine. So I am quite sure that, sadly, these scripting languages likely won't work for a java app project on Android.
So my question is, does there exist a scripting language that I can embed into my Java game engine that will work on the Android platform?
Thanks.
Use DeeLang
It should work for what you are using it for or at least what it sounds like you are using it for.
ref URL: http://code.google.com/p/deelang/
Clojure would be an option - that definitely works on Android, I've even got a Clojure REPL app going on my HTC as we speak!
You might also find the answers to Java: Scripting language (macro) to embed into a Java desktop application useful.
LuaJava can be used on Android. Precisely I started with AndroLua which offers a working example.

Is there any form designer available for Google Android

I am a new comer in Android development, I have downloaded and installed the Android SDK, but not find any GUI or Form designer, can any one know about some Form designer in for Android, Thanks in advance.
The form designer is part of the Android Development Tools (ADT) Plugin for Eclipse which comes with the Android SDK.
As d. correctly mentioned the built-in designer does not truly represent your view.
And if we keep in mind that even after 4 years of trying, Microsoft's equivalent for their XAML code still doesn't reach minimum usefulness level, I would strongly recommend to go manual. It's faster, much more difficult but equally rewarding. Once you get a hang of editing the XML files manually the development becomes much easier and WAY faster in my humble opinion.
Regards
This answer is very late to the game but each new release of the Eclipse Android plugin improves the layout GUI editor. The one released yesterday (9.0.0) is light years ahead of the original tools which were awful.
Google has not announced any plans for a wysiwyg designer for Android app development. However, there is a tool available for this. Check out this link http://www.designerandroid.com/?p=165

Categories

Resources