Use the SQLiteOpenHelper, and SQLiteDatabase classes.

To get your database file path:  context.getDatabasePath(DB_NAME)

On Mon, Sep 27, 2010 at 12:02 PM, Gold <thangadura...@gmail.com> wrote:
> Hi..All,
>
>                  I create database using sqlite in command prompt.
>
>                   In my login screen user can enter loginid and
> password. then click the login button. while click the button I need
> to check that ..if login successful I need to  retrive other details
> from the same table . How can i achive this. is there any sample
> code..!
>
> Here is the details
>
> database name : COPU
>
> Table name : Master_UserLogin
>
> columns : LoginID ,  Password,      SiteID,    BOCUDate
>
> once i check loginid and password if it is match i need to display
> siteid and bocudate..
>
> please help me.
>
>
>
> Thanks in advance,
> Gold
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to