LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-24-2010, 01:18 PM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Android Plugin for Eclipse IDE: No option for "Android Project"


http://7oeyuq.bay.livefilestore.com/...ect.png?psid=1

And this is WITH the ADT Eclipse plugin installed.
 
Old 06-24-2010, 04:21 PM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Still no help? Is there ANYONE who can help me get this corrected?
 
Old 06-24-2010, 05:50 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Moving to Programming per OP request, BUT:

Kenny;
3 hours does not qualify as a significant delay at LQ. Please keep in mind the 2 magic words to get help here: "Please" and "Patience"---this thread appears to be missing both.....
 
Old 06-24-2010, 06:06 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by pixellany View Post
Moving to Programming per OP request, BUT:

Kenny;
3 hours does not qualify as a significant delay at LQ. Please keep in mind the 2 magic words to get help here: "Please" and "Patience"---this thread appears to be missing both.....
Sorry for demanding help. Please help me, other possible thread viewers, and, Pixellany: I am willing to be patient and no longer post replies to this thread for the sole purpose of bumping.
 
Old 06-24-2010, 06:33 PM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally Posted by Kenny_Strawn View Post
...Please help me ...
In which programming language are you going to develop ?
 
Old 06-24-2010, 07:29 PM   #6
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by Sergei Steshenko View Post
In which programming language are you going to develop ?
http://www.linuxquestions.org/questi...9/#post4013850

There is only one programming language that you can develop for Android in, and that's (compiled) Java. I already am learning the basics per these tutorials.
 
Old 06-24-2010, 07:54 PM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally Posted by Kenny_Strawn View Post
http://www.linuxquestions.org/questi...9/#post4013850

There is only one programming language that you can develop for Android in, and that's (compiled) Java. I already am learning the basics per these tutorials.
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.
 
Old 06-24-2010, 08:00 PM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi,

did you
- install the sdk (http://developer.android.com/sdk/installing.html) properly
- install the adt as described here (http://developer.android.com/sdk/eclipse-adt.html)
- completed the hello world tutorial which explains how to use eclipse (http://developer.android.com/resourc...llo-world.html)
?

Also, which version of eclipse do you have? You need 3.4 or higher to use it for android development.
 
Old 06-24-2010, 08:17 PM   #9
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by Sergei Steshenko View Post
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.
 
Old 06-24-2010, 08:29 PM   #10
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally Posted by Kenny_Strawn View Post
In order to use Android-specific Java functions ...
Java is a more complex than "C" language; with your present understanding of "C" ( http://www.linuxquestions.org/questi...module-816223/ ) it's too early for you to think about Java, and even earlier to think about Android-specific functions.

And you are wrong about development for Android only in Java:

http://developer.android.com/sdk/ndk/index.html :

Code:
The NDK provides:

    * A set of tools and build files used to generate native code libraries from C and C++ sources
.
 
Old 06-24-2010, 08:58 PM   #11
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
Originally Posted by Kenny_Strawn View Post
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.
 
Old 06-24-2010, 11:06 PM   #12
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by crts View Post
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.
Yes, and the reason why I am using Eclipse is because I AM A NEWBIE to Java and, listen up:

http://developer.android.com/guide/t...damentals.html

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.
 
Old 06-25-2010, 12:47 AM   #13
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
Originally Posted by Kenny_Strawn View Post
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.
 
Old 06-25-2010, 12:34 PM   #14
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by crts View Post
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.

To me, code that has less obfuscation is easier to understand.
 
Old 06-25-2010, 01:04 PM   #15
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
Originally Posted by Kenny_Strawn View Post
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.
 
1 members found this post helpful.
  


Reply

Tags
android, eclipse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
LXer: Android-x86 - run Google Android on a netbook LXer Syndicated Linux News 0 12-06-2009 01:30 PM
Android permission to open("/dev/mem",...) eseitelbach Linux - Software 0 11-04-2009 09:05 AM
LXer: Google Android "Donut" will not include multi-touch LXer Syndicated Linux News 0 07-28-2009 06:30 PM
LXer: Develop Android applications with Eclipse LXer Syndicated Linux News 0 02-27-2008 07:50 AM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration