SOAP on Android

by Sobert » Tue, 03 Nov 2009 06:26:02 GMT

Sponsored Links

I work on an app, and I need to insert new lines on a remote database,
and getting an int from the server.

After a few research, I've found out that it won't be a good thing to
directly connect to the remote database, and I've find that it would
be better to use SOAP or REST.

For my needs (insert in a two-column table, and retrieving a count),
SOAP seems the more accurate choice.

I've then looked forward to script an SOAP web-service in php, and
wrote it. Now I try to access it via android.

I've find this : 

Other Threads

1. get Bitmap for a Canvas?

I have an expensive background drawing operation (basically drawing
lots of squares in random colors), so I would like to draw onto the
Canvas programmatically, get the Bitmap that was drawn, and then call
Canvas.drawBitmap with that Bitmap for subsequent draws.

Here is my code:

        private Bitmap bitmap = null;

        public void draw(Canvas canvas) {
                if (bitmap != null) {
                        canvas.drawBitmap(bitmap, m, null);

                bitmap = Bitmap.createBitmap(canvas.getWidth(), 
                for (int y = 0, maxY = canvas.getHeight(); y < maxY; 
y+=cellSize) {
                        for (int x = 0, maxX = canvas.getWidth(); x < maxX; 
x+=cellSize) {
                                int color = r.nextInt(0xffffff) + 0xff000000;
                                cr.draw(canvas, color, x, y);

The code above works when I comment out the bitmap creation and
canvas.setBitmap(bitmap). Any idea what I'm doing wrong here?

2. sharedUserId - What does it mean wrt to Java classes?

Does sharedUserId imply that you do not need to duplicate custom class
libraries between "cooperating" applications?


3. Android Dev Camp (Dallas)

4. setting the locale

5. Theme example

6. Useful stats for web log analysis

7. What is callback function to catch text entered into search box