Eclipse or IDEA for Android

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Best plugin for development Android-applications?

Eclipse
19
86%
IDEA
3
14%
 
Total votes : 22

Eclipse or IDEA for Android

Postby tum0rc0re » Tue Dec 04, 2007 7:39 am

What plugin is better for development Android-applications? For Eclipse or IDEA? Can anybody advise? I have heard that IDEA plugin is still half-done. Help me make this choice :wink:
User avatar
tum0rc0re
Senior Developer
Senior Developer
 
Posts: 158
Joined: Sun Nov 25, 2007 7:15 am
Location: Moscow, Russia

Top

Postby plusminus » Tue Dec 04, 2007 9:45 am

Hey tum0rc0re,

hm I had not seen that IDEA before, the AutoComplete in the AndroidManifest looks really nice :!:
Do you know, whether the Eclipse-Plugin will provide such a feature somewhen too :?:

Will have a look at it.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby evoc » Tue Dec 04, 2007 9:30 pm

Eclipse is my favourite IDE...
it's complete, i can use it for C projects, other java projects and Android.
What's better?
evoc
Freshman
Freshman
 
Posts: 4
Joined: Fri Nov 30, 2007 12:47 pm

Postby tum0rc0re » Tue Dec 04, 2007 9:48 pm

evoc wrote:Eclipse is my favourite IDE...
it's complete, i can use it for C projects, other java projects and Android.
What's better?


All say that IDEA is better tool for development Java applications, but for Android I will use Eclipse :)) It's free
User avatar
tum0rc0re
Senior Developer
Senior Developer
 
Posts: 158
Joined: Sun Nov 25, 2007 7:15 am
Location: Moscow, Russia

Postby fresco » Wed Dec 05, 2007 11:48 am

Definatly Intellij is much better IDE for Java development, but it's not supported by google and its android plugin still has a lot of bugs.
fresco
Junior Developer
Junior Developer
 
Posts: 24
Joined: Sun Nov 18, 2007 10:36 am

Postby tum0rc0re » Wed Dec 05, 2007 12:06 pm

fresco wrote:Definatly Intellij is much better IDE for Java development, but it's not supported by google and its android plugin still has a lot of bugs.


Clearly. Thanks for an opinion.
User avatar
tum0rc0re
Senior Developer
Senior Developer
 
Posts: 158
Joined: Sun Nov 25, 2007 7:15 am
Location: Moscow, Russia

Top

emacs

Postby ScottYelich » Wed Dec 05, 2007 10:12 pm

I use emacs.
ScottYelich
Freshman
Freshman
 
Posts: 3
Joined: Thu Nov 29, 2007 9:57 pm

Postby Steel » Fri Dec 28, 2007 2:48 pm

IntelliJ isn't as well supported as Eclipse, so you need to do a few things.
After you've run:

Code: Select all
activityCreator [--out <folder>] [--ide intellij] your.package.name.ActivityName


You should tweak your generated build.xml:

1. Add 2 properties to the <!-- tools --> section:

Code: Select all
    <property name="adb" value="${android-tools}/adb.exe"/>
    <property name="emulator" value="${android-tools}/emulator.exe"/>


2. Modify your compile-target:

Code: Select all
BEFORE:
    <target name="compile" depends="dirs, resource-src, aidl">
        <javac encoding="ascii" target="1.5" debug="true" extdirs=""
AFTER:
    <target name="compile" depends="dirs, resource-src, aidl">
        <javac encoding="iso-8859-1" target="1.6" debug="true" extdirs=""


Just so you can use other character's than a-z, and I haven't had any problems with targetting 1.6

3. Create a new target after package e.g.:

Code: Select all
    <target name="run-and-install" depends="package">
        <parallel>
            <exec executable="${emulator}" failonerror="true">
                <arg value="-console"/>
            </exec>
            <sequential>
                <sleep seconds="10"/>
                <exec executable="${adb}" failonerror="true">
                    <arg value="install"/>
                    <arg value="${out-package}"/>
                </exec>
                <exec executable="${adb}" failonerror="true">
                    <arg value="logcat"/>
                    <arg value="${ant.project.name}:I"/>
                </exec>
            </sequential>
        </parallel>
    </target>


Something that runs the emulator, and install's the newly built app. (... and sets up some logging)
Steel
Developer
Developer
 
Posts: 48
Joined: Fri Dec 28, 2007 1:11 pm
Location: Herning, Denmark

Postby res » Fri Jan 11, 2008 11:31 pm

I use IDEA extensively for Java but have started using Eclipse for Android, its good to try something new and it seems very well supported.
res
Senior Developer
Senior Developer
 
Posts: 146
Joined: Tue Nov 20, 2007 8:14 pm
Location: United States

Top

Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests