Error in helloandroid tutorial

by Qin XiaoYang » Mon, 23 Nov 2009 13:51:33 GMT


Sponsored Links
 Hi all,
I met the following error message appared on the emulator screen.
 "There's a big error message saying that 'Application Android Keyboard (in
process com.android.inputmethod.latin) is not responding.' and asking
whether i want to force close it or wait."
Anybody knows why? Thanks.

--



Error in helloandroid tutorial

by Indicator Veritatis » Tue, 24 Nov 2009 09:08:35 GMT


 I haven't seen that error message. But since the name of the
application in the tutorial is certainly not "Android Keyboard", you
can safely force close it. My guess is that you should go ahead and do
that, and then look for the application ("Hello Android" or
"HelloAndroid") you made during the build and run that.

Normally, that application would run anyway, without waiting for you
to start it. But that does not appear to be happening, since you are
getting this other application in the way.

But all this is only a guess. If you are lucky, after a little while
you will see more knowledgeable answers in this thread.




--


Sponsored Links


Error in helloandroid tutorial

by Qin XiaoYang » Wed, 25 Nov 2009 00:06:13 GMT


 Thanks for you help, in fact the application runs normally after force close
the message box.
I was just curious about why this error message appeared.





>



Error in helloandroid tutorial

by AJ » Mon, 14 Dec 2009 06:08:35 GMT


 I was wondering if you found out why do we see this error. I am having
this error too with Hello Android App.

--AJ







> >



Other Threads

1. drawing views on top

Hi All,

I am trying to draw a custom view extending linearlayout and put a
scrollview within that.

I should be able to draw objects on top of scrollview.

But the views which i draw are drawing down the scrollview.It is not drawing
on top layer of scrollview.

I tried with framelayout.But it is not drawing down of scrollview only.

How to make it to draw on top?

I tried using FrameLayout.But still same problem.

Please help.It is very urgent.

I have attached code for your reference.

main.xml
-----------------
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"

    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:id="@+id/mylayout"
    >

<FrameLayout      xmlns:android="http://schemas.android.com/apk/res/android"

                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    >


 <com.horizonscroll.TransparentPanel
                android:id="@+id/transparent_panel"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                    android:background="#FFFFFF"

            >

        <com.horizonscroll.ScrollImageView
    android:id = "@+id/scrollView"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"

    />


</com.horizonscroll.TransparentPanel>

</FrameLayout>

  </FrameLayout>


TransparentPanel.java
------------------------------
public class TransparentPanel extends LinearLayout {



     private static Vector<Square> squares;
        private static Vector<Tile> tiles;
        private static Tile movingTile=null;

    private Paint    touchPaint;

    public TransparentPanel(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public TransparentPanel(Context context) {
        super(context);
        init(context);
    }

    private void init(Context context)
    {

         squares=Util.generateBoardSquares();
         tiles=Util.generateTiles(context);


    }

    @Override
    public boolean onTouchEvent(MotionEvent event)
    {

        System.out.println(event.getY());
        int x=(int) event.getX();
        int y=(int) event.getY();


        if(event.getAction() == MotionEvent.ACTION_DOWN){
            for(int i=0;i<tiles.size();i++){
                if(tiles.get(i).isTouched(x, y)){
                    movingTile=tiles.get(i);
                    break;

                }
            }
        }

        if(event.getAction() == MotionEvent.ACTION_MOVE){
        if(movingTile != null){
            movingTile.setX(x);
            movingTile.setY(y);
            invalidate();
        }
        }

        if(event.getAction() == MotionEvent.ACTION_UP){
            if(movingTile != null){
                movingTile=null;
            }
        }



        invalidate();


        return true;
    }

    @Override
    protected void onDraw(Canvas canvas)
    {

      for(int i=0;i<tiles.size();i++){
            Tile tile=tiles.get(i);
            tile.onDraw(canvas,  touchPaint,tile.getX(),tile.getY());

        }

        super.dispatchDraw(canvas);

    }
}

Activity
----------------------

public class HorizoontalScroll extends Activity
{
      public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);

        setContentView(R.layout.main);
}
}

-- 

2. Multiple audio channels

Hi all !

 I have to write an application wihich can play multiple audio
chennels. My boss asked me to make some market research how many
device able to play multiple audio channels on the same time.
 Where can I check the android phones hardware capacity, which one can
do this and which don't. What do you think where should I start the
research ? Please , if anybody know about it help to me.

 Thank you: Karoly

-- 

3. problem with AVD manager (last version) on XML verification failed.

4. cara tau HH sudah unlock apa belu

5. Root milestone

6. Use HTTP persistent connection

7. How to get notified when list view is displayed