> I installed the older version of Android SDK and ADT but still have
> that error "The method openDatabase(String,null) is underfinded for
> the type Context".
>  Please help me :)

Hi,

I can say that currently I try to learn Android by one book and I
faced quite many mismatches between book examples and SDK as well.
This mainly happens because of differences between older and newer SDK
versions.
But if you are using Eclipse (I believe you are :)) you can simply
navigate to that place in code (db =  ctx.openDatabase("AddressBook",
null); ) and check, which methods Eclipse can propose for ctx object.
Most probably the difference isn't so huge (either change in name or
change in parameters). Good luck!

Regards
 f...@r@0n
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to