?
Solved

WifiReceiver cannot be resolved to a type

Posted on 2014-01-22
4
Medium Priority
?
766 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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article is about the challenges faced by Android app developers.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Starting up a Project

599 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