ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

To develop in Java you do not need Eclipse - any text editor is quite sufficient; many have Java syntax coloration.

First show a working code of yours in Java.

In order to use Android-specific Java functions, you NEED to use Eclipse, since the Android SDK depends on an Eclipse plugin. And for some reason, the plugin isn't working and Eclipse doesn't give me an option to point to the location of the SDK directory.

In order to use Android-specific Java functions, you NEED to use Eclipse, since the Android SDK depends on an Eclipse plugin. And for some reason, the plugin isn't working and Eclipse doesn't give me an option to point to the location of the SDK directory.

Hi,

read the links from my previous post. You don't HAVE to use eclipse but you are encouraged to, since it will make development a little bit more comfortable. You also don't HAVE to program in JAVA. You can also develop in c for android. However, it is commonly discouraged unless you really have some cpu consuming tasks to implement.
The standard for developing apps for android is java.

read the links from my previous post. You don't HAVE to use eclipse but you are encouraged to, since it will make development a little bit more comfortable. You also don't HAVE to program in JAVA. You can also develop in c for android. However, it is commonly discouraged unless you really have some cpu consuming tasks to implement.
The standard for developing apps for android is java.

Yes, and the reason why I am using Eclipse is because I AM A NEWBIE to Java and, listen up:

Look in this article and you'll find that Android already defines most Java classes needed to create an application. All that's needed is calling upon those classes and functions to do the work. And even if I have to define a new class or function, I can use those other classes/functions as part of my definition. And the omission of functions like main() mean that there's no main entry point for an Android application. That's great; I can create an application that's less tedious to write because the compiler is not as picky. Just some of the many things that help make Android easier than standard Java. Couple this with Eclipse, with its interactive correction menus that give me a list of options for Eclipse to do for me like import Android-defined classes, define my own classes, or many other things in response to an error and it gets even easier.

Back on topic: Eclipse with Android did work under my old user account. I deleted the user account (but kept its files) and ported my old files over to it because Network Manager was acting up under it, but had to reinstall the Android Eclipse plugin. Upon reinstalling the Android plugin and restarting, that's when I couldn't find "Android Project" in the "New > Project" window, as you see in the screenshot.

Yes, and the reason why I am using Eclipse is because I AM A NEWBIE ...

Read my post again and understand what I am trying to say:
It doesn't matter if you are a newbie or not you are encouraged to use eclipse anyway. I was merely pointing out that this is not absolutely mandatory as you said in your previous post.

Quote:

Back on topic: Eclipse with Android did work under my old user account. I deleted the user account (but kept its files) and ported my old files over to it because Network Manager was acting up under it, but had to reinstall the Android Eclipse plugin. Upon reinstalling the Android plugin and restarting, that's when I couldn't find "Android Project" in the "New > Project" window, as you see in the screenshot.

Now this is some info you should have provided in your initial post. Have you tried fixing this by following the instructions provided in the links I posted or not?
It does not matter that eclipse was working because now apparently it is not. And that means that you have to completely reconfigure it. If that does not help uninstall, reinstall and then reconfigure it. It appears that you are not following any advice that has been given to you. Instead you keep posting that it does not work. Well, it sure won't fix itself.

Read my post again and understand what I am trying to say:
It doesn't matter if you are a newbie or not you are encouraged to use eclipse anyway. I was merely pointing out that this is not absolutely mandatory as you said in your previous post.

Now this is some info you should have provided in your initial post. Have you tried fixing this by following the instructions provided in the links I posted or not?
It does not matter that eclipse was working because now apparently it is not. And that means that you have to completely reconfigure it. If that does not help uninstall, reinstall and then reconfigure it. It appears that you are not following any advice that has been given to you. Instead you keep posting that it does not work. Well, it sure won't fix itself.

Those links I have already navigated to - before you posted them. Yes, I probably have to reconfigure Eclipse - and reinstall the SDK. I am reinstalling the SDK right now. After that, I will have to reinstall the Eclipse plugin that enables the Android-specific functions. Yes, I have followed the Hello World tutorial before, but will have to re-program HelloAndroid to show Sergei Stashenko just how easy Android programming is. The code the way I see it closely resembles Go code.

Those links I have already navigated to - before you posted them. Yes, I probably have to reconfigure Eclipse - and reinstall the SDK. I am reinstalling the SDK right now. After that, I will have to reinstall the Eclipse plugin that enables the Android-specific functions. Yes, I have followed the Hello World tutorial before, but will have to re-program HelloAndroid to show Sergei Stashenko just how easy Android programming is. The code the way I see it closely resembles Go code.

To me, code that has less obfuscation is easier to understand.

Hi,

having looked into some of your other posts in the meantime. It appears that you do not unserstand the basic principles of programming. That's OK, we all had to start at some point. However, from what I have seen so far, it appears that you are trying to learn a lot of languages at the same time. So far you tried to program in C/C++, JAVA and also in GO. It appears that you never took the time to learn one language properly. So my advice would be, pick a language that appeals to you and stick with it for a year or maybe even two. Then, after you feel comfortable programming with it, you can pick the next one to learn. You will then notice that you will learn the second one a lot faster then the first one.

However, I have a feeling that you already have been given such advice.