[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WifiReceiver cannot be resolved to a type

Posted on 2014-01-22
4
Medium Priority
?
747 Views
Last Modified: 2014-01-23
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
Comment
Question by:Wayne88
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Sharon Seth earned 300 total points
ID: 39802949
Where is this class defined WifiReceiver() ? Did you write that class?
0
 
LVL 18

Author Comment

by:Wayne88
ID: 39803286
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
 
LVL 18

Author Closing Comment

by:Wayne88
ID: 39804621
You were right, I was missing a class.  Got it now.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use the Google Now Launcher, as an aftermarket add on, have a Samsung Note 5 and are worried about power consumption be wary of using the ultra power saving mode.  Here is what happened to me when I made the mistake of trying this out...
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question