• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris

Eclipse unable to show class and methods

Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
    Bookmark Topic Watch Topic
  • New Topic