Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 781
  • Last Modified:

WifiReceiver cannot be resolved to a type

I am new to JAVA/Android programming and I am stuck when trying to declare:

receiverWifi = new WifiReceiver();

Eclipse is stating that it cannot resolve WifiReceiver to a type.  Here is the

If you can provide a step by step instruction on how I can fix this it will be appreciated.

Thanks in advance!
0
Wayne88
Asked:
Wayne88
  • 2
1 Solution
 
Sharon SethCommented:
Where is this class defined WifiReceiver() ? Did you write that class?
0
 
Wayne88Author Commented:
Hi Sharon,

I was trying to follow this example http://www.anddev.org/wifiscanner-t4099.html and got the same issue as one of the posts.  He did say he resolved it but didn't mention how it's done.

I think this class is part of Cupcake but I am unsure on how to check it.

Thanks,

Wayne
0
 
Wayne88Author Commented:
You were right, I was missing a class.  Got it now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now