how I create a Java web application in visual studio code? [closed] - java

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
I would like to know if there is any command to create a Java Web Project like the command Create Java Project , in Visual Studio Code.
I need to create a Java Web Application from scratch and I don't know the folder structure that Visual Studio Code uses.
Thanks

There is no direct template available in Visual Studio Code that does this. One option is to clone an existing GIT repo with a skeleton that matches the stack you need. For example like they explain in Java Web Apps with Visual Studio Code.
Another option is you visit a generator like JHipster or Yeoman and let them generate a project and folder structure for you which you in turn load in Visual Studio Code. Note that Visual Studio Code can load any folder structure and does not mandate a folder structure itself.
P.s. you might need to install a number of extensions in Visual Studio Code to work properly with Java based web projects. A quick scan reveals plenty of those in the marketplace.

Related

Trying to open an app with decompiled app files [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 4 years ago.
Improve this question
I found an app called (TinyTelnet Client )it's an open-source telnet client for android. When I download the source files I only get the java files so I Downloaded the app and decompiled it with an app editor. I think this gave me the manifest and layout xml and res folder files that were not included In the source code. Now my question is. How can I use these files to open the project in android studio so I can modify and run the application ?
You need to ask authors to send you the source code, if it's really an open source project.
Nevertheless, you can find all information about android projects and compiling in official docs: https://developer.android.com/guide/
I bet, it will take a lot of time to build project correctly this way.

how to use a processing library in eclipse? [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 trying to play an audio file in a java program I have written in Eclipse. Processing has a very good library for playing audio files which I would like to use in Eclipse. I have followed and completed the directions in this link:
https://processing.org/tutorials/eclipse/ to be able to write Processing java code in Eclipse. I am unclear how one goes about downloading and using Processing libraries in Eclipse. All ideas and links explaining how to download and use this java library: https://processing.org/reference/libraries/sound/index.html in Eclipse would be much appreciated! Thank you for your help!
You'd follow pretty much the same steps- add the library jar(s) to your classpath, and then use the classes in those jars.
For example, if you want to use the Processing library minim, you would simply download the zip file, and then extract the jars within to whatever directory you want. Then you'd right-click your project in eclipse, go to properties, then Java build path. Go to the libraries tab, then just select the minim jar(s) to add them to your classpath.
Then you can use the minim classes just like you can use any other Java library.

Gradle projects vs. Eclipse projects? [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
I found an interesting open-source layout library on Github which I'd like to incorporate into an Android project I'm working on in Eclipse. However, I noticed that the library in question seems to have been developed using Gradle, which I don't have. I'm not sure what IDE was used to develop the library, but in any case, I'm not familiar with Gradle at all... Are Gradle-d projects fully compatible with non-Gradle-d Eclipse? Would it depend on the IDE used? (In which case, how can one tell what was used to develop it?)
What are the steps (if any) I would need to take to properly incorporate this library? Would I need to install & run certain plugins, for example?
Thank you very much for your help.
Gradle is the build system that Android Studio uses (the new IDE that is being developed by Google for Android development). You can use the Gradle Eclipse plugin to load Gradle projects into Eclipse.

Converting a java game on eclipse to android [closed]

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.

Steps of converting C++ opencv project on computer to opencv android [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
I wrote a c++ project on my computer for stabilizing a video using OpenCV. But I want to write this project to android using Opencv4Android. For doing this, should I make new project or Is any way to convert that project for android by using NDK? If I can use project of mycompter, Did need many changes on that c++ codes? What steps need to convert or porting a computer opencv project to android opencv project?
This is a really general question, so I will try to break it down a bit.
First, lets forget about the openCV for a second.
You want to create a c++ project for Android. When building a c++ code for Android, you build it by means of NDK. I suggest you start with this tutorial, and first try to build a very simple C++ project with NDK, that compiles, and see that you're able to run on an Android device.
Things will get much clearer for you then.
After you mastered that, I suggest you start moving your code in small bits to that project, meanwhile replacing the OpenCV functions with stubs, and have that code compile and run (doing nothing) on Android.
After that, read about integrating OpenCV dependancy into an NDK project, this is not that hard (at least it wasn't in my case).
This step-by-step was pretty usefull for me.
As to the question whether you can "automagically" translate your (probably visual studio) project files into an Android NDK make files -- the answer is usually no. There are tools that'll claim to be able to do just that, but I was never successful with any of them.

Categories

Resources