Install Error ADT Plugin on Windows

by murakamik7 » Mon, 07 Dec 2009 13:54:53 GMT


Sponsored Links
 Hello everyone,

I cannot install ADT Plugin for Eclipse 3.5 on WINDOWS XP Pro.
Adding site " http://dl-ssl.google.com/android/eclipse/" ; were OK, and
start of install this ADT's Developer Tools were OK, but I got
following error message during installation.

Warning: You are installing software that contains unsigned content.
The authenticity or validity of this software cannot be established.
Do you want to continue with the installation?

Installation procedures are
1. login as user granted administrators rights
2. install JDK6u17 into default directory
3. install Eclipse galileo SR1 into D drive
4. install Android SDK r3 into same D drive
   and PATH environment variable set
5. Start eclipse and try to install ADT Plugin from
      http://dl-ssl.google.com/android/eclipse/ 

Does anyone solve this prolem?

Thanks,
Murakamik7

--



Other Threads

1. translate just one circle not whole canvas

Hi Group,

I am getting used to android animations, and have come across an
issue. To keep it easy to explain, I have simplified my code. here I
am creating two circles, a red one and a green one. I now want to use
a translation animation on just the green circle circle when I click
the screen. I have all this working except when i click the screen
both circles move. How can I apply a translation animation to just one
circle (e.g. in my code mDrawable[0])?

Thanks

Graham

----------------------------------------------------------------------------------------------------------------------------------------------------

package com.image;

import android.app.Activity;
import android.os.Bundle;

public class image extends Activity {
    /** Called when the activity is first created. */

        private MoveCircleByTouch mMoveCircleByTouch;

        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            //last argument 1 = green, all others = red
            mMoveCircleByTouch = new MoveCircleByTouch(this);

            setContentView(mMoveCircleByTouch);

        }
}



package com.image;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.OvalShape;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.Animation;
import android.view.animation.RotateAnimation;
import android.view.animation.TranslateAnimation;


public class MoveCircleByTouch extends View{

        private ShapeDrawable[] mDrawable;
        private Animation anim;
        private Animation translate;

        public MoveCircleByTouch(Context context) {
                super(context);

                int x = 20;
                int y = 20;
                int width = 50;
                int height = 50;

                mDrawable = new ShapeDrawable[2];

        //green circle
        mDrawable[0] = new ShapeDrawable(new OvalShape());
        mDrawable[0].getPaint().setColor(0xff74AC23);
        mDrawable[0].setBounds(x, y, x + width, y + height);

        /red circle
        mDrawable[1] = new ShapeDrawable(new OvalShape());
        mDrawable[1].getPaint().setColor(0xffff0000);
        mDrawable[1].setBounds(x+50, y+50, x + width+50, y + height
+50);

        }

        public void onDraw(Canvas canvas){
                super.onDraw(canvas);

                if (translate == null) {
                        createTranslate(mDrawable[0]);
                        }


                for (Drawable dr : mDrawable) {

                   dr.draw(canvas);

                }
        }



        @Override
    public boolean onTouchEvent(MotionEvent event) {

        switch (event.getAction()) {
        case MotionEvent.ACTION_DOWN:
            ScreenTouched();
            invalidate();
            break;
        }

        return true;

        }


        public void ScreenTouched(){
                startAnimation(translate);
        }



         private void createTranslate(ShapeDrawable mDrawable){
                 translate = new TranslateAnimation(1, 100, 1, 100);
                 translate.setRepeatCount(1);
                 translate.setDuration(2000);

         }
}
--~--~---------~--~----~------------~-------~--~----~

2. disable scrolling touch events in ScrollView, just want to to scroll programmatically

do not use scrollView at all and use LinearLauout and use combination of
touch events and scrollBy(int,
int)<file:///E:/android-sdk-windows-1.5_r3/docs/reference/android/view/View.html#scrollBy%28int,%20int%29>,
scrollTo(int, 
int)<file:///E:/android-sdk-windows-1.5_r3/docs/reference/android/view/View.html#scrollTo%28int,%20int%29>.
By this way you can also achieve horizontal scrolling.


--
Best Regards,
Atif Gulzar

I  Unicode, zln 







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

3. how can I move an Item to the center of the screen?

4. Fetch data from a python application

5. disable scrolling touch events in ScrollView, just want to to scroll programmatically

6. Android on the OLPC XO1 - Settings screen not working

7. question about tabhost