[android-developers] Trying to play around with ContentResolver, but stuck with weird issue

2011-10-01 Thread KK
Hi All, I just copied this code from the web and trying to run it in Eclipse gives me errors, the R.id.listView and R.layout.main are not getting resolved. No idea whats going wrong here. Please find the code for Java and mail.xml file as below:

Re: [android-developers] Trying to play around with ContentResolver, but stuck with weird issue

2011-10-01 Thread Kostya Vasilyev
Take out this: 01.10.2011 19:26, KK пишет: import android.R; Then press Ctrl+Shift+O to resolve imports, and choose your project's R file this time. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Trying to play around with ContentResolver, but stuck with weird issue

2011-10-01 Thread KK
Hi Kostya, Thank you very much, You're a life saver ! Thanks, KK On Sat, Oct 1, 2011 at 8:59 PM, Kostya Vasilyev kmans...@gmail.com wrote: Take out this: 01.10.2011 19:26, KK пишет: import android.R; Then press Ctrl+Shift+O to resolve imports, and choose your project's R file this