Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WifiReceiver cannot be resolved to a type

Posted on 2014-01-22
4
Medium Priority
?
724 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
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

636 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