Posts tagged ADT
Eclipse ADT has been updated. Brings nice features!
Dec 10th
I just noticed throught Eclipse that ADT had been updated.
The new ADT version brings some nice touches to the layout editor.
Now you can select items and drag and drop them onto the layout. It’s a nice touch that will certainly help new android developers a lot.
To get the new features, in eclipse go to Help and then Check for updates.
You can read more in the ADT changelog.
They have also tweaked the XML formatting. Which is always a good thing
I ran a quick test with a drawer layout on Android 4.0:
How to try out Android 4.0 Ice Cream Sandwich!
Oct 19th
A couple or hours ago, the Galaxy Nexus was announced, along with Android 4.0.
At the same time, the Android 4.0 SDK was released into the wild. 
Here I will show you how to already get it up and running, so you can try it out, and start developing/adapting your Android apps for ICS. It will give you a nice “hands on” feeling for ICS
The steps in this post is quite similar to the post I wrote earlier about trying out Honeycomb.
If you want a faster working solution, but for the time being without internet connection, you can check out my post on how to install Android 4.0 in virtualbox. More >
How to easily extract strings from your Android code into the strings.xml file
Dec 22nd
This handy little feature can save a lot of time and manual work when working with Android apps.
If you during Android development in Eclipse use hardcoded strings in your java code, like in the example below:
package test.layout;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
public class LayoutTest extends Activity {
private Button btn;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
btn = (Button) findViewById(R.id.Button01);
btn.setText("New Button Text");
}
}
Maybe you want to gather them in the strings.xml file where they belong, to separate hardcoded strings from the code and to get an overview of your string resources.
This also makes it easier to internationalize your application later on.
How to try out the new Android 2.3 – Gingerbread!
Dec 6th
Gingerbread comes with lots of new nice features and improvements, you can read about them here. Or you can watch the official video, to get a quick overview:
Altough testing the OS in an AVD, does not compare to the real device in terms of speed and awesomeness, It is the closest you can get right now.
Getting Android 2.3 up and running on your computer is an easy task, I previously created a very simple-to-follow tutorial how to get started with Android development. Installing Android 2.3 is much the same thing, so I assume you are coming from that guide, or already has a development environment set up.
Here is what we need to do:
Getting Started With Android – Setting Up The Development Environment
Nov 26th
The reason for using Eclipse is because there exists an Android development plug-in for Eclipse, which makes things easier for us developers. Also, Eclipse is a good and Open Source IDE. Eclipse can also be used for other languages such as PHP, C++ and Ruby, it also has a very good Subversion plug-in for using repositories.
Developing Android applications, and using these tools described here, does not cost you anything.



