yes i have created database useing sqlite3 command.
here is my code
public static final String KEY_TITLE = "title";
public static final String KEY_BODY = "body";
public static final String KEY_ROWID = "_id";
private static final String TAG = "NotesDbAdapter";
private DatabaseHelper mDbHelper;
private SQLiteDatabase mDb;
private static final String DATABASE_CREATE =
"create table notes (_id integer primary key autoincrement, "
+ "title text not null, body text not null);";
so if u find any solution plz send me
thanks.jaimin
On Fri, Jan 23, 2009 at 10:51 AM, snehal kedar <[email protected]>wrote:
> jaimin,
> tell me how did u create the database.
> if u have created using the sqlite commands it sure must b present .
>
>
> On Fri, Jan 23, 2009 at 10:48 AM, jaimin mehta <[email protected]>wrote:
>
>> i tried also that code which u suggested but it also not work .error is
>> data base is not found ? so any other solution?
>>
>> thanks.
>> jaimin
>>
>> On Thu, Jan 22, 2009 at 6:15 PM, snehal kedar <[email protected]>wrote:
>>
>>> yes u can see the database
>>> from command prompt
>>>
>>> adb shell
>>> #sqlite3 <dbname>
>>> #.tables
>>>
>>> On Thu, Jan 22, 2009 at 6:05 PM, jaimin <[email protected]> wrote:
>>>
>>>>
>>>> plz give me some suggestion to view my sqlite database .
>>>> i have done notepad on android and now i wan to see my database so how
>>>> can i see my database?
>>>> from the shell?
>>>> if yes than how?
>>>> and if no than what else?
>>>>
>>>> thans.
>>>> jaimin
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanx n Regards
>>> Snehal
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> Thanx n Regards
> Snehal
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---