I am building a project under netbeans with a lot of preprocessing instructions. Netbeans handle that pretty well but unfortunately it is not very well supported as an IDE for blackberry and android.
So the idea behind this question is to import the project into eclipse in order to get the new features of every plugin and ease the development. I already found a pretty nice solution for handling preprocessing instructions with Antenna, but I would like to know how to handle the multiple facets of the project : an android project with ADT, a blackberry project with its plugin and finally a J2ME project as well. My goal is to taking advantage of the best plugins eclipse has to offer.
(And the project compiles with ant, so no real problem on this side).
Regards,
Stéphane
Well, you would have to create a separate project for each Android, Blackberry etc in the same workspace, then you would have to define the logical dependency between those projects. So if Project A is dependent on Project B, right-click on Project A in the project tree then Properties > Java Build Path > Projects and add the Project B to the list of projects Project A depends on.
This will allow you to work on Project B as if it was a stand alone project and you and work on Project A as if Project B was a part of it.
You can do this with any number of projects.
Regards,
get BB eclipse plugin from Blackberry site
install Android ADT manager from developer.android
install j2me wireless toolkit
create all project separately into same work space
use relative sdk for build path
after creating project you can also copy your source files to your project n file system, you can defile project dependency as Ali said
i reccomend to disable pre-processing, if you are using ant to build, just disabele it from windows > preference
My Suggestion to you is build your project in HTML5.If you are targeting the android as well as Blackberry .I do not Know How you will do it but It will be really easy to transform the the application of Blackberry to Android.
You have to install the BlackBerry plugin from the RIM site and it is a huge download that includes Eclipse itself. Then you can add the Android plugin via the Eclipse "Install New Software" menu.
I personally did it on my home machine and here is how How I had done
First install the the Eclipse plugin provided on blackberry developer site
Next install the android in same eclipse from Android developer site.
And voilla you are ready for android and blackberry development on single eclipse. I dont know about J2ME bcoz I no longer works on it but I think the plugin for Eclipse will do the work
This may not be quite what you're looking for but perhaps use Ant to do the builds, packaging etc. That makes it easier to support multiple platforms, set preprocessor macros etc. So the IDE would be used for mostly editing. Note that on BB you can have the IDE refer to the .jar thus resolving dependencies.
I had faced a similar issue. I installed Android first and was working on Google maps project .Since I shifted to Blackberry for a while, when i tried installing that plug-in,it did not accept it. Later after much research I found out that the Emulator for android was supporting Maps which inturn does not support installation of BlackBerry. Pretty weird. Like ber444 mentioned, BB plugin is a huge download file of 402 MB which consists of eclipse 3.5 support.
I was working on Ganneymede for android and installed indigo for BB but its not supported
Related
Im looking for a way to migrate my project from Eclipse+ADT plugin to Android Studio.
Is there any tutorial for this ? or i can just open the project normally in Android Studio?
plus i want to add my project to gradle in andorid studio.
also there is Caution in google site for using "early access preview" product.
is there any cons or pros for this migration ?
or should i stick to eclipse?
the project im building is getting bigger and bigger and its kinda hard to open it in eclipse(slow loading). even the clean process takes about 10-15 second.
Is it Worse or worst to do this procedure?
1 - Android for .NET Developers: 1 Getting Started
2 - Android for .NET Developers: 2 Building Apps With Android Studio
3 - Android for .NET Developers: 3 Adopting The Android Mindset
4 - Android for .NET Developers: 4 Understanding The Android Platform
At Pluralsight above 4 is a series of tutorials. All these four tutorials use Android Studio. And during these tutorials instructor explains about many features of Android Studio.
If you're using Android Studio 0.4.2 or later, the best way to import an Eclipse project is to import it into Android Studio; it will make a copy of the project, rearrange its directory structure to something more suitable for Gradle-based projects, and set up the Gradle build files for you.
There is documentation that recommends that you export your project from Eclipse to a Gradle-based export. That documentation is based on older versions of Android Studio not having direct import, and the documentation is out of date. What's more, that export specifies old versions of the Android Gradle plugin in its export, which you'd need to fix up manually. For those reasons it's better to use the new method of direct import.
This may sound like a stupid question with a "duh" answer but I'm really new to this.
I have a HTML/JS project I created in Eclipse. Can such a project be exported as an Android application or .apk?
Or does a new Android project need to be created and programmed in Java for what I'm trying to achieve?
(I know about Phonegap and it is not suitable for my project as it doesn't have support for WebGL that I need)
There are a few libraries, tools which will pack your code into a webview. So with some work you can create multiplatform web implementation, and the build too, ofc ( apk, ipa )
Check the Google for more, but one is popular: Phonegap.
Google: "platform independent web based mobile" "framework" " solutions"
You can open your eclipse project by Dream Weaver and build it by phone gap .
the integration between phone gap and Dreamweaver support all versions of WebGL .
Since you are using Eclipse (and for all the others who do), the .apk file of the latest compilation you did is always found in the /bin folder of your project
Is it possible at the moment to add the Android Studio extensions to a current IntelliJ IDEA installation?
Xavier Ducrohet and Tor Norbye mentioned in their talk, that Android Studio is an extension to the Community Edition of IntelliJ IDEA and that it's not a fork. So it should be possible to add the extension.
Is there an easy way to do so and probably to revert?
They also mentioned in their talk, that Android Studio uses Gradle as default build system. This should break the builds of current modules. Is this correct?
Thanks for the answers, but I finally found the corresponding statement by JetBrains: http://blog.jetbrains.com/blog/2013/05/15/intellij-idea-is-the-base-for-android-studio-the-new-ide-for-android-developers/
You can upgrade by hitting help -> Checking for updates and then choose Early Access Program as channel in the Update settings. You should receive a notification, that version 13 is available.
This EAP version contains almost all Android Studio features except the new Project Wizard and the App Engine Cloud Endpoints, but they will come soon. The reason for the delay is the Google IO, in the future new Android Studio and IntelliJ versions will be synced (mentioned in the comments of the blog post).
I guess it will be at androidstudio but the project is currently empty.
The installation page is here: Android Studio.
From what I understand in the download page & from what they said in the conference, it's a stand alone IDE based on the intelliJ, but i'm skeptical to whether one can get it as an extension to an already installed intelliJ IDEA.
About the build - in Migrating from Eclipse page they explain how to generate Gradle build files for your projects in Eclipse and then import those projects to Android Studio. It's pretty simple and straight forward.
I'd like to develop for Android but I don't really like using an IDE for programming as I find them to be pretty cumbersome compared to a text editor and command console. Is there any way I can develop for Android without doing so in Eclipse, and instead using Gedit? The system requirements specified on the Android developers site list Eclipse as a requirement, but I Ewas wondering if anyone had found a way to manually tap into the SDK libraries outside of Eclipse. I'm using a Linux setup as my development box.
You do not have to use Eclipse, it's just highly recommended because the tools are nicely integrated :
The recommended way to develop an
Android application is to use Eclipse
with the ADT plugin. The ADT plugin
provides editing, building, debugging,
and .apk packaging and signing
functionality integrated right into
the IDE.
However, if you'd rather develop your
application in another IDE, such as
IntelliJ, or in a basic editor, such
as Emacs, you can do that instead. The
SDK includes all the tools you need to
set up an Android project, build it,
debug it and then package it for
distribution. This document is your
guide to using these tools.
See this page on the Dev Guide for more info: Developing In Other IDEs
Yes you can do it with just the SDK and Ant (and the JDK of course). I'm doing it right now as an exercise in relearning Ant, and to make an 'idiot push button' procedure for a release build.
I've got to say that it's slow going just trying to configure the build process on sources that I know will compile. I'm glad that I've got Eclipse for the rapid development in the debug phase.
I am new to android dev, own an HTC Eris Droid (OS = 1.5 or 1.6 I believe). I am primarily a Microsoft .NET developer and am trying to figure out where to start.
What dev IDEs are suggested. I've seen the droid dev site and they suggest Eclipse. But which one?
Will installing Eclipse and the JRE interfere with .NET development?
What else will I need to get started? My OS is Win7.
TIA
As a .NET developer who has recently been looking at Android development, I can give you the steps I used:
Download Eclipse Classic 32-bit (as recommend by the Android docs) and extract it to a folder where it has write permissions (I use %homepath%\applications\eclipse\3.5\)
Download and extract the Android SDK to a permanent home and run SDK Setup.exe. Let it download/install all the packages
Add ANDROID_SDK_HOME\tools (expanded, obviously) to your %PATH% system environment variable in System Properties (WIN+BREAK)
Install the ADT (Android/Eclipse integration) plugin for Eclipse
Then to checkout the samples:
Create a workspace and a new Android project
Copy the contents of one of the samples (ANDROID_SDK_HOME\platforms\android-x.x\samples) into your project directory
Refresh your Eclipse view
I also strongly recommend checking out the Android Developer Guide and, in particular, reading the Application Fundamentals. It really gives a good overview of the terms used and the lifecycle of an application.
After that you can dive into the samples (installed by the SDK) with a little bit of clarity.
For development you will need*:
Java JDK - the JRE is not enough for Java development.
Eclipse - it doesn't really matter which "package" you choose, but for your needs the basic (smallest) one should be enough.
Android SDK + ADT
This should have no effect on .Net development, or on anything for that matter.
You don't actually need Eclipse and ADT, but since you asked about IDEs...
The android developer site system requirements says any version of Eclipse after 3.3.
Eclipse uses plugins to support different configurations that's why www.eclipse.org/downloads/ has so many different versions - they're the core IDE with different plugin configurations.
I'd recommend the 'Eclipse IDE for Java Developers' as this will have what you need without too many bits you don't - you can install additional plugins easily.
Of course, you'll also need to add the Android SDK once you have Eclipse - this is a set of tools and plugins that work with Eclipse.
Installing Eclipse and the JRE (Although you want the JDK - The Development Kit rather than just the runtime) will not interfere with your .Net development.
This version of Eclipse should work fine. Just select a download mirror.
You probably already have the JRE installed, but you should install the JDK from here.
Then you need to get the Android SDK, and ADT
After you install the Android SDK, it may be useful to create multiple virtual devices using the included Android emulator running different versions of Android. This will help you to learn features included in Android up to version 2.1 instead of being limited to your current device running 1.x.