Hi, mostly i am working on android 1.6 platform.I made an application on 1.5 platform but i could not access button through like R.id.button1 like platform 1.6.Is there any idea? Thank you
A:
Are you sure .R file has been auto generated? If not, do a Project->Clean->Rebuild in Eclipse and see if it changes anything.
Have you imported the correct Resource file? Sometimes people import
android.R
and so cannot see their Ids.
Samuh
2010-03-29 08:04:18
I imported all required package like in android 1.6 platform, but in 1.5 platform it shows error.
RBADS
2010-03-29 09:56:12
You shouldn't have to do that. If you need to import your own package.R then you've broken something and this isn't the right way to fix it.
Steve H
2010-03-29 12:10:58