[android-developers] Re: R.id cannot be resolved

2010-05-03 Thread accesstejas
this is ma mail.xml file... m geting error in .java file that R.id cant be resolved... bta actually R.id is not created only in ma R.java file... so can u plz suggest sm solution /* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the re

[android-developers] Re: R.id cannot be resolved

2010-04-02 Thread mnavlani
thanks a lot all of you! i did come out of the problem :) -- 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-develop

[android-developers] Re: R.id cannot be resolved

2010-04-02 Thread adel zalok
Well , I had the same problem before and what i did was i just right clicked the whole project folder and I refreshed and I found the id class regenerated in the R.java , Try that one . On Mar 29, 12:17 pm, mnavlani wrote: > thanks for your reply! > > I used the following code in main.xml: > >

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread Tako Au
Agree. Clean your project and rebuild it. See if you can see the R.java in /src/gen. On Mar 30, 10:16 am, DonFrench wrote: > Can you show us the contents of R.java.  It is in the gen folder. > > On Mar 29, 3:17 am, mnavlani wrote: > > > > > thanks for your reply! > > > I used the following cod

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread DonFrench
Can you show us the contents of R.java. It is in the gen folder. On Mar 29, 3:17 am, mnavlani wrote: > thanks for your reply! > > I used the following code in main.xml: > > > http://schemas.android.com/apk/res/ > android” > android:orientation=”vertical” > android:layout_width=”fill_parent” >

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread mnavlani
thanks for your reply! I used the following code in main.xml: http://schemas.android.com/apk/res/ android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent”> and, in both the following lines(of the .java file),i get the error "R.id cannot b

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread mnavlani
thanks for your reply! I used the following code in main.xml: http://schemas.android.com/apk/res/ android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent”> and, in both the following lines(of the .java file),i get the error "R.id cannot b

[android-developers] Re: R.id cannot be resolved

2010-03-28 Thread grace
hi, just verify how is the id to the listview defined in the layout file. if it is as android:list in the layout,then u need to specify it as (android.R.id.list) in the findViewById method On Mar 28, 9:52 pm, mnavlani wrote: > hello all, > this is my first attempt at the UI. i tried to create

[android-developers] Re: R.id cannot be resolved

2010-03-28 Thread aDevAtanon31459Dotinfo
R.id.myListView refers to an XML tag in your layout. Do you have something called "myListView" in your res/layout/ main.xml ? It would look something like this: Eclipse generates some source code for us, in this case something like: gen/../R.java public final class R { public stat

[android-developers] Re: R.id cannot be resolved

2008-05-13 Thread rukiman
Make sure the webview component, whatever that is has an android:id attribute in the xml file android:id="@+id/webview" On May 13, 10:17 pm, ruben <[EMAIL PROTECTED]> wrote: > Why do I get 'R.id cannot be resolved' when trying to access > R.id.webview? > > thanks, > ruben --~--~-~--~