adt

Can't Install ADT. org.eclipse.wst.xml.ui is missing

I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error. Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be...

Does the ADT plugin automatically create an ant build file?

I created an Android project a few months ago and now have to automate the build process with Hudson. The Android dev guide mentions a build.xml file that gets created when you generate a project (http://developer.android.com/guide/developing/other-ide.html) but I dont see one in my project. Will I have to create this by hand or can I ru...

Installing Eclipse and setting up Android ADT on OS X v10.6 Snow Leopard

Hi, I am trying to install Eclipse Galileo on my MacBook running OS X v10.6 (Snow Leopard) and set it up with ADT plugin. I downloaded 64-bit cocoa version of "Eclipse Galileo for JEE developers" and ADT v0.9.6 from the respective offical sites. When I try to add this new plugin-archive in Eclipse, I get the following error: Cann...

Android SDK and AVD manager will not run from Eclipse after upgrade to SDK 5 and ADT 0.9.6

Using Windows 7, 64 bit system. Prior to upgrade I was able to run "Android SDK and AVD manager" from Eclipse via a tool bar icon and menu option, both of which still exist. However now nothing happens when I try to run the manager. As a result I can't start an emulator from within Eclipse. When I use Eclipse to run an Android app, th...

Android "Hello World" Problem...

Hi, this is the code i have written package com.test.AndroidApp; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class TestAppActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { supe...

Debugging ADT Eclipse Plugin Install

I've installed the Android SDK and the ADT plugin, but Android doesn't show up in the Window>Preferences... dialog. I'm running Galileo. If I go to the Installation Details part of the About Eclipse dialog, it says that I have 0.9.6 of Android DDMS and Android Development Tools. I can run adb from the command line. I tried going around ...

Android ADT Eclipse plugin, parseSDKContent failed

I've just set up my first Android development environment consisting of Eclipse 3.5 Mac OSX 10.5 Android SDK for x86 macs ADT Eclipse plugin 0.9.6 I've set set $PATH to my SDK/tools directory (which shouldn't matter if I only use Eclipse right?) and started Eclipse, but when I try to set the path to the SDK in Eclipse, i get the err...

How to debug on a real device (using Eclipse/ADT)

I'm trying to figure out how to debug applications directly on my phone (HTC Desire). I've installed the USB driver that came with the phone and the phone is listed when using "adb devices". How do I configure eclipse/ADT to launch on the phone instead of launching the emulator/virtual device? ...

What call from the Android Development Tools API should I use to poll project target loading?

I'm writing my own eclipse plug-in that integrates with the Eclipse Android Development Tools (ADT). However, I'm getting a CoreException ("Project target not loaded yet.") thrown when I attempt to call IProject.build on an Android project as part of a unit test: IProject project = importProject(...); project.build(IncrementalProjectBu...

Synchronize app with pc

I've built an app/widget with ADT/Eclipse that I need to sync with a PC. It's my own data types, and not calendar/contact items. Is it possible at all? If so, how? ...

Using GROUP BY to fetch rows from SQLiteDatabase and then render them using SimpleCursorAdapter

I want to display total amount of seconds that was spent each day on a project. I want to use SQLiteDatabase to fetch rows using the query below and then use SimpleCursorAdapter to fill a ListView. SELECT projectId, date, sum(endedAt-startedAt) as hours FROM project_reports WHERE startedAt >= 1270098000 AND endedAt <= 1272776399 GROUP ...

private class calling a method from its outer class

Ok, so I have a class for a "Advanced Data Structure" (in this case a kinda tree) SO I implimented a Iterator as a private class with in it. So the iterator needs to implement a remove function to remove the last retuirned element. now my ADT already impliments a remove function, and in this case there is very little (thinking about it...

I need help resources for Visual Layout Editor (in ADT Plugin for Eclipse)

Hello! There is "Android Layout Editor" (also somewhere mentioned as Visual Layout editor) in ADT Plugin for Eclipse. I didn't found any help docs on how to use it. Please help! ...

I cannot understand the point of this simple code.

I am doing this assignment, and there are some stuff (from start-up materials) that I cannot comprehend. typedef enum { NORTH, EAST, SOUTH, WEST, NUM_POINTS } Point; typedef Point Course[NUM_POINTS] ; I don't get the idea behind the last line , and how can I use it in the code? ...

Eclipse ADT plugin

How do I upload media to local storage of emulator device ? Thanks in advance ! ...

No Android project type in Eclipse->File->New-Project

I am running CentOS 5.5 x86_64 with JDK 1.6, Eclipse Galileo, and the 0.9.7 ADT is installed; however, after installation, the Android project type is not available. I have checked in the installed packages list and it is installed. Anybody encounter this problem before? Could it be due to my use of the 64-bit java VM that is installed o...

Android emulator not showing the app. it only shows the skin :(

Hello. i started to develop android apps a few days ago. But i'm stuck with this problem. using Eclipse. with ADT. and creating the simple "helloWorld" or any of the other sample applications, when i Run the project eclipse launch the android emulator but it shows only the skin, with the screen saying "ANDROID", and that's it!, it's unre...

Why is ADT calling code that the doc specifies throws an UnsupportedOperationException?

My XML layout in res/layout/edit.xml: <?xml version="1.0" encoding="utf-8"?> <GridView android:id="@+id/GridView01" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:numColumns="2"> <TextView android:text="Person's Name" android:id="@+...

Having routine problem debugging other people's android source code in eclipse - ADT plug-in might not be functioning properly

This might be a pretty basic question, or peculiar to my set up (hopefully not too peculiar) I am new to android development and have been playing around with the tutorials offered at developer.android.com. I don't have a problem with projects I create from scratch, but when I start a project from the android sample code provided at an...

In Eclipse can I put the bin (and gen) folders elsewhere in an Android project

Very new to eclipse but doing some Android development so I'm using it now :) Is there anyway to put the bin and gen folders outside of the project directory? I want to have all the source controlled stuff in one place and all build products in another. (Yes, I know I could get source control to ignore those folders, but I'd still lik...