Modifying the LIBGDX Application frame in desktop - java

I'm currently using libgdx and I am looking for a way to modify the frame/window. I'm looking through google for maybe tutorials and examples but I'm not really sure what to search for. What would be the correct term to look and if anyone does have any examples/tutorials then I'd appreciate them posting them.
This is for desktop.

On the desktop Libgdx uses LWJGL to access OpenGL and desktop APIs. You should be able to use LWJGL APIs from your desktop backend if you need to.
You will have to be much more specific about what you want to "modify" about the "frame/window" if you want a more precise answer.

Related

Does JFrame work on Android / iOS?

Recently I have been programming a game in Java without using anything like OpenGL, I have just been using Java and Java alone. I use JFrame for some stuff in my game and was wondering if it works on Android or iOS in case I want to make mobile games.
I am rather new to programming in Java, I know some of the basics but I just don't know all the answers and searching online isn't helping that much. This also sounds really nooby, but does JFrame work on Mac & Linux too? I have heard that it does, but if not I might consider learning how to use OpenGL or something, but some of the tutorials on OpenGL I've found turn out to be bad.
Unfortunately java swing is not supported by android. This means swing classes will not be usable in android environments so classes like JFrame will show up as errors when you move it over to android studio. Android does support OpenGL and this would be usable. Android does its UI through XML and it might be possible to use this. but it will require many changes. You will be able to move over all of your classes that do not reference external libraries, or libraries like java swing. You will need to re-write the parts of your code that deal with the JFrames though :/

Android (or Android compatible Java) library to draw editable flow chart diagrams

I'm developing a flow chart drawing tool for Android and even though it has been a month I still couldn't find a good, reliable graphics library to help me develop this app.
Here are a few things I tried:
1-) Android views. Since a flowchart would naturally include lots and lots of shapes, this option wasn't satisfactory in terms of performance. Plus, I didn't even know how to draw arrows.
2-) Canvas. It was quite good when it comes to performance but canvas does nothing more than coloring pixels, so I can't go back to editing them after placing a shape on the screen.
3-) Now I'm working on Qt to see if I can achieve my goals and so far it seems as though it's very doable but using a cross-platform development software for only Android doesn't make a lot of sense.
4-) Libgdx and Unity are also options but using a game engine for such a lightweight app didn't seem like a very good idea to me.
Can you suggest me a good library or any other development tool?
There is https://github.com/mocircle/cidrawing library. Maybe useful for this type of task with link to https://github.com/Team-Blox/GraphView library.
Hope it helps.

Mini2dx - Can't find tutorials

I don't know if this is the right place to ask, but i looked for a new 2D game engine and decided that i want to use Mini2Dx. It is a 2D Java Game Engine which has some already prebuilt features like UI-Elements, Particles, etc. The engine itself is based on LIBGDX.
Even though i really want to use it, I can't find any tutorials. Except for a spanish tutorial, that I don't understand.
Tutorial: https://www.youtube.com/watch?v=gkDpfBCo_XI&list=PLTd5ehIj0goOYxN4HotZAY4uphbgFTQ_c
Thank you!
Sadly mini2Dx is not in trends so don't have video tutorial in English.
But you can use documentation on his github wiki also you can check this game for reference that is sample game of mini2Dx.
There is also active community on his reddit page, that may help you in your development.

Java desktop application with google maps

I need help with these, I am currently developing an a desktop aplication in java with netbeans IDE.
One requirement of the app is that must have a map on it.
I was serching and i find these: https://today.java.net/article/2007/10/24/building-maps-your-swing-application-jxmapviewer.
But i try to downoad the JXMaptKit or the JXMapViewer but i dnd't found it.
Can anyone knows a workaround of that problem or an example that i can use?
Thanks!
PD. the app that i'm currently developing is for academic purposes.
You might want to have a look at a modern JavaFX 2 framework which uses Webkit-based WebEngine to render a webpage. Here is a Google Maps demo: http://fxexperience.com/2011/05/maps-in-javafx-2-0/?

Developing Android outside of the SDK

It seems as if every Android application I really want to make is impossible to make with the current SDK. It doesn't give me access to certain things I would like to work with. This is an example of one of these things.
I know it is possible since I've seen apps in the market that do things that the SDK cannot do. My basic question is can someone point me in the direction of how to create such an application. I've searched around, but all of the links I've found are for developing with the SDK. A simple link to a tutorial that can show me how to access Android elements that aren't available through the SDK would be great.
Thanks.
You will not find a tutorial on it because the NDK is in flux..
What I have found is ..
One of the Eclipse CDT has blog posts on how to setup NDK projects in Eclipse.
The people who know Android Embedded C and frameworks are usually on certain IRc channel.
Plenty of code documentation..
Google search for android jni wrapper blog posts.
But keep this in mind several areas require state management as hey interact with hardware buffers in a certain way..ie audio..video..etc.

Categories

Resources