[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

[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 monishanavl...@gmail.com wrote: thanks for your reply! I used the following

[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-developers] Re: R.id cannot be resolved

2010-03-30 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 dcfre...@gmail.com wrote: Can you show us the contents of R.java.  It is in the gen folder. On Mar 29, 3:17 am, mnavlani monishanavl...@gmail.com wrote: thanks for your

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

2010-03-29 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: ListView android:id=@+id/myListView android:layout_width=wrap_content android:layout_height=wrap_content /ListView Eclipse

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

2010-03-29 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 monishanavl...@gmail.com wrote: hello all, this is my first attempt at

[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: ?xml version=”1.0” encoding=”utf-8”? LinearLayout xmlns:android=”http://schemas.android.com/apk/res/ android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” EditText

[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: ?xml version=”1.0” encoding=”utf-8”? LinearLayout xmlns:android=”http://schemas.android.com/apk/res/ android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” EditText

[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 monishanavl...@gmail.com wrote: thanks for your reply! I used the following code in main.xml: ?xml version=”1.0” encoding=”utf-8”? LinearLayout xmlns:android=”http://schemas.android.com/apk/res/