by AndyAndroid43 » Wed, 12 Aug 2009 01:35:53 GMT

Sponsored Links
 I want to download org.ksoap2 for Android in order to design a soap
envelope to access a published web service. Can anyone tell me the
best / latest version of ksoap2 for Android and where to go to
download it ? I'm using the Android plug-in with Eclipse Ganymede.  I
get rather confused with all the versions of ksoap2 that seem to be
available and don't know which is the one to use. Is there a .zip
version ?

Thanks in advance for your help




by Yusuf T. Mobile » Wed, 12 Aug 2009 05:54:32 GMT

 I heartily recommend ksoap2-android :  http://code.google.com/p/ksoap2-android/ 

Caveat: I've not actually used it.

Yusuf Saib
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 11, 5:48am, AndyAndroid43 <leebooks.academic...@talktalk.net>


Sponsored Links

Other Threads

1. please help...on pressing CLR key, onKeyDown() is not being called up

Hi All,

In the below code, i am pressing CLR key but onKeyDown() is not being
called up.
Can anybody pls help?

package com.example.HelloGridView;

import android.app.Activity;
import android.os.Bundle;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.Toast;

public class HelloGridView extends Activity{
        int current_pos;
        public MyView myView;
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
         myView = new MyView(this);
        GridView gridview = (GridView) findViewById(R.id.gridview);
        gridview.setAdapter(new ImageAdapter(this));
        gridview.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView<?> parent, View v, int
position, long id)
                Toast.makeText(HelloGridView.this, "" + position,
                current_pos = position;


    public class ImageAdapter extends BaseAdapter {
        private Context mContext;

        public ImageAdapter(Context c) {
            mContext = c;

        public int getCount() {
            return mThumbIds.length;

        public Object getItem(int position) {
            return null;

        public long getItemId(int position) {
            return 0;

        // create a new ImageView for each item referenced by the
        public View getView(int position, View convertView, ViewGroup
parent) {
            ImageView imageView;
            if (convertView == null) {  // if it's not recycled,
initialize some attributes
                imageView = new ImageView(mContext);
GridView.LayoutParams(85, 85));
                imageView.setPadding(8, 8, 8, 8);
            } else {
                imageView = (ImageView) convertView;

            return imageView;

        // references to our images
        private Integer[] mThumbIds = {
                 R.drawable.sample_0, R.drawable.sample_1,
                R.drawable.sample_2, R.drawable.sample_0

    public class MyView extends View {

        private Bitmap mTileArray;
        private final Paint mPaint = new Paint();

        public MyView(Context context) {
            //TypedArray a = context.obtainStyledAttributes(attrs,
//            mTileSize = a.getInt(R.styleable.TileView_tileSize, 12);

        public MyView(Context context, AttributeSet attrs, int
defStyle) {
            super(context, attrs, defStyle);

            //TypedArray a = context.obtainStyledAttributes(attrs,
//            mTileSize = a.getInt(R.styleable.TileView_tileSize, 12);

        public MyView(Context context, AttributeSet attrs) {
            super(context, attrs);
     public void initresources()
         Resources r = this.getContext().getResources();
         loadTile(1, r.getDrawable(R.drawable.sample_1));
         //loadTile(2, r.getDrawable(R.drawable.sample_2));
         //loadTile(3, r.getDrawable(R.drawable.sample_0));

        public void loadTile(int key, Drawable tile) {
                Bitmap bitmap = Bitmap.createBitmap(191, 285,
            Canvas canvas = new Canvas(bitmap);
            tile.setBounds(0, 0, 191, 285);
            mTileArray = bitmap;

        public void onDraw(Canvas canvas) {
            canvas.drawBitmap(mTileArray, 0,0, mPaint);
        public boolean onKeyDown(int keyCode, KeyEvent event) {
                if (keyCode == KeyEvent.KEYCODE_BACK ) {
                GridView gridview = (GridView)
                //gridview.setAdapter(new ImageAdapter(this));
                        return true;
        return super.onKeyDown(keyCode, event);




2. Silicone, Jelly, Screen Guard Galaxy S, Ace, Mini

Maaf ada tambahan
warna Silicone Ace dan Mini = hitam


3. [WTS] Silicone, Jelly, Screen Guard Galaxy S, Ace, Mini

4. Using "BluetoothHeadset" class (to detect headset connection status)

5. How to detect Bluetooth connection status

6. Help: Problem when calling .Net WebService using kSOAP2

7. Call a WebView javascript function from the activity?