Installing WST in Eclipse

by jkk251 » Wed, 25 Mar 2009 01:34:47 GMT


Sponsored Links
 I'm trying to get Eclipse set up to develop for Android. Following the
FAQs, I'm instructed to install WST plugin in Eclipse. I followed the
instructions, adding the appropriate URL to the update sites and then
selecting the install button, but don't know if I installed WST. In
the
installed software window (help -> software updates -> installed
software) there is something called Web
Developer Tools. But nothing called WST that I can see.

Any help greatly appreciated. The plugin install process is pretty
cryptic to me.


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Switching views with RadioButton and saving views in Bundle

I have the following XML code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent">
     <RadioGroup
          android:orientation="horizontal"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true">
          <RadioButton
               android:id="@+id/_2D"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:text="2D"/>
          <RadioButton
               android:id="@+id/_3D"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:text="3D"/>
     </RadioGroup>
</RelativeLayout>

And I have the following Java code:
     public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);

          if (savedInstanceState == null) {
               RadioGroup.OnCheckedChangeListener buttonListener = new
RadioGroup.OnCheckedChangeListener() {
                    @Override
                    public void onCheckedChanged(RadioGroup group, int
checkedId) {
                         if (checkedId == R.id._2D) {
 
main.removeView(findViewById(R.id._3D));
                              main.addView(_2D);
                         }
                         else if (checkedId == R.id._3D) {
 
main.removeView(findViewById(R.id._2D));
                              main.addView(_3D);
                         }
                    }
               };
               RadioGroup dimensions = (RadioGroup)
findViewById(R.id.dimensions);
               dimensions.setOnCheckedChangeListener(buttonListener);
          }
          _2D = new _2DView(this);
          _3D = new _3DView(this);
          main = (RelativeLayout) findViewById(R.id.window);

          RadioGroup dimensions = (RadioGroup)
findViewById(R.id.dimensions);
          if (dimensions.getCheckedRadioButtonId() == R.id._2D) {
               main.addView(_2D);
          }
          else if (dimensions.getCheckedRadioButtonId() == R.id._3D)
{
               main.addView(_3D);
          }
     }

The idea is to change the views, whenever I press one of the radio
buttons. When I press a button the first time everything works out
fine, but the second time I press a button, I get an
IllegalStateException, and I can't quite see why I'm getting this.

Also, the Activity seems to set all my global variables to null, which
is why I have to create them every time I switch from portrait to
landscape or vice versa. So I would like to know if there is a way I
can save my views in the Bundle, or any other way in which I can
permanently save my views, so I don't have to add or create them every
time, I flip the phone. And whenever I flip the phone, it seems that
it rereads the main XML file, causing the RadioGroup to be set to 2D
even if the 3D button is checked. This is because I've said the 2D
button to be checked from when the app is first created, but I would
like to also save the state of that RadioGroup.

-- 

2. android::elapsedRealtime() goes backwards

Howdy all,

We've collected evidence for at least one device where the library function
android::elapsedRealtime() goes backwards (multiple times over a period of
time, in smallish jumps).  All of the documentation I can find indicates
this shouldn't happen.

1) Should I expect elapsedRealtime() to never go backwards?
2) If so, do you have any recommendations as to how should we go about
tracking down the underlying problem?
3) If not, does Android have an API that counts actual elapsed time since
boot, including sleep time, that *doesn't* go backwards?

I *do not* need wall clock time.  I need millisecond resolution elapsed time
(any epoch will do, as I only care about deltas).

Thanks,
-- Trey

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Device Seeding Program for Top Contributors to Community Forums

4. Application name error while updating - caused by adding a color resource

5. Common Classpath Variable Breaks Junit

6. Partisi Ext dan Swap di sdcard yg sudah ada isinya

7. Top 10 android Games & Application