Hello All,

// File MyService.java
public class MyService extends Service {
      ....
      Toast.makeText(this, "Displayed", Toast.LENGTH_SHORT).show(); //
WORKS FINE
      scan();
}

//File wifi.java
public class wifi extends ???????? {
       .....
       public void scan() {
          .....
          Toast.makeText(??????, "Inside Wifi",
Toast.LENGTH_SHORT).show();
      }
}

How can I use Toast in the file wifi.java ?

Regards,
Seema

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to