• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Eclipse unable to show class and methods  RSS feed

Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I fairly new to android. While I am trying to learn, I notice there is a problem. See attached.
Say for example, I want to instantiate a Bundle class and I want to use the methods.
Unfortunately, it is not showing me methods that comes with the class. Hence the only way I can do is to look at the api and then see what are the methods.
Is there a way to allow Eclipse to show the class/method?
Another point to take note is that, Eclipse sometime cannot provide suggestion as to which class to import. For example,
say I am using Bundle class, Eclipse cannot provide the necessarily import and give me the option to create a new class. While I can type manually the import of Bundle class,
I feel it will be nice to have eclipse to import the class for me without having me to manually type in.

So how am I going to resolve it? Thanks.

Posts: 5856
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on your description I suspect that the necessary JAR files (the one containing the Bundle class in this example) are not included within your project. What kind of project did you create? If you create an Android project then the Android JARs (actually, mock JARs) should already be included. Also check that Eclipse is referencing the Android SDK - it is in Windows | Preferences | Android.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!