On Thu, Apr 10, 2008 at 1:44 AM, vinh2b <[EMAIL PROTECTED]> wrote:

>
> Hi,
> With m3-rc20a SDK version, I can use:
> SELECT * FROM myTable WHERE Name like '%abc%' LIMIT 1, 10
> But with m5-rc15 SDK verion, I can't use the same query.
> I try to use:
> String[] mArgs = new String[] {"'%" + txtSearch + "%'"};
> String mSelection = "Name like ?  LIMIT 1, 10";
> Cursor c = mConn.query("Data", null, mSelection, mArgs, null, null,
> null);
> Size of the c cursor always return 0 value.
> Help me to solve my problem please!


try db4o if  there's no  workaround for you ;)

>
>
> Thanks
>
> >
>


-- 
Best regards,
Andrew Zhang

db4o - database for Android: www.db4o.com
http://zhanghuangzhu.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to