What is the best way to sent/receiv e data from remote database such as mysql on android?

by best6...@gmail.com » Sat, 07 Mar 2009 10:54:19 GMT


Sponsored Links
 Hi , Guys ,

I'm try to sent/receive data from my remote db server (MySQL) , I know
I can't connect the MySQL directly on android . And I'm trying to use
the soap , but I'm not sure if this is the right way ?

I don't have any experience on it , so my question is:" what is the
way to sent/receive data from remote db server "  in general ? Does it
have any examples I can see ?

Like the project :Cab4Me( http://www.cab4me.com/ ) , Does it have remote
DB ?  What is the method they can sent/receive the data from DB ?

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



Other Threads

1. Use of 3D Hardware Accelerator

>From the source code i got to know that Android has its own software
codecs for both audio and video which supports many formats like
H263,MPEG4, H264 , MP3,AAC etc. But what if the device itself has 3D
Hardware Accelerator which contains inbuilt support for formats
including MPEG4, H.263, H.264 etc.At that point how we will disable
the software codec of android and make it work with the device's 3D
Hardware Accelerator? I want the entire video related stuffs of
android to work using this  3D Hardware Accelerator, for example for
video recording also i want to use this hardware to encode the video.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

2. Unit testing context.sendBoardcast function

Hi,

I have the following test case which tests context.sendBoardcast() function:

public void testInstallFavorite() {
                Context context = getContext();
                
                IntentFilter filter = new IntentFilter();
                
filter.addAction("com.android.launcher.action.INSTALL_SHORTCUT");
                
                context.registerReceiver(new DummyBoardcastReceiver(), filter);
        
               Intent installShortcut = new
Intent("com.android.launcher.action.INSTALL_SHORTCUT");
               context.sendBroadcast(installShortcut);

                // count is a dummy variable which increments by 1
when DummyBoardcastReceiver::onReceive() is called
                assertEquals(count, 1);
}

But the  DummyBoardcastReceiver::onReceive() is never get called.  Can
you please tell me why? or if there is a better way to unit test the
code?

private int count = 0;
        
        class DummyBoardcastReceiver extends BroadcastReceiver {

                @Override
                public void onReceive(Context context, Intent intent) {
                        
                        Intent shortCutIntent =
intent.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
                        assertNotNull(shortCutIntent);
                        count++;
                }
        }

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

3. Android TabActivity customization

4. Port the Android onto x86 device, but /dev/block/sda2 cannot be mounted as ext

5. Need help in writing unit test for parcelable object

6. My Dev Phone is dead!

7. Code Repository