Converting a java game on eclipse to android [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I created this game using java in eclipse (Kepler) JDK, but I want to publish it on android. I am completely new to this subject. I downloaded Android Studio as a friend suggested me to, and he told me that there were new libraries that i had to import. The game is quite complex and i imported a lot of things like color mouseevents sound and other various things , and I just want some guidelines on what i am supposed to change, or if its possible to run my game on android without changing anything from my java eclipse program.
thank you for any help in advance

You're going to have to rewrite the entire UI and input handling code. Android does not use the standard Java UI. You should start out by reading tutorials on basic android architecture, the activity lifecycle, and views.

Totally agreed with #Gabe Sechan that you have to rewrite most of the code which would be compatible with Android. One of framework which support Java language and used to create games(mostly 2D) for most of the platforms is Libgdx. You can go through that framework if it can help.

Related

Is it possible to convert an Android Studio App to IOS? (Java) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
So I'm currently developping an app in Android Studio, being Java the programming languague used. I wanted to know If It's possible to convert it later into IOS, and if so, how should i do it.
Thanks in advance for all responses.
Short Answer
You cannot convert all the project from Android to iOS.
But what you can do is inspire yourself from the work that you have done on Android (how you solved a specific problem) and also you could try to convert Utils classes (if possible).
Long answer
Android and iOS development principles are different (design patterns ...).
Converting JAVA to Swift is not always correct and optimized.
UX is different in both platforms (example: there is no Toast in iOS)
You can not convert but, You can achieve it using Kotlin Multiplatform Project, where you can write business logic once for both of the platforms.
You can find more details about "How to do?" from the following reference:
https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html

Create a notebook application in java? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
First of all this is just a fun project. I have a idea to make a notebook software using java.
i know there are many softwares,but this is for my knowledge. I need do following tasks in my application,
Expand typing area when neccessary (like in Onenote)
Draw shapes and edit shapes
Add code,syntax inside a note and it can be move (can i add this part to a jPanel?)
Add comments to a line in a bubble
Add some simple notes like sticky notes in a note
Also i need to add a mini map of a note (How to get the copy of the working note?)
(Solved) 07. Also I decided to use javaFX to create the interface, Is JavaFX good for my project?
Can i do all of these in java?
If can please give me some guide. Thanks in advance.
Yeah.. It is definitely possible to write a code for your requirement in javafx. Since you are a beginner start with this documentations.
You can download Javafx documentation in the following link.
http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html
Also I would recommend you to download this JavaFX SDK, which includes all the documentations.
http://javafx.com/downloads/

Java NetBeans Form Creator [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am a C# .NET developer and I always use Visual Studio to create my applications. Now I am studying Java with the netbeans IDE and I have no clue of how to create a Form Application?
I have used Jform etc. But this is just annoying. I was trying for 3 hours just to relocate a button while resizing my window.
Does anyone have any suggestions on how to make this easier?
Unfortunately, IMHO, creating GUI applications in Swing is a pain, especially coming from .NET.
Whenever I need to create Swing apps I find it easier to just hand code it. Although it involves much more work than in .NET, and also has a pretty steep learning curve, I find I have more control over my code that way.
BTW, once you get the hang of how things work in Swing, hand coding is pretty manageable.
Good Luck!

Can I build Android apps using C# in visual studio [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Can I build Android apps using C# in visual studio ?
If there is a way of doing that, what is the better using java or C# ?
In my opinion i always have to fight with myself and about the languages. C# and java are two totally different languages with similar syntax. The question you should really be asking is "what do i want to do". then debate over the language. I would say stick to java for android applications. However if you want to use c#. You cannot use Visual studios for this. However there is an alternative to visual studios and its Xamarin. I haven't personally used it though i know people who have and its very good.
But yes, Figure out what you want to do and which language would be best doing that.
Yes and no. You can use Cordova/PhoneGap with Visual Studio to build apps.
Cordova for VS
This does not use C# (apart from your back end services, which can be anything really). I use this with Angular.js and [ngcordova] to build apps and it works nicely.
You can have a "more C#" experience using Xamarin, there is a simple free version but a really rich experience requires a license purchase. Explore it further at Xamarin

What skills does it take to develop an Android app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What skills does it take to develop an Android app?
How easy is it to publish one in the app market?
Does it need any previous experience?
This question serves as a personal to-do list on what to learn. I would like to develop an Android app in the near future.
What skills does it take to develop an Android app?
You must have core knowledge of JAVA to start android development and a having good knowledge of xml,layouts designing,Database implementation and SQL Queries.
How easy is it to publish one in the app market?
Check out the Step by Step Explanation of Pusblishing Application on Market and also Developer guide
Does it need any previous experience?
Its not necessary but having a bit knowledge of Android would be more better and Core knowledge of JAVA is enough.
If you would like to develop an Android app in the near future.
I suggest you to start with Getting Started in Android
First thing to build an android app
You should have good skills in java,classes,XMl user interface
You should have good knowledge of database its functions and queries.
One should be hardworking and dedicated for work
These all points are enough to build an app in android

Categories

Resources