ADT requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found

I’m installing the Android SDK on a fresh installation of Fedora 14 (Linux). I installed eclipse, and ran the tools/android sdk tool to install all the Eclipse components for the SDK. I was able to get DDMS to install when selecting it by itself. And for the last component – the Android developer tools, I’m … Read more

Android ADB device offline, can’t issue commands

I can’t connect to my device anymore using ADB through the command line or in Eclipse. Running the command adb devices returns the device name, but it says it’s offline. Things I’ve tried. Toggled Android debugging mode Reinstalled the Google USB driver Restored the OS to a previously working backup (CyanogenMod) Swapped the USB cord … Read more

How to programmatically set drawableLeft on Android button?

I’m dynamically creating buttons. I styled them using XML first, and I’m trying to take the XML below and make it programattic. <Button android:id=”@+id/buttonIdDoesntMatter” android:layout_height=”wrap_content” android:layout_width=”fill_parent” android:text=”buttonName” android:drawableLeft=”@drawable/imageWillChange” android:onClick=”listener” android:layout_width=”fill_parent”> </Button> This is what I have so far. I can do everything but the drawable. linear = (LinearLayout) findViewById(R.id.LinearView); Button button = new Button(this); button.setText(“Button”); … Read more